Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » Modular Synthesis
Thread Read
Building Lofi effect in REAKTOR. Absolute beginner.
Goto page 1, 2  Next
zeep
KVRian
- profile
- pm
PostPosted: Wed Feb 15, 2012 7:10 am reply with quote
There's heaps and heaps of video's / tutorials on how to build synths in Reaktor, for the life of me i can't find any to teach me how to build a simple effect like lofi.

I need help. Any takers?

If need be i also own M4L but i figured Reaktor to be easier.
^ Joined: 17 May 2005  Member: #68803  
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Wed Feb 15, 2012 7:42 am reply with quote
Give me a second! I'll try to throw together a simple example ensemble.

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
zeep
KVRian
- profile
- pm
PostPosted: Wed Feb 15, 2012 8:38 am reply with quote
Thanks Dennis!
^ Joined: 17 May 2005  Member: #68803  
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Wed Feb 15, 2012 8:45 am reply with quote
Here it is:

The simplest lofi effect would be a simple sample rate reducer.
A SRR can be build quite simple! You just need a sample and hold module and an oscillator to provide the triggers for it!

It looks like this in Reaktor (I used 2 S&H modules since we want to have a stereo effect):



How does it work?

It's quite simple! The input goes straight into the S&H modules. The S&H modules sample the incoming signal at every trigger at the trig input and hold it until the next trigger.
If you connect an oscillator to the trig input which oscillates exactly at your hosts sample rate you won't hear any difference.
BUT if you lower the freq of the oscillator you'll get all kinds of nasty aliasing and stuff. It's basically the same thing as lowering your hosts sample rate but continuously variable.
That's what the sample rate knob is for! I've set it to a range from 500 to 20000. Why 20000? It's roughly 44k/2 and should be the upper limit of lofi HiHi

Weirdly enough most lofi plugins etc. implement the same thing differently though (I never understood why!).
They use the hosts sample rate to calculate the freq of the oscillator.
This method has basically no advantages but 1 big problem: It is dependent of the hosts sample rate! I like to use 44k as my hosts sample rate but I often render at 96k. That's not possible with this method since the rate of the oscillator would be more than doubled in that case and the effect would be completely different (or not auditable at all anymore!).

However, this method can be implemented in Reaktor too:



In this example the knob is set to a range from 0 to 1.
The value then gets multiplied by the hosts sample rate (provided by the system info module) and get's divided by 2 (well, actually it gets multiplied by 0.5 since it's less CPU intensive).
This will give the knob a range from 0 too ~20000 at 44k. It's probably not a good idea to go all the way down to 0, you should probably add 500 again or set the range of the knob to something like 0.01 to 1.

I strongly advice to use the first method though.
But there is still one "bug". Most of the changes happen at the first few % of the knobs range since there isn't much auditable difference between a sampling rate of 17000hz and 17500hz but a huge difference between a sampling rate of 500hz and 1000hz.

This can be solved quite easily (uses the method of the first example again):



In this example the knob is set to a range from 0 to 1 again but it gets multiplied by itselft to get a finer resolution on the lower range of the knob.
To scale the value to our 500 to 20000 range again it simply gets multiplied by 19500 and 500 get added. You could use a multiply and an add module for this but it looks a bit cleaner with the multiply+add module (or however it is called).

I hope this helps!
And please excuse my crappy english! I hope some of my mumbling is understandable HiHi

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
zeep
KVRian
- profile
- pm
PostPosted: Thu Feb 16, 2012 1:01 am reply with quote
Wow i appreciate how detailed you wrote the post! This actually makes more sense to me now. Today i'm experimenting with this. Your post has raised some questions but before i ask 'why this?' and 'why that?' i want to study it myself.

I'll reply later. Thanks again!
^ Joined: 17 May 2005  Member: #68803  
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Thu Feb 16, 2012 5:09 am reply with quote
zeep wrote:
Wow i appreciate how detailed you wrote the post! This actually makes more sense to me now. Today i'm experimenting with this. Your post has raised some questions but before i ask 'why this?' and 'why that?' i want to study it myself.

