Volume Shifting

L
Lucas posted Mar 17 '17, 04:06:

Hello! First off I'd like to say Samplerbox is really cool, and great that it is open-source. I'm working on a project in which I'm using a modified version of Samplerbox. Right now, I am trying to have a feature akin to what a volume pedal can do. I want to turn a note 'on', and while it's on, I want to be able to fluctuate that volume up and down like you would do with a volume pedal. AFAIK, Samplerbox doesn't implement that functionality. I know that notes always fade off in volume. I have looked at those sections of the code in samplerbox.py and samplerbox_audio.pyx, but I am having a bit of trouble understanding where to go from there. I am not well-versed in either python or audio generation. Any sort of help would be much appreciated. I look forward to sharing my project on this site once I finish it. Thanks.

N
Nate posted Mar 17 '17, 15:35:

This works... but it isn't entirely smooth. I am working on a mod for bellows expression for accordion type instruments, and this helped me.

http://www.samplerbox.org/forum/132

...

  (not published)
  I want to post as guest
 

Post