Page 1 of 3
How to "trigger" a wav file?
Posted: Tue May 07, 2013 8:33 pm
by Perfect Human Interface
Hey, so I'm wondering if anyone knows a way or has any idea how we might be able to "trigger" a one-shot wav file at any time in FS.
I know that you can load a wav, calculate it's length, play it from the beginning and cut the level at the end, but that's not good enough.
What I'm looking for would be able to play any number of "copies" of the wav, even if they're overlapping, and each would play back to the end.
I can think of some ways I might be able to cheat this for particular uses using feedback and delays, but ideally I'd like to have a simple to use module of this that could be useful for many things.
Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 7:33 am
by billv
G'day mate,...it's a long shot, but.....
Have been re-building Wave File osc for the last few days-
might have something that you can modify further to suit your needs...
Can you clarify this part...
Perfect Human Interface wrote:play any number of "copies" of the wav, even if they're overlapping,
Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 7:37 am
by Perfect Human Interface
As in if I trigger the sample 10 times within the span of a second, I want all 10 "instances" of the sample to play to the end rather than it being re-triggered.
Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 8:29 am
by billv
Dosn't that just mean basicly putting 10 wave osc's together, and firing them at 10th of a second
intervals from the first trigger?
Trigger in..
@1/00th of sec fire the first one
@1/10th of sec fire the second one
@1/20th of sec fire the third one ....ect ect.....
???
Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 8:45 am
by Perfect Human Interface
Yes, but what if I want to do 100? What if I want to do 44100?
Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 8:53 am
by billv
Perfect Human Interface wrote:Yes, but what if I want to do 100?
Doing the same thing I mentioned at 1/
100th will not work..?????
Perfect Human Interface wrote:What if I want to do 44100?
Seek psychiatric help....

yeh...don't know mate.....

Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 12:14 pm
by Jay
why do you want to trigger a one shot sample at 44100 times a sec? would it not just sound like crap if it were possible?
or is it a waveform you mean m8?
Best regards
Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 5:48 pm
by Perfect Human Interface
Jay wrote:why do you want to trigger a one shot sample at 44100 times a sec? would it not just sound like crap if it were possible?
That would be "convolution." But that's not all I would want to use it for. This is a really straightforward concept for any kind of sequencing and creating a pile of duplicate wave components is a really ugly way about it even if it would work in some circumstances.
Re: How to "trigger" a wav file?
Posted: Wed May 08, 2013 7:00 pm
by Tzarls
What if you fired a new MIDI note every time you wanted to trigger a new "wav" file, and then routed the MIDI event into a MIDI2Poly? As far as I remember, poly signals can create new instances of themselves when needed - for example, when you´re playing more than 1 voice on a sampler. It´s been a while since I used SM, but I think something like this might work.
Re: How to "trigger" a wav file?
Posted: Thu May 09, 2013 2:15 am
by Jay
oh i see! i never knew that in all the time i have used convolution based effects ha ha! you learn something new everyday! cheers for that info Perfect Human Interface!
