Piano Synthesis

Post any examples or modules that you want to share here
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Piano Synthesis

Post by adamszabo »

To make it work on the alpha, remove the hammer noise module, its causing an INF, i have no idea why though
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Piano Synthesis

Post by kortezzzz »

tulamide wrote:Please accept, that everything on this very forum will exclude Flowstone Alpha. If something doesn't work ask for help in the slack group. I say this, because I want everyone who reads here to understand that Flowstone 3x and Flowstone Alpha are two very different things.

It's an alpha, and still in the testing phase.

So please, all who read here: Keep the alpha version excluded from this forum :)


Ok got it. Although my situation is rare. I can't work with 3.0.6. It crashes after the 3th-4th action I make with the "out of memory" message.

adamszabo wrote:To make it work on the alpha, remove the hammer noise module, its causing an INF, i have no idea why though


Thanks Adam. Also the "velocity sens" module caused a stacked audio here. After removing, it plays normally.
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Piano Synthesis

Post by martinvicanek »

adamszabo wrote:the hammer noise module, its causing an INF
Fixed, thank you Adam. Also simplified after Trog`s hint.
Attachments
MVsPiano2.fsm
(63.09 KiB) Downloaded 1120 times
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Piano Synthesis

Post by adamszabo »

martinvicanek wrote:
adamszabo wrote:the hammer noise module, its causing an INF
Fixed, thank you Adam. Also simplified after Trog`s hint.


Cool it works now! So the "check for changes" code that you changed, how does that work right now?
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Piano Synthesis

Post by trogluddite »

If it's what I suspect, it relies on the way FS initialises things at note-on. The sample-counter in 'ecx' always gets reset to zero at a note-on, to ensure that the first sample of the new voice never gets jumped over if you were using hopping (it might otherwise lead to missing a gate impulse, for example).
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
wlangfor@uoguelph.ca
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada
Contact:

Re: Piano Synthesis

Post by wlangfor@uoguelph.ca »

This is exciting and I will take a look, thanks Martin.

I was thinking about piano sounds being synthesized and assumed it would take a great deal of attack and release imposed to various artificial sounds but preceded by an intensely smooth, almost noisless bassy hammer sound that is its own synthesized instrument altogether.

Furthermore, the tremolo and shrillness would happen after the instance of the mid tone. I guess using that method it would involve a lot of crossover. I'll make sure to post My observations; thanks for sharing.
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
MichaelBenjamin
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

Re: Piano Synthesis

Post by MichaelBenjamin »

.
Last edited by MichaelBenjamin on Mon Sep 21, 2020 10:31 am, edited 1 time in total.
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Piano Synthesis

Post by Spogg »

When a piano hammer hits a string a lot happens! The contact time is said to be around 5-10mS (depending on a lot) during which time the string is both excited and damped. After it’s bounced off the string you hear the “sustain” and the harmonics play out.

I found out experimentally that the strike sounded better if the hammer sound amplitude modulated the string sound for that short time. That was counterintuitive because initially I thought just mixing the sounds together would be sufficient. But that’s not what happens, because there’s a brief interaction between the hammer and strings and you hear it. And we all know just how important the attack part is for identifying an instrument.

Another thing to think about is the volume contour, which is quite complex. It seems to resolve into basically a two-stage decay, the first part being fast and the second part much slower relatively, and both being exponential in shape. Strike force (velocity) influences the height of the first decay phase.

Cheers

Spogg
User avatar
wlangfor@uoguelph.ca
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada
Contact:

Re: Piano Synthesis

Post by wlangfor@uoguelph.ca »

Spogg wrote:When a piano hammer hits a string a lot happens! The contact time is said to be around 5-10mS (depending on a lot) during which time the string is both excited and damped. After it’s bounced off the string you hear the “sustain” and the harmonics play out.

I found out experimentally that the strike sounded better if the hammer sound amplitude modulated the string sound for that short time. That was counterintuitive because initially I thought just mixing the sounds together would be sufficient. But that’s not what happens, because there’s a brief interaction between the hammer and strings and you hear it. And we all know just how important the attack part is for identifying an instrument.

Another thing to think about is the volume contour, which is quite complex. It seems to resolve into basically a two-stage decay, the first part being fast and the second part much slower relatively, and both being exponential in shape. Strike force (velocity) influences the height of the first decay phase.

Cheers

Spogg


mmhmm, that would explain your last piano synth's reaction to the equalizer, it had dampened those effects you'd mentioned in an overbearing way. I can't help but to feel that a three or four band EQ is best for that so that it doesn't damage the sound.
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
Post Reply