how to connect additional soundcards to your jack setup

Nikolaus Gradwohl2017-11-29T07:55:13+01:00

alsa_in

Many hardware synthesizer come with an USB port these days and some of them even connect as a soundcard, allowing you to route the audio from the synth directly to your daw without wasting an input on your soundcard. And sometimes you want to record something using an USB microphone or USB Guitar cable.

To connect such devices to my DAW via jack on linux I created a little startup script that runs every time I start Bitwig Studio to make sure all the external devices are connected. I use alsa_in - a command line tool that allows you to connect an additional alsa sound card. a2jack needs some parameters like the device name, sampling rate or buffer size to use and starts a process. Then it starts a process that listens to the alsa device and forwards the input to jack by connecting as a jack client application with some inputports. These ports can be configured as input routes in your daw like Bitwig or ardor - just like you would do with an input channel on your main sound-card.

To route audio from your daw to the output of an second sound you can use alsa_out

My music startup script connects the audio interface of my Yamaha MX61 and an usb-soundcard, that is connected to my Korg KaosPad Mini, so I can use it as an external effects processor in bitwig-studio

alsa_in -j "MX61" -d hw:CARD=MX49MX61,DEV=0 -r 44100 -p 256 &
alsa_in -j "FX" -d hw:CARD=Device,DEV=0 -r 44100 -p 256 &
alsa_out -j "FX" -d hw:CARD=Device,DEV=0 -r 44100 -p 512

You can get a list of the available alsa device names by running the command

aplay -L

Unfortunately the USB soundcard I use always selects the microphone input when it is plugged in or my computer restarts. To fix this I use the amixer command to change the capture channel to line and mute it - so I don' t generate feedback loops (I spent hours finding out where that distortion came from :-/)

amixer -D "hw:CARD=Device" cset numid=11 on # Line capture on
amixer -D "hw:CARD=Device" cset numid=5 off # Line mute

you can get a list of supported controls and their id by a running

amixer -D "hw:CARD=Device" controls

just replace "hw:CARD=Device" with the device identifier of your sound interface.

read more ...

new Track: Glipse of worlds that might be

Nikolaus Gradwohl2017-11-28T07:13:51+01:00

a mix of analog and digital synths, plugins, samples, passion, fragments of half remembered dreams and an arpeggiator.

and yes - I'm in a slightly wired mood today

and also yes - this is the blender default cube - with beveled edges, floating slightly above a plane with a diffuse shader and a sun light with a size of 0.8 rendered in cycles

glimpse of worlds that might be

read more ...

new Song: Walk in the Rain

Nikolaus Gradwohl2017-11-21T09:23:38+01:00

A first electronic, ambient track recorded with my new Waldorf Blofeld with a little help from the Moog Mother32 and the Novation MiniNova.

Oh! And did I mention? I got a new Synthesizer... :-)

walk in the rain

read more ...

Processing and Blender Sound Visualizer for Magical Dreams

Nikolaus Gradwohl2017-09-29T07:51:40+02:00

I finally managed to finish a project where I could combine most of the tools I love and use. I created a processing sketch to visualize the stereo correlation of my song "Magical Dreams", exported the frames and used blender to create an animated highfield based on the brightness of the images. Then I rendered these frames and combined them to a video with the original track exported from bitwig.

Hmmm ... maybe a bit more complicated than needed, but that's one of advantage of a hobby project - you don't have to justify yourself for inefficient processes and toy around as long as you want to :-)

Magic Dreams

read more ...

new Song: Still Awake

Nikolaus Gradwohl2017-09-27T07:14:31+02:00

I finally found the time to sit down and arrange and mix one of the song fragments that are waiting on my harddisk. I'm currenly very tired after a week full of nightshifts, overtime and bughunting but I'm still awake ... (ok not the best song title ever, but my thoughts are still a bit fuzzy - did I mention sleep deprivation?)

Still awake

read more ...

How to modulate Midi-CC values in Bitwig Studio

Nikolaus Gradwohl2017-09-15T06:26:53+02:00

to make a synth line played on a hardware synth more interesting you can modulate some parameters like filter cutoff, decay time, etc using a midi cc value. This can be done using bitwig studio by either using a automation lane sending the cc value or by using the cc device.

To use an automation lane simply click on the "Show automation lane" icon and select the controller value you want to send in the "midi" section

bitwig cc lfo modulation

then draw the cc values in the lane you just created. I used this technique in my latest song to create the filter cutoff of the highpass filter on my moog mother32 for example

bitwig cc lfo modulation

The second version uses the "Midi CC" device. With this device you can use bitwig's brilliant modulation sources to create the cc you want do send. You could combine several modulation sources like lfos step sequencers etc to influence your sounds.

read more ...

SonicPI + Volca Jam

Nikolaus Gradwohl2017-08-26T19:34:38+02:00

I recorded a SonicPI live jam exploring the new midi functionality. I used my Volca Keys, Volca Bass and Volca Sample for the recording.

SonicPi Livejam

read more ...

New Track: Drops in the Dark

Nikolaus Gradwohl2017-07-12T06:58:30+02:00

I recorded a new track featuring my mother32, 0-Coast, Streichfett and the repro1 recorded and mixed using bitwig-studio

Drops in the Dark

read more ...

Semimodular meets SonicPI

Nikolaus Gradwohl2017-05-15T07:15:40+02:00

This is a recording of a livecoding jam with the latest developmentversion of sonicPI. I used the new midi functionality to control my Moog Mother 32 and my Makenoise 0-Coast.

Semimodular meets SonicPI

read more ...

Battle of the Bass-Machines

Nikolaus Gradwohl2017-05-08T07:48:43+02:00

Korg Volca Bass vs Roland TB-3

a battle of the Bass-Machines recorded and mixed using Bitwig-Studio

Battle of the Bass-Machines

read more ...