Trigger Wav Samples

For general discussion related FlowStone
Post Reply
S1User
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Trigger Wav Samples

Post by S1User »

Hello Guys,

I'm working on a drum sample player and for the life of me I cannot get the Wave Array thing to work. If you can be so kind as to give a simple (as simple as possible) example of pre-loading a few samples into a wav array and then later triggering any of them from MIDI.

I've been reading here and on the net for a few days now and I just cannot get it to work.

Thanks in advance.
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Trigger Wav Samples

Post by billv »

Here's a Drum machine..with bass and synth as well....hope this helps... :)
Drums.fsm
(3.33 MiB) Downloaded 638 times
S1User
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: Trigger Wav Samples

Post by S1User »

Thanks a lot. Is there a wave array primitive in there? i can't find it. i really just need a simple schematic that shows how wave files play from a wave array prim. '

I'm wracking my brain. :)
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Trigger Wav Samples

Post by billv »

S1User wrote:I'm wracking my brain.

Yes...there is a wave array in there...in a un-named module...at the top of the screen.... :)
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Trigger Wav Samples

Post by tulamide »

S1User wrote:Hello Guys,

I'm working on a drum sample player and for the life of me I cannot get the Wave Array thing to work. If you can be so kind as to give a simple (as simple as possible) example of pre-loading a few samples into a wav array and then later triggering any of them from MIDI.

I've been reading here and on the net for a few days now and I just cannot get it to work.

Thanks in advance.

I don't think it's a good idea to work with the wave array. All wavefiles loaded to it will need to be of the same format and share only one ADSR.
It's better to have dedicated "oscillators" per drum channel, each with their own set of sound design tools, like ADSR, filter or eq, and panning, for example.
"There lies the dog buried" (German saying translated literally)
S1User
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: Trigger Wav Samples

Post by S1User »

Thanks, but I don't need ADSR. I have a collection of drum samples and all I want to do is trigger them via midi and have them go to individual audio outputs in my DAW so they can be individually processed and mixed.

I have the same drum samples in a Kontakt kit that I created, and Kontakt is literally doing nothing to the samples but triggering them. I just want to move that kit to a standalone VST plugin

Image
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Trigger Wav Samples

Post by Spogg »

S1User wrote:... I don't need ADSR. ...


You may not need an actual ADSR but you’ll need something to keep the channel open while the sample plays out. Without this, the sample will stop playing when the midi note OFF signal arrives.

If there’s no ADSR you’ll need the envelope control prim (search for env in the toolbox). The prim will need to control the index counter so it starts the counter when a note is played and closes the channel with a poly bool signal when the index counter reaches maximum. That way you get one full shot independent of when the MIDI note OFF is received.
S1User
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: Trigger Wav Samples

Post by S1User »

I finally got it working. Now I just need to figure out how to stop the sample from triggering every time I add or delete a primitive in the schematic.

The adventure continues. :)
Post Reply