josephernest / SamplerBox

SamplerBox is a sampler musical instrument based on RaspberryPi.
https://www.samplerbox.org
422 stars 97 forks source link

Feature Request: Randomise sample #19

Open mattgreenfield opened 8 years ago

mattgreenfield commented 8 years ago

Hi,

I'm using sampler box to trigger drum sounds from my electronic drum kit. The sample sets I am using (acoustic drum kits) have 3 hits for each drum / cymbal, each hit is the same velocity but varies in tone slightly and helps make the kit sound more natural and less like a drum machine.

Could there be a way to have 3 .wav files for the same note that randomise?

Thanks for the great software by the way.

maditnerd commented 8 years ago

:+1: It would be interesting to be able to define this behaviour in definition.txt

Here is some thought on how this could be made, i'll try it when I can.

I think that would require to modify the variable : samples As for now samples has two argument midinote and velocity We would need to add a third argument for example randomize

dhilowitz commented 7 years ago

For notes with 4 or more samples, I would especially like it to be randomize without consecutive repeats. I currently use a custom script to do this in Kontakt.

Examples:

True random might look like this: 1-4-3-3-2-4-1-1-3-4. Modified random would look like this: 1-4-3-2-1-3-2-4.

dhilowitz commented 7 years ago

I've now made my own fork that contains sample randomization: https://github.com/dhilowitz/SamplerBox.

@josephernest: I'd be happy to do a pull request, if you're interested.

josephernest commented 7 years ago

@dhilowitz Hi David, Thanks for this addition. We are in a process of merging the additions. I'll send you an email very soon.