Fucking Linux Audio

I've been using the python library "Mingus" to help compose the note sequence for the Whitney Music Cart. You can use python and Mingus to compose a piece of music and generate

This opens up the problem of how to get all these parts working. These are the steps that I figured out how to get it working on my Depbian 9 system.

First shut down pulse audio with "pulseaudio --kill". Pulse audio is the low performace audio server that most desktop applications use. Everyone wants to use jackd, a supposedly high performace audio server.

For many applications, jackd might be overkill. All the documentation assumes that you are using it though, so hey why fight it. Just use jackd so you can stop doing sysadmin and can get on with the business of art and music.

Then run: "jackd -d alsa --device hw:0,0 --rate 44100 --period 128"

Then run "fluidsynth --server --audio-driver=jack --connect-jack-outputs /usr/share/sounds/sf2/FluidR3_GM.sf2" to get midi

Then run rosegarden or whatever else you need. It's a bit confusing how to setup the midi output. You need to configure the what they call "studio". This is basically the midi setup you have at your desktop.

To set this up, go to the menu "Studio->Manage Midi Devices" and select fluid synth as your output.

You should now be able to create a MIDI file, open it in Rosegarden for analysis, and finally play the results.

social