I'll reply later. Thanks again!
Always a pleasure to help!

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
szalonykp
KVRist
- profile
- pm
- e-mail
PostPosted: Thu Feb 16, 2012 6:34 am reply with quote
Thanks Dennis! It was a really great post!
^ Joined: 03 Nov 2006  Member: #127020  
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Thu Feb 16, 2012 1:46 pm reply with quote
szalonykp wrote:
Thanks Dennis! It was a really great post!
Thanks! I hope it helps!
Sadly I'm not the best guy at explaining things HiHi

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
nix808
KVRAF
- profile
- pm
PostPosted: Thu Feb 16, 2012 2:09 pm reply with quote
I have looked at this in SynthMaker,
and u can do the same there as outlined here.
One addition you could add to the schematic is
bit-rate reduction too.
This is lowering the iterations of volume.
I multipled the signal by 2 to the power of whatever bits you want,
converted it to integer, and divide again by the same power.
This can degrade the bitrate.
Cheers
Thanks Dennis,
gotta destroy some sounds with Reaktor,
if only it did VST export
----
Smoke the pipe of peas, human beans!
http://soundcloud.com/nix808
http://rekkerd.org/nix-plugs/
Phonics Audio
^ Joined: 21 Jul 2006  Member: #113899  Location: Melbourne, Australia
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Fri Feb 17, 2012 7:11 am reply with quote
nix808 wrote:
I have looked at this in SynthMaker,
and u can do the same there as outlined here.
One addition you could add to the schematic is
bit-rate reduction too.
This is lowering the iterations of volume.
I multipled the signal by 2 to the power of whatever bits you want,
converted it to integer, and divide again by the same power.
This can degrade the bitrate.
Cheers
Thanks Dennis,
gotta destroy some sounds with Reaktor,
if only it did VST export
Exactly! A bit crusher would be the next step for a lofi effect but I thought that would be a bit too much for the beginning.
And I never tried to build one in Reaktor to be honest Embarassed

Another cool thing would be a highly resonant filter in front of the SRR to get those classic early Autechre (Love) sounds.

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
zeep
KVRian
- profile
- pm
PostPosted: Fri Feb 17, 2012 7:44 am reply with quote
Ok it took me some time to understand but i managed to build your first example. I know it's not much but it's a start. Thanks again.
At one point i couldn't for the life of me understand how to get the Knob to be visible. I couldn't see it anywhere! Then i saw in the Ensemble properties that i had to switch it on there too.

One thing i didn't quite understand is the 'A' connection to the Clock Osc. If it's not there then no sound passes. So i guess it's an On/Off switch? Haven't tried different values there..


Now my second task in this is adding a bitcrusher aspect and also an LFO (or Random value) that connects to the frequency in a definable amount.
To make it sound 'unstable' like.

So in the end i would have controls like:
-freq value (Amount)
-lfo or random wobble (On/Off/Amount)
-bitcrusher (On/Off/Amount)

After that i would also like to add Saturation and filtering and Dry/Wet controls.

What do you think? Am i getting on the right track?
^ Joined: 17 May 2005  Member: #68803  
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Fri Feb 17, 2012 8:10 am reply with quote
zeep wrote:
One thing i didn't quite understand is the 'A' connection to the Clock Osc. If it's not there then no sound passes. So i guess it's an On/Off switch? Haven't tried different values there..
Sorry I should have explained that! The A input simply defines the amplitude of the clock osc. Since we don't hear it (it only triggers the S&H modules) it doesn't really matter what value you put in there as long as it's above 0.
zeep wrote:
So in the end i would have controls like:
-freq value (Amount)
-lfo or random wobble (On/Off/Amount)
-bitcrusher (On/Off/Amount)

After that i would also like to add Saturation and filtering and Dry/Wet controls.
I can't help you with the bit reduction at the moment since I never tried it myself (should be quity easy to build with a quantizer module though).
I'll post about the LFO thingy later today.
zeep wrote:
What do you think? Am i getting on the right track?
Definitely!

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
zeep
KVRian
- profile
- pm
PostPosted: Fri Feb 17, 2012 8:20 am reply with quote
Btw Dennis, did you get those screenshots from within Reaktor? Since they're all the same size i thought maybe it's a function in the program. Or are they just nicely cropped screenshots..

Will post my new endeavours later. Wink
^ Joined: 17 May 2005  Member: #68803  
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Fri Feb 17, 2012 8:26 am reply with quote
zeep wrote:
Btw Dennis, did you get those screenshots from within Reaktor? Since they're all the same size i thought maybe it's a function in the program. Or are they just nicely cropped screenshots..

Will post my new endeavours later. Wink
I just took a screenshot, pasted it into paint.net and used the fixed size selection tool to cut the relevant parts Smile
I made them the same size since KVR scales the size of the pictures and all modules on the pictures would have different sizes then. I thought that could be a bit confusing.

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
Bronto Scorpio
KVRAF
- profile
- pm
- e-mail
PostPosted: Sat Feb 18, 2012 4:22 am reply with quote
Sorry I haven't found the time to post the LFO thingy yesterday Embarassed
Will do it today!

Cheers
Dennis
----
Back from the dead - Sorry if I didn't answer your mails/PM/whatever during the last few months. I hope everything will be back to normal soon. Life can take some shitty turns sometimes.
^ Joined: 13 Feb 2006  Member: #98170  Location: Wiesmoor, Germany
All times are GMT - 8 Hours

Printable version
Page 1 of 2
Goto page 1, 2  Next
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
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
Username: Password:  
KVR Developer Challenge 2012