When you say pitch shifting, do mean real-time pitch bending or do you mean changing the pitch of an existing note to one of a missing note.
Or both?
When you say pitch shifting, do mean real-time pitch bending or do you mean changing the pitch of an existing note to one of a missing note.
Or both?
It means changing the pitch of an existing note to one of a missing note.
realtime pitch bending is not supported.
That's right, pitch bending is currently not supported. I will work on this suject in the next weeks. Any idea on how to implement it Remi?
The code is here: https://github.com/josephernest/SamplerBox
If it's sample-based, you'd probably need to implement a real-time pitch shifting algorithm to process the audio. Might be a lengthy process, but sounds like a fun challenge! Any experts?
Hi @ethan! Real-time pitch shifting is already implemented (see here), it is used when for example there is only C3.wav, E3.wav, G#3.wav, C4.wav, and you want to play a C#3 !
In such a situation, in this code, the speed
variable will be different than 1.
The only thing to add when doing pitch bending is: have this speed
variable change in real-time, according to some Pitch Bend Midi messages.
It will be a fun challenge indeed :)
Hello,
This is a lovely project - I've been looking for something like this for a while!
I'm specifically interested in an instrument like this that can play alternate tunings such as just intonation.
It seems this should be possible to do with the samplerbox. Could someone throw some light on this? How might this be implemented?
Thank you!