Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Drum multisampler (random instead of multivoice)

Post any examples or modules that you want to share here

Drum multisampler (random instead of multivoice)

Postby KG_is_back » Mon Nov 25, 2013 9:09 pm

Currently multisampled instruments in FS are made using "midi to multivoice" primitive. You enter key & velocity ranges for all samples and when you play a note, the "midi to multivoice" will create all voices for which the note satisfies the ranges also outputting "voice tag" which contains the index of the sample.
However when you what to create a multitimbral drum sampler and you use "midi to multivoice" and the velocity ranges overlap it will play more than one sample per drum which you probably don't want. A way around is to make sure the ranges never overlap. Then the randomization between samples is done entirely in midi. Hovever you have to give up some of the velocity range to sample randomization.

What I've managed to do is a module that does similar thing to "midi to multivoice" but instead of playing all the samples that satisfy the note, it randomly picks only one per key. It uses trogs array to mem schematic to create a place in memory accessible to any assembly module. When you send in a note "midi to multivoice" will start to play all the voices as it should, their voice tags and number of voices per note are stored in memory and voices are killed just after that. Then parallel "midi to voice" primitive plays the note and a module randomly picks one voice tag from the memory slot for that key.
Yet I didn't made a multisampler that uses it, but it should be fairly simple to adjust the stock multisampler to do this.
Attachments
randpoly.fsm
(4.19 KiB) Downloaded 1288 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Return to User Examples

Who is online

Users browsing this forum: No registered users and 80 guests