From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Shifrin ·
Hi, some questions for you guys!
LFO's :- I'd like to implement a simple LFO but am not sure exactly how to go about it. I think I might have read something about using a mono oscillator to achieve this. Obviously there's a decision as to whether the LFO operates per voice or is used on the whole output, and also things like synching to note-on, or free running!
SamplePos :- I'm curious as to what exactly this outputs, I'd like to try to implement some sort of 'trance gate' 😉 effect with this. I connected the output from it to a float and it gave me '0'. I stuck this inside a VST to load into my sequencer (EnergyXT) with the output to a label (so I could see what it changed to etc, or if it changed) but XT just exited, no error message or anything. Just killed!
Tuning :- Well, I can do an octave selector, and also a 'fine tune' but I want to also make a tune switcher, i.e. increase/decrease the tuning in semitones. But I can't figure it out. I tried to use the pitch output from the Midi control and modify that then convert it to 'freq' but it didn't work. Am I right in thinking the 'pitch' output outputs the note value, i.e. 60 for C3? I assumed that and tried to add 1, to get C#3, then convert to 'freq' but no luck.
Phew, thanks for any insight 🙂
Shif.
jorge ·
Hi Shifrin, I'll try to answer your post with an example schematic and some screen captures. Might take a little while, probably 30 min or so.
Shifrin ·
jorge wrote: Hi Shifrin, I'll try to answer your post with an example schematic and some screen captures. Might take a little while, probably 30 min or so.
Wow! That's great Jorge! Cheers!!!
Shif.
jorge ·
I'll split my replies into several posts so you can be reading them.
I created a new version of the example schematic with two LFOs included:
You can download the schematic from here:
[old link]
On the next posts I'll show you how it works inside.
jorge ·
if you follow this path:
you'll find this bit of ( very untidy ) schematic:
basically the ramp is going from -0.5 to 7.5 and converted to a PolyInt that goes from 0 to 7 which is used to index the GtoP to output one of the 8 values in the drawbars.
That way you have an LFO although it this case, because it isnt using the samplePos, it works per note.
The poly input of the Ramp oscillator controls the frequency of the ramp and consequently the speed of your LFO.
Next I'll explain how to use the samplePos component
Shifrin ·
This looks awesome Jorge! I gotta get some sleep but will have a good look at the schematic tomorrow!!!
Thanks again!
Shif.
jorge ·
Ok, so samplePos took me a bit longer because I think there is a bug with it.
It seems to work after exporting as VSTi anyway.
Here is the screen capture:
and here is the schematic:
[old link]
Export the samplePos module as VSTi and open it inside FLStudio ( for example ):
press play and let it loop, when you play notes they should all have their frequency going up, all synced with eachother and going back to original frequency as the time gets back to zero due to looping.
Basically the samplePos is outputing the current sample index
jorge ·
ok Shifrin, then I might go and get some sleep too 🙂
I wasnt sure if you ever slept 🙂
I better sort the smilies 🙂
jorge ·
Smilies are working again 🙂:):):):)
Shifrin ·
Just grabbed the samplePos.osm example, gonna go and have a look at it along with the other schematics! Thanks very much for these Jorge 😀
Shif.
Shifrin ·
Just wanted to thank you again Jorge, the schematics told me all I wanted to know so that's great 😀
Shif.
jorge ·
Shifrin wrote: Tuning :- Well, I can do an octave selector, and also a 'fine tune' but I want to also make a tune switcher, i.e. increase/decrease the tuning in semitones. But I can't figure it out. I tried to use the pitch output from the Midi control and modify that then convert it to 'freq' but it didn't work. Am I right in thinking the 'pitch' output outputs the note value, i.e. 60 for C3? I assumed that and tried to add 1, to get C#3, then convert to 'freq' but no luck.
Yeah, the pitch output outputs the note value. I'm guessing the problem you have might be caused by an Int connector being linked to a poly connector. Ints are not being converted to poly at the moment eventhough they should. Try converting the int to float first as follows:
You can download the schematic here:
[old link]
Shifrin ·
jorge wrote: I'm guessing the problem you have might be caused by an Int connector being linked to a poly connector.
Yep, that's exactly what was wrong - as soon as I saw your schematic I realised you were using a float, and sure enough that worked a treat!
Thanks,
Shif.
Wrote something here? To have a post removed or your name hidden, write to [email protected].