Kara-Moon Forum
April 19, 2024, 06:15:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Modular synthesis on Linux - Part 1  (Read 8911 times)
kara
Kara-Moon, a site built by and for musicians
Global Moderator
Kara-Moon Master
*****
Posts: 4907


Music is my middle name


WWW
« on: March 07, 2008, 03:03:47 PM »

Since Folderol is doing some tutorials on Linux installations, i tought it would be nice to give something back.

So, what is my speciality beside making music ? Modular synthesis Smiley
I'm used to work with 2 modular machines, both Clavia, the litle micro-modular and his big brother the Nord Modular G2X.
I was wondering today how easy it would be to reconstruct a modular patch in the AlsaModularSynth on linux.

Here we go, let's start with a simple bass patch (simple but good sounding)
First the real hardware modular patch (see the first pic) :
Pretty straightforward, what do we have.
- 2 Oscilators : One main oscilator with a typical saw output and a second one which output a square to give it a bit of grind.
- Output of both ocilators go into a mixer so that we can mix both signals.
So far our soundsource.
Be aware that modular editor automaticaly connect the incomming midi note to the pitch of the oscilator, you don't see this on the picture

Now that we have a soundsource, we want to do something with the sound Smiley
We connect the output of the mixer to a low pass filter which has his own ADSR enveloppe that is triggered by the keyboard gate.

The only thing left to do is sending the sound to the outside world. For that we'll use again a ADSR that will control the amplitude of the audio out comming from our filter ans send to the output of the synth.

Quit simple i would say. On the attached picture, the yellow cables are trigger signals from the keyboard, red cables are audio signals and blue cables are enveloppe signals.

-----------------------------------------------
Now let's recreate this patch with the AlsaModularSynth.
1. Start up the synth
2. Since we need some sound, in the jack control panel connect the 2 outs of the alsa synth to your soundcard.
3. If you don't have a hardware keyboard, launch the midi virtual keyboard and connect (again in jack control) the output of midi keyboard to the input of the alsasynth.
We are ready to create some noise Smiley

1. First thing we need is the input of the keyboard, this is called a MSV here, right click on the empty surface and choose it to load.
2. In the same way we will load 2 oscilators called VCO here.
3. We connect the MCV to the oscilator so that they now which note they have to play, so we have to connect the freq(uenty) out of the MCV to the freq-in of both vco's.
4. Like in the modular patch, we will send both outputs pf the VCO's to a mixer, right click on the surface and choose mixer 2->1. Now connect the saw output from vco1 and the rectangle output of vco2 to in0 and in1 of the mixer.
4. To make the signal a bit more interested we'll need a filter that modulates the freq of the signal. On my nord patch i used a 24db lowpass filter. The great thing of Linux is that everything is integrated. Which means that the LADSPA plugins are available in all audio programs. One very good filter is the Mvclpf-3 filter which is an emulation of the famous VC filter invented by Moog. We're gonna use this one. In the top menu of the synth choose 'Show LADSPA browser and then choose the Mvclpf filter.
Same as in the nord patch, we will handle the filter by an envelope module, so load another envelope module. This envelope has to be triggered by the keyboard : connect gate out of the mcv to gate in & retrigger of the enveloppe module.
Now we have an enveloppe that will modulate our filter : connect the ENV out to the Exp. FM in of the Mvclpf filter.
5. Last thing we need is controlling the amplitude of the outgoing signal. For this we need a VCA, load a Lin VCA and connect in In0 to the output of the filter. Since we want to control the VCA we will need another ENV component with an envelope, we will connect the out of the ENV to the Gain0 of the VCA. That way the ENV will control the Gain of our amplifier (VCA)
6. As a last step, we send our signal out to the real world, VCA out to PCM out.

And that's it : Cheesy

As I didn't explain all the settings of the different components, like the form of the envelopes and stuf like that, I've added the patch in the zipfile, you can load it directly in the AlsaModularSynth.
I tried to use the same color cables as in the modular patch
- Yellow are gate & trigger signal
- Green are frequency signals
- Red is audio
- Blue are envelope signals

Just have a look at the different setting and listen how they change the sound Smiley
A very simple patch with a rather good sound/



* modular1.jpg (132.73 KB, 789x632 - viewed 902 times.)

* patch1.jpg (71.09 KB, 1024x768 - viewed 867 times.)
* patch1.zip (173.28 KB - downloaded 451 times.)
Logged

_____oOo______ http://www.myspace.com/kaazduo

www.kara-moon.com, a site built by and for musicians
Support us at : http://www.mymajorcompany.com/Artistes/kaaz/
Oren
Moderator
Kara-Moon Master
*****
Posts: 5444


...just looking for clues...


« Reply #1 on: March 08, 2008, 09:11:42 AM »

Am I to get the impression that the AlsaModularSynth can re-create any hardware modular synthesizer?
Logged

kara
Kara-Moon, a site built by and for musicians
Global Moderator
Kara-Moon Master
*****
Posts: 4907


Music is my middle name


WWW
« Reply #2 on: March 08, 2008, 09:43:53 AM »

You are right, it is the definition of modular synths  Cool

Stay tuned, other examples are comming  wOO

k


Am I to get the impression that the AlsaModularSynth can re-create any hardware modular synthesizer?
Logged

_____oOo______ http://www.myspace.com/kaazduo

www.kara-moon.com, a site built by and for musicians
Support us at : http://www.mymajorcompany.com/Artistes/kaaz/
folderol
Kara-Moon Master
****
Posts: 5306

Who? Me?


WWW
« Reply #3 on: March 08, 2008, 01:17:13 PM »

I never had much of a look at AMS, maybe I should think again Wink
Logged

If you have a poem, I have a tune, and we exchange these, we can both have a poem, a tune, and a song.
- Will
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.05 seconds with 20 queries.