Author |
Message |
Loz
Joined: Jan 29, 2007 Posts: 4 Location: UK
G2 patch files: 1
|
Posted: Fri Apr 13, 2007 5:36 pm Post subject:
Psuedo Random Quantized LFO |
|
|
For an acidy modulated patch I wrote earlier in the week, I had a random LFO clocked to twice the speed of the sequence modulating the cutoff on the filter, to create a sort of burble effect. I'd quantized the LFO output to one octave, which created a 1/12 chance of it repeating the same output twice in a row, and therefore missing a modulation change.
So, as this bugged me, I created this, a pseudo random LFO, which compares the current output with the previous one, and if they're the same, switches to an output which is one semitone below.
At least I think it does, it seems to work, but this being my first patch which involves a little thought, it might not work. But I'm fairly certain it does.
Anyway, take a look if you think this is useful to you, and let me know if it actually works or not.
Description: |
Psuedo Random LFO, quantized to one octave. Avoids immediate repetition of output. |
|
Download |
Filename: |
PseudoRandom LFO.pch2 |
Filesize: |
1.48 KB |
Downloaded: |
1582 Time(s) |
Last edited by Loz on Sat Apr 14, 2007 6:52 am; edited 1 time in total |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Fri Apr 13, 2007 6:50 pm Post subject:
|
|
|
This is a nice idea, and experimenting with it I got some nice results.
There are some details though in the patch that make it work not quite as I think you intended it to. This is not me trying to be negative, but I hope it will help you instead. I might interpret your goals wrongly of course.
Anyway, here it is
The pitch shift module can shift an incoming frequency into another frequency. In your patch you try to use it to shift a control signal though.
A control signal will determine a frequence when it is fed into an oscillator's or a filter's frequency control input, but it is not a frequency itself. For your purpuse I think you'd want to subtract a value from the control signal. For that purpose you can use a level/LevAdd module set to -1 (in bipolar mode).
Another thing is that you seem to try to use a flip flop module as a storage element for a multi valued (blue) signal. The flip flop can remember signals indeed, but only logic signals. I think that you'd want to use a sample and hold module for this purpose. That one will take a multivalued input value and when you feed it a pulse on it's yellow input it will sample the input value and remeber it until the next pulse occurs.
Hope this will help you in some way or another. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
|
Back to top
|
|
|
Loz
Joined: Jan 29, 2007 Posts: 4 Location: UK
G2 patch files: 1
|
Posted: Sat Apr 14, 2007 1:23 am Post subject:
|
|
|
Blue Hell wrote: | This is a nice idea, and experimenting with it I got some nice results.
There are some details though in the patch that make it work not quite as I think you intended it to. This is not me trying to be negative, but I hope it will help you instead. I might interpret your goals wrongly of course.
Anyway, here it is
The pitch shift module can shift an incoming frequency into another frequency. In your patch you try to use it to shift a control signal though.
A control signal will determine a frequence when it is fed into an oscillator's or a filter's frequency control input, but it is not a frequency itself. For your purpuse I think you'd want to subtract a value from the control signal. For that purpose you can use a level/LevAdd module set to -1 (in bipolar mode).
Another thing is that you seem to try to use a flip flop module as a storage element for a multi valued (blue) signal. The flip flop can remember signals indeed, but only logic signals. I think that you'd want to use a sample and hold module for this purpose. That one will take a multivalued input value and when you feed it a pulse on it's yellow input it will sample the input value and remeber it until the next pulse occurs.
Hope this will help you in some way or another. |
excellent, that's exactly the sort of feedback I wanted
thanks!
edit: uploaded a new version with your suggestions |
|
Back to top
|
|
|
|