electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » Clavia Nord Modular » G2 Building Blocks
Psuedo Random Quantized LFO
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Loz



Joined: Jan 29, 2007
Posts: 4
Location: UK
G2 patch files: 1

PostPosted: Fri Apr 13, 2007 5:36 pm    Post subject: Psuedo Random Quantized LFO Reply with quote  Mark this post and the followings unread

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.


PseudoRandom LFO.pch2
 Description:
Psuedo Random LFO, quantized to one octave. Avoids immediate repetition of output.

Download
 Filename:  PseudoRandom LFO.pch2
 Filesize:  1.48 KB
 Downloaded:  1581 Time(s)


Last edited by Loz on Sat Apr 14, 2007 6:52 am; edited 1 time in total
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24075
Location: The Netherlands, Enschede
Audio files: 277
G2 patch files: 320

PostPosted: Fri Apr 13, 2007 6:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

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 Very Happy

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24075
Location: The Netherlands, Enschede
Audio files: 277
G2 patch files: 320

PostPosted: Fri Apr 13, 2007 7:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here is a patch I made based on the one above. Used here as a sort of a melody generator, but the same idea.

When the step control on the random module is set to zero the direct repetition avoidance is quite clear, the thing then alternates between two tones.

Instead of just the LevAdd it uses a quantizer set to a different range as well.


rnd_lfo_alt.pch2
 Description:

Download
 Filename:  rnd_lfo_alt.pch2
 Filesize:  1.76 KB
 Downloaded:  2510 Time(s)


_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Loz



Joined: Jan 29, 2007
Posts: 4
Location: UK
G2 patch files: 1

PostPosted: Sat Apr 14, 2007 1:23 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Very Happy

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » G2 Building Blocks
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use