Also, the fact that playing two C notes at the same time will result in C# sounding will cost you a couple brain cells each time this occurs. a Note Off for a bent note), you count down Pitch Bend on that MIDI Channel from either 4096 or 9192 to 0, then you decrement the count of sounding notes by 1.Īll this is pretty fragile, as a) it relies on having a multitimbral synth to talk to, b) the synth’s pitch bend ranges must all be 2, regardless of chosen preset, and c) you must not touch the keyboard’s pitch bend wheel during all this as it will interfere with the pitch of whatever note is active on MIDI Channel 1. The reaction time of the vocoder can also be altered. You can change the octave to create various, exciting sounds even within the same vocoder tone. If a Note Off comes in that specified octave and there is that note sounding in another octave (i.e. Cannabis Vocoder is a funny pitch shifter VST plugin that completely changes the pitch and tone of vocal tracks by using computer-generated pitches to create a robotic or comical vocal sound. If a Note On outside that specified octave matches a held note in that octave, you start the PBG as well. Pitch Bend is a 14bit value sent in two MIDI bytes so you count to either 4096 for a half step or to 9192 for a whole step, albeit twice as fast. Then you check if a Note On is in a specific octave and if it is you check if any of the sounding notes matches that Note On or an octave of that Note On, and if it is, you start your Pitch Bend Generator on that matching Note On’s MIDI Channel, which is a counter that ramps up in a specific speed to a specific value. This gives you one channel per sounding note. ![]() It is plain C++, where you have a variable that counts the sounding notes and copies that value to the Note On’s MIDI Channels. No, but that portion of code isn’t JUCE-specific anyway.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |