varying square lfo pulse width / duty cycle
-
- KVRAF
- 2875 posts since 28 Jan, 2004 from Da Nang, Vietnam
-
- KVRian
- 527 posts since 12 Dec, 2007 from Belgium
I'm not sure if i understand you correctly, but you can modulate the rate of a square LFO with a sine wave of a second LFO, to get that bouncing ball effect.
Here's a patch i made up quickly:
http://users.pandora.be/bogaard/temp/modsquarelfo.h2p
Here's a patch i made up quickly:
http://users.pandora.be/bogaard/temp/modsquarelfo.h2p
-
- KVRAF
- Topic Starter
- 2875 posts since 28 Jan, 2004 from Da Nang, Vietnam
What I want to do is adjust the duty cycle of a square wave lfo, from a full 50% to a narrower width. Ideally I'd like to be able to modulate this in realtime as well but just being able to change it would be nice.
Maybe something with two saw lfos and the mmix module would do it.
Maybe something with two saw lfos and the mmix module would do it.
- KVRAF
- 4197 posts since 23 May, 2004 from Bad Vilbel, Germany
Do this experiment: Start from scratch with one oscillator, set LFO1 to Square, use it to modulate OSC1 Pitch in the OSC module. Then go into the mod matrix, modulate LFO1 by LFO1 (just a bit e.g. +6) via LFO2 (maximum). Adjust LFO rates.
-
- KVRAF
- Topic Starter
- 2875 posts since 28 Jan, 2004 from Da Nang, Vietnam
-
- KVRAF
- 4707 posts since 16 Mar, 2004 from Columbia, MD
Isn't that a sort of complex way of doing simple pulse width modulation? Just take a saw osc, go to the Phase tab, invert the phase, and slap an LFO on the Phase knob. Bam, instant PWM.
Shreddage 3 Stratus: Next generation Kontakt Player guitar, now available!
Impact Soundworks - Cinematic sounds, world instruments, electric guitars, synths, percussion, plugins + more!
Impact Soundworks - Cinematic sounds, world instruments, electric guitars, synths, percussion, plugins + more!
-
- KVRAF
- 4229 posts since 9 Apr, 2003 from Right here, in front of my computer...
-
- KVRAF
- Topic Starter
- 2875 posts since 28 Jan, 2004 from Da Nang, Vietnam
Correct. I want to change the pulse width of an lfo, not an oscillator.beej wrote:He may not be wanting oscillator PWM - he wants varying pulse width square LFO's - he might be modulating all kinds of stuff, so no, from his question, the OP is not wanted to achieve oscillator PWM, but a nice LFO effect for some other modulation target/s.
-
- KVRAF
- Topic Starter
- 2875 posts since 28 Jan, 2004 from Da Nang, Vietnam
Nothing in particular. I was just messing around with some sound design and wanted to be able to control this. I got used to doing this with Surge where it's a built-in feature of the lfos (the deform parameter).beej wrote:Out of interest - what are you using it for..?
-
- KVRian
- 559 posts since 4 Apr, 2008
I'm really serious when I say: I can't wait to be able to understand what the hell you all are talking about, as I've recently made the commitment to immerse myself into synth programming-all available methods. I find the idea of sound creation as appealing as becoming more proficient on keys and actually making music. I hope I have enough life left. 
-
- KVRist
- 103 posts since 12 Jan, 2007
wow - i gotta say the OP has a really interesting concept there - i never thought of doing such a thing. and thanks howard for the tip on how to accomplish it. all sorts of crazy applications of this are running thru my head now. thanks!
- KVRAF
- 4197 posts since 23 May, 2004 from Bad Vilbel, Germany
The trick is to think of tricks that you wouldn't think ofkuniklo wrote:This recursive modulation stuff is black magic.
BTW thinking: Isn't PWM of a square LFO practically the same as rate modulation via an LFO (sine or Tri) of similar rate? Must try that... (rushes off to computer)
-
- KVRian
- 527 posts since 12 Dec, 2007 from Belgium
Isn't that what i did in my patch? My brain hurts from thinking about this...i recently noticed i totally neglected the modulation options in the matrix section. I had to turn off my computer and lie down for a while when i discovered that part of Zebra 2Howard wrote:The trick is to think of tricks that you wouldn't think ofkuniklo wrote:This recursive modulation stuff is black magic.
BTW thinking: Isn't PWM of a square LFO practically the same as rate modulation via an LFO (sine or Tri) of similar rate? Must try that... (rushes off to computer)

