Simple crescendo?
Hey there everyone,
Max newbie here. I've been looking through the help patches and tutorials, and I have a good grasp on the basics. However, one thing is alluding me- how do you make a crescendo (volume increase) using something like makenote? Specifically, I want to play a piano note (the default one from my sound card) and NOT rearticulate it, but rather increase the note's volume without playing a new note. I know I can use mtof and use a slider with dac~ but I want the piano noise.
>> increase the note’s volume without playing a new note
You need to alter the MIDI expression (controller 11) or MIDI volume (controller 7) after the note has been played. The problem with a piano sound is that it is almost invariably programmed to decay naturally like a real piano does, so trying to impose a crescendo on that is pretty ineffectual. (Your crescendo and the sound's decay simply neutralize each other.) But if you use a sustained sound, you can cause a crescendo effect by increasing controller 7 or 11. In this example, when the note is played, the volume is initially turned down to 32, then is increased to 127 over four seconds.
AH I see! That's very helpful, thank you. I've played with it for a bit now and it seems to make sense. I never knew that piano sounds' decay prevented an increase. I'll have to toy around with the sounds for each note and see which MIDI sound makes it sound most like a piano depending on the pitch I'm using. Thanks a ton.
I guess there's no way to strip the decay from the piano right? Like, there's no way to fiddle with stripnote or something to do that?
the main thing to be aware of is the difference between audio and midi. Where you might have such control with audio, midi notes just do note on/off.