Yahoo Groups archive

Emu XL-7 & MP-7 User's Group

Index last updated: 2026-03-31 23:44 UTC

Message

real-time, continuously variable, PWM LFOs

2010-04-26 by Atom Smasher

how to get real-time, continuously variable, PWM LFOs. or; another neat 
thing i thought of while trying to figure out something else, realized 
that this is cool in its own way, and just now had a chance to test out. 
enjoy...

LFO1:
 wave: triangle or sawtooth

cords:
 1: LFO1+-  ->  switch  +100
 2: switch  ->  *target*
 3: DC      ->  switch  +0 (controlled by #4)
 4: MIDI-A  ->  CO3     +49-50

this produces a square wave with the duty cycle controlled by knob A (cord 
#4). if cord #4 is set to +50, the pulse can be set flat. if set to 49, it 
can be set to just a tiny pulse (probably 2%?).

of course, if you want something more rounded than a square wave just 
change cord #2 and add one more cord:

cords:
 1: LFO1+-  ->  switch  +100
 2: switch  ->  Lag0    +??
 3: DC      ->  switch  +0 (controlled by #4)
 4: MIDI-A  ->  CO3     +49-50
 5: Lag0    ->  *target*

in this case, the range of cord #2 determines how much of the edges are 
rounded off the square.

note to n00bs (wait a minute... i'm also a n00b): although this example 
uses a knob to adjust the PWM, *any* controller(s) can be used.


-- 
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"Man cannot pretend to he higher in ethics,
	 spirituality, advancement, or civilization than
	 other creatures, and at the same time live by
	 lower standards than the vulture or hyena."
		--  H Jay Dinshah, Out of the Jungle

Attachments