Using a LFO to trigger a sample

Anything about the Scope modular synths

Moderators: valis, garyb

Post Reply
Nick
Posts: 27
Joined: Wed Mar 28, 2001 4:00 pm
Contact:

Post by Nick »

I want to have a LFO trigger a sample. Therefore, by tweaking the rate of the LFO, I could control how fast a sample is repeated. Simple. How can I do this in ModV2?

Thanksguys
castol
Posts: 323
Joined: Wed Oct 03, 2001 4:00 pm

Post by castol »

nick,

as i understand it, any waveform which has "peaks" can reliably be used as a trigger or gate for an envelope or vca, or what have you.

traditionally a square wave best serves this purpose, as it is seen by a trigger input or gate as either on or off, as it is cycling around. an added neat bonus is that you can adjust the pulse width, which has the effect of shortening or lenghtening the amounf of time the waveform spends "on" or "off".

so, a square or pulse wave, feeding an envelope gate which is modulating a vca, or even more directly the square/pulse wave can modulate the vca. gating an envelope is a little more flexible however.

for what your purposing i would reccomend using an AHD envelope, as you can make the vca stay open for any amount of time before the envelope recieves a new trigger (hold).

//c




<font size=-1>[ This Message was edited by: castol on 2002-03-28 04:03 ]</font>
mydaycomes
Posts: 57
Joined: Sun Sep 23, 2001 4:00 pm

Post by mydaycomes »

Is this essentially how a wavetable oscillator works? It's a strange coincidence that I've just purchased the Pro Pack and am in the midst of trying to make a synth that uses samples for a wavetable...I've noticed that the sample oscillator seems to loop certain samples and not others...is there a reason for this?

Thanks
castol
Posts: 323
Joined: Wed Oct 03, 2001 4:00 pm

Post by castol »

hmm, no.

a wavetable oscillator as i understand it is a wave that has x amount (127 in the microwave)of uniform cycled loops, placed one after another in an audio file. when your sweeping through a wavetable you are actually just moving a a fixed loop position from one wave cycle to another. all cycles are exactly the same length, or at least this is how it worked in my eps.

i had an ensoniq eps 16+ which one could make their own wavetables for. ensoniq called it transwave synthesis. the fizmo, asr-10 and i think asrx use this type of "synthesis" as well. the asr-10 is the best out of the bunch, the asrx and fizmo have no means of editing transwaves, they just play them back.

anyhow, i never really got around to trying this more than 3 or 4 times, because it took a lot of time and calculation to get a good end result (of course you could just slap any older sample and transwave it to some to some odd sounding effect, i did this a lot :smile:). i had a few small libraries of these patches, and i actually still have the base samples from these transwave patches, haven't figured out anything to do with them yet.

the waldorf or more correctly, PPG way of doing this is to interpolate between each wave cycle position instead of just jumping to each wave cycle, like in the ensoniq line of transwave synthesizers.

this has the effect of smoothly transitionioning from one cycle in the wave to another. I THINK, it may work differently, and be more of an involved process (unseen to the user) than how i am seeing it in my head.

there is a bunch of info availible on the web of how waldorf does this, and the microwave manual has some juicy info on it as well. someone posted a link here somewhere.

i have thought that a transwave or wavetable sample module would be neat to have, but it might be stepping on waldorfs feet a bit much for cw's liking.

but no it can't really be done at the moment. there might be a way to sort of do it, but you'd need a sample oscillator for every wave cycle, and have to employ some pretty complicated logic between all these sample oscillators to get it to work right, if even then.

this is just going off on a limb, i wouldn't really know how to do it off the top of my head.

about the sample looping irregularity.

i've noted problems with the sample oscillators (and every sample device purportedly) being able to load audio files which have Extra information stored in their "header".

sub-human explained/confirmed this, and i sort of figured it out for myself. this might be where your having problems, if so, try and see if you can save with no header, or try a different audio editor to save the file.

i had good luck using a different audio editor to save files, but it turned out the problem only happened with wave files.

i later found out that saving to the aiff format didn't pose any problems from any programs. this is what i do now, no problems.

best.

//c

<font size=-1>[ This Message was edited by: castol on 2002-03-29 07:25 ]</font>
castol
Posts: 323
Joined: Wed Oct 03, 2001 4:00 pm

Post by castol »

oh yah, in case you don't know (just realized that you didn't intone about it at all), our modular has a waldorf wavetable oscillator. with all the wavetables from the microwave II.

mmm, its a very nice addition. now if only other 3rd party modules would come out....

best.
mydaycomes
Posts: 57
Joined: Sun Sep 23, 2001 4:00 pm

Post by mydaycomes »

Thanks for an illuminating post, castol...I'll just keep plugging away...

I think I'll do a search to find that post from subhuman...I have a .wav file that seems to loop itself when played through the sample oscillator...the file itself is only 1 second long, but when I play it on the highest pitch (and all others), it loops itself indefinitely. If I can make the other files do this, that would be close enough to an actual wavetable for me...

Thanks
castol
Posts: 323
Joined: Wed Oct 03, 2001 4:00 pm

Post by castol »

the thread...

http://www.planetz.com/forums/viewtopic ... 44&forum=9

it does sound like this is the problem your running into. i can remember before i got it sorted i had more than a few sample files which would load and i knew had loops but didn't loop.

let us know if you get it sorted out.

regards.

//c




<font size=-1>[ This Message was edited by: castol on 2002-03-29 15:13 ]</font>
David
Posts: 733
Joined: Wed Jan 09, 2002 4:00 pm
Location: Modular IV

Post by David »

I have found you reply to be just what I was looking for Castol. Many Thanks :smile:
castol
Posts: 323
Joined: Wed Oct 03, 2001 4:00 pm

Post by castol »

glad to be of service :grin:




<font size=-1>[ This Message was edited by: castol on 2002-03-31 04:16 ]</font>
Post Reply