http://linuxmusicians.com/viewtopic.php?f=47&t=12922
Mint 17 + KXStudio + Audio Related installation HOWTO
*DISCLAIMER, EVERYTHING HERE PERFORMED AT YOUR OWN RISK. IF UNCERTAIN, RATHER EXPERIMENT ON A NON-ESSENTIAL SYSTEM IN CASE ANYTHING GETS BROKEN. SOME OF THE PROCEDURES OUTLINED MAY NOT BE ACCURATE OR UP TO DATE SO USE DISCRETION BEFORE EXECUTING.
Linux Mint + KXStudio HOWTO v0.0.3
INDEX
1. Choosing a Linux OS
2. Choosing an audio base distribution / repository
3. Audio Hardware
4. Basic Computer Hardware Requirements
5. Basic OS Configuration required in order to get audio related hardware and software to work
6. A list of current and still in development basic audio software building blocks
7. Linux Mint customisation Instructions
7.1.1 Performance tuning for Wine & WineASIO
7.1.2 Using chrt to alter the scheduling policy and priority of the wineserver process
7.2 Stress testing Carla in order to locate issues and improve system performance
8. KXStudio installation instructions
9. Jackd installation instructions
10. Setting up the audio interface in jackd
11. Disabling Pulseaudio (if required)
12. KXStudio Usage & HOWTO
12.1 Cadence - danboid's manual http://wiki.linuxaudio.org/wiki/kxstudio_manual
12.2 Carla
12.3 Catia
12.4 Claudia
12.5 Distrho plugins for KXStudio (related project)
12.6 Using jalv to load a single lv2 instrument
12.7 xxxxxxxxxxx
13. Installing audio packages and plugins from Ubuntu or KXStudio Repositories
13.1 ALSA Modular Synth
14. Installing additional audio packages and plugins
14.1 Installing Linuxsampler
14.2 Installing X42 https://github.com/x42/x42-plugins
More here https://github.com/x42/midifilter.lv2/b ... /README.md
14.3 Semantic plugins
14.4 Infamous plugins
14.5 Qmidinet
14.6 Jackass
14.7 Additional Plugins
14.8 Yet Moar Plugins
14.9 AMS (ALSA Modular Synth) Plugins
14.10 Aeolus Pipe Organ
14.11 Denemo (Lilypond GUI)
15. Plugins available for Linux
15.1 List of plugs from Fedora Jam https://fedoraproject.org/wiki/Fedora_j ... _Utilities
16. The names and locations of important and oft used logfiles for diagnostic purposes
17. The names and locations of important audio related configuration files
17.1 Jackd, Cadence, ALSA, Pulseaudio
18. KXStudio usage examples
18.1 Using Rosegarden Sequencer & Carla to play MIDI files to a Fluid R3 virtual GM soundmodule
18.2 Continuation of 18.1 + addition of Guitarix for guitar signal processing
19. Misc useful Audio Related Guides
19.1 Jack networking tutorial by tangerine: http://www.linuxmusicians.com/viewtopic ... 818#p55283
19.2 Wine & WineRT notes by tangerine: http://www.linuxmusicians.com/viewtopic ... 47&t=12832
20. Known issues, bugs, missing or desired features
20.1 Carla & MIDI Omni (Currently MIDI channels cannot be muted inside Carla when using a soundfont plugin such as Fluid R3, adding per channel MIDI mute is being considered)
20.2 Cadence not always starting jack (possible jackdbus issue?)
21. Issues / Bugs
21.1 Linux Mint OS Problems
21.2 apt / dpkg packager issues
21.3 Audio Application Problems
21.3.1 Rakarrack Distortion Problem in version 0.6.1
21.4 Spyware issues
22. Additional Music Software of interest
22.1 Nootka Guitar Training http://nootka.sourceforge.net/index.php?L=en&C=about
22.2 Lilypond Scoring http://lilypond.or
22.3 Denemo Scoring http://www.denemo.org/
22.4 Puredata Extended Installation on LM17
22.5 Ingen http://drobilla.net/software/ingen/
23. Hardware Hacking
23.1 Linux Audio on USB TV Stick devices
23.2 Linux Mint on a Macbook + USB Flash Drive
23.3 Running multiple audiocards in Jackd
24. Tips and Tricks
24.1 Festige and startup scripts
25. TBD
Contents
1. For this HOWTO Linux Mint is being used because it's developed on a mature codebase (Debian / Ubuntu) which has a lot going for it, it is user friendly and afaik is not crammed with spyware and proprietary developments as is increasingly becoming the case with Ubuntu. There are alternatives like Arch Linux. I'm not familiar with it and hence cannot provide Arch specific information. (If any Arch users would like to write it up I'll happily add it)
2. Two of the main distros out there which work well are AVLinux and KXStudio.
AVLinux is developed on a Debian platform and released as a full distribution. KXStudio is Ubuntu based and released as a full distribution. The aim of this particular HOWTO is to "roll one's own" using Linux Mint + adding the KXStudio Environment to it.
3. Audio Hardware.
There's a (somewhat lacking in details?) list of audio hardware for Linux listed at the ALSA project.
http://www.alsa-project.org/main/index.php/Matrix:Main
From personal experience an Edirol UA-25 appears to work (audio & MIDI) with Jackd. A Behringer UMC404 also appears to work (audio & MIDI). I've not made a serious attempt to use the Behringer at higher samplerates (> 48000) and I haven't done extensive testing with it. On my slow computer it experiences the occasional xrun during normal usage and clicking around but so far, so good.
If you have any experience with other audio devices, please confirm whether audio / MIDI works under jack and I'll add them to the list.
Carefully consider what soundcard will best suit your needs. Audio Device support under Linux is unfortunately not as good as under Windows and OSX. Pay attention to what sample rates are supported and whether the soundcard will function at 24bit which gives a wider dynamic range.
4. Basic Hardware requirements.
A reasonably modern PC with at least 4GB of RAM.
One of your biggest enemies under Linux + Jack is xruns. In order to keep these to a minimum you want a suitable audio interface, the fastest disk drive you can afford (7200 rpm or a SSD) to speed up system IO and you should then also look at whether your system's performance can be improved via system tuning. Mounting partitions with the "noatime" setting may or may not slightly improve disk IO.
5. Basic OS Requirements
In this case we're using Linux Mint 17. You should preferably use the 64bit version. The 32bit version appears to be suffering from some small glitches which were probably introduced by Ubuntu. (dropcaches issues, slowdowns during updates etc).
6. Basic Software Components:
Rosegarden, Ardour, KXStudio software suite, Jackd, Wine-rt, Denemo / Lilypond (scoring), Audacity, Rackarrak, Guitarix, Linuxsampler and many more.
7. Mint Customisation
Standard Linux distributions don't come with Jackd (essential for responsive, low latency audio) or lowlatency kernels and these need to be added. A realtime kernel used to be available but it appears to have since been superceded by the lowlatency kernel for various technical and maintenance reasons. As far as I know one can install different versions of the lowlatency kernel on one's system. Personally I'd stick to using the latest stable release versions.
Installing jack
*NOTE, before running this you may also rather want to look at the installing KXStudio section where I've used jackd2 instead. Afaik falkTX uses jackd1
Before running this first determine whether you're planning on using jack1 or jack2
Code: Select all
apt-get install jackd jackd1 pulseaudio-module-jack a2jmidid qjackctl
The lazy way
Code: Select all
sudo apt-get install linux-lowlatency
Download the required .deb files from here, try sticking to the kernels for your particular release version of Ubuntu (14.04 for example) or else you may run into complications down the road.
http://kernel.ubuntu.com/~kernel-ppa/mainline/
Download the latest stable versions of:
(You'll have to substitute the 32bit versions for the amd64.deb files if you're using a 32bit installation)
linux-headers____all.deb (for both 32-bit and 64-bit)
linux-headers____amd64.deb (64-bit)
linux-image______amd64.deb (64-bit)
Installation order (IMPORTANT, follow this order only)
1. linux-headers____all.deb
2. linux-headers____amd64.deb
3. linux-image______amd64.deb
#dpkg -i linux-headers____all.deb
#dpkg -i linux-headers____amd64.deb
#dpkg -i linux-image______amd64.deb
Install all these packages without rebooting.
Update the GRUB bootloader (in case this wasn't already done)
Code: Select all
update-grub
Code: Select all
shutdown -r now
Code: Select all
uname -a
In case you wanted to remove the newly installed kernel identify the relevant packages
Code: Select all
dpkg --get-selections | grep linux-headers
dpkg --get-selections | grep linux-image
Code: Select all
apt-get remove --purge linux-headers____all.deb linux-headers____amd64.deb linux-image______amd64.deb
update-grub
Further tweaks
1 - add your username to the audio group and disk group
Code: Select all
sudo usermod -a -G audio `whoami`
sudo usermod -a -G disk `whoami`
Run these as root user or use sudo
*replace "username" with your own user
Code: Select all
echo "@audio - rtprio 90" >> /etc/security/limits.conf
echo "@audio - memlock unlimited" >> /etc/security/limits.conf
echo "username soft nofile 100000" >> /etc/security/limits.conf
echo "username hard nofile 100000" >> /etc/security/limits.conf
cat /etc/security/limits.d/audio.conf
In case the entry doesn't exist, add it
Code: Select all
echo "@audio - rtprio 90" >> /etc/security/limits.d/audio.conf
echo "@audio - memlock unlimited" >> /etc/security/limits.d/audio.conf
Add this line
Code: Select all
echo "session required pam_limits.so" >> /etc/pam.d/common-session
Code: Select all
ulimit -n
ulimit -a
cat /proc/sys/fs/file-max
To reduce xruns use performance mode instead of the ondemand setting
Code: Select all
#!/bin/bash
echo -n performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo -n performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Alternatively, there are other ways to change your CPU Frequency either via a taskbar widget or some kind of startup script.
6 - Ensure that realtime priority is set to a high value ie > 85 in Cadence or Qjackctl
7 - Experiment with setting the soundcard Periods to 3
8 - Try setting the CPU Scheduler Policy to FIFO and priority to a high value > 90 (Experiment)
7.1.1 Performance tuning for Wine and WineASIO
It can be a challenge to prevent xruns when running Windows VST instruments in Carla. Here are some things to check and set to improve the situation
In order to get better Wine performance for Windows VST plugins you should use wine-rt (realtime). In order to get this installed you'll need to remove previous wine versions which may already be present on your system.
Check what's installed
Code: Select all
updatedb
dpkg --get-selections | grep wine
locate libwine
Code: Select all
apt-cache search wine-rt
Code: Select all
dpkg -r wine1.7 wine1.7-i386
Code: Select all
dpkg --get-selections | grep wine
Code: Select all
apt-get --purge remove wine1.7
apt-get --purge remove wine1.7-i386
List packages in "deinstall" state
Code: Select all
dpkg --get-selections | grep deinstall | cut -f1
Code: Select all
dpkg --purge `dpkg --get-selections | grep deinstall | cut -f1`
Code: Select all
apt-get update
Code: Select all
apt-get install wine-rt winetricks
The installation may fail on Debian if previous wine versions weren't first removed.
Check what wine versions are now installed
Code: Select all
dpkg --get-selections | grep wine
Another potential tweak to improve performance is via this method described by tangerine
http://www.linuxmusicians.com/viewtopic ... 47&t=128321. Wine performance for real-time audio is possible to improve by increasing priority of the "wineserver" process. You can do this directly from the System Monitor, right-clicking on "wineserver", choosing "Set Priority" and then switching CPU Scheduler to "FIFO". I went from ~92% DSP load with peaks causing xruns every few seconds to stable 77%, no variation, no peaks, no xruns.
7.1.2 Using chrt to alter the scheduling policy and priority of the wineserver process
In an attempt to reduce xruns and boost wineserver performance we're going to bump it to a higher scheduling priority and make use of the FIFO scheduling policy instead.
View wineserver's current settings
Run as your userid
Code: Select all
chrt -p `ps -ef | grep wineserve[r] | awk '{print $2}'`
Let's change SCHED_OTHER to SCHED_FIFO and priority to 95 (You'll have to experiment with priority values)pid 3103's current scheduling policy: SCHED_OTHER
pid 3103's current scheduling priority: 0
Code: Select all
sudo chrt -f -p 95 `ps -ef | grep wineserve[r] | awk '{print $2}'`
Code: Select all
chrt -p `ps -ef | grep wineserve[r] | awk '{print $2}'`
Check whether or not this reduces xruns on your system.pid 3103's current scheduling policy: SCHED_FIFO
pid 3103's current scheduling priority: 95
In case you wanted to set wineserver back to its original values
Code: Select all
chrt -o -p 0 `ps -ef | grep wineserve[r] | awk '{print $2}'`
Changing the scheduler policy and priority has not fully resolved xrun issues on my system so your mileage may vary.
Here are some settings for reasonable results I've been able to achieve with Synth1 VST + Wine-RT. The odd xrun still occurs and the system is not stable enough for live use of Windows VST's.
Jack Realtime Priority 85 (you can vary this number)
Sample Rate 48000
Buffer 256
Periods 3
WineASIO buffer size setting in *Cadence 256
CPU Scaling set to Performance
wineserver scheduling policy set to SCHED_FIFO and scheduling priority set to 99
*I'm experiencing mixed results on my particular system using Cadence. You could use Qjackctl or start jackd from the command line as an alternative, in case needed.
Further info on wine-rt
http://repo.or.cz/w/wine-rt.git/blob/wi ... ME.WINE-RTWhat is it?
2 The Wine-RT patch allows programs that use windows' concept of thread priority to gain similar functionality under linux. It maps windows priority levels to linux scheduling policies. THREAD_PRIORITY_ABOVE_NORMAL, THREAD_PRIORITY_HIGHEST and THREAD_PRIORITY_TIME_CRITICAL levels which are made to run as linux SCHED_FIFO threads at priority levels that are defined by the WINERT variable. THREAD_PRIORITY_NORMAL threads are run as normal linux threads (as all threads are without the patch), and the priorities below normal (THREAD_PRIORITY_BELOW_NORMAL, THREAD_PRIORITY_LOWEST) are run as SCHED_BATCH. THREAD_PRIORITY_IDLE threads are run as SCHED_IDLE.
3 Windows' concept of priority classes is not implemented at all.
4
5 Please note that threads running SCHED_FIFO might hang your entire system, so please exercise caution!
6
7 How does it work?
8 When a windows program asks for a thread to be run at a higher priority, Wine will ask the linux system to schedule it as a SCHED_FIFO thread, which means that the tread will keep on executing until it has either finished, voluntarily yields execution or gets preempted by a higher priority SCHED_FIFO thread. This is already done by many linux audio applications, to ensure less xruns on lower buffer sizes. With Wine-RT, the same thing can be done for Wine applications.
9
10 How to use it?
11 The Wine-RT functionality is not enabled by default. Instead it is controlled by 2 environment variables "WINE_RT" and "WINE_SRV_RT".
12
13 The "WINE_RT" variable has 2 purposes, it has to be set in order to activate the patch, and it determines the priority of the SCHED_FIFO threads, Its value can be set from 1 to your system's rtprio max value minus 10, as set in limits.conf or limits.d/audio.conf. (In Debian, Ubuntu and KXStudio this value is 99). THREAD_PRIORITY_ABOVE_NORMAL threads will run at this priority level, THREAD_PRIORITY_HIGHEST threads at this level + 5, and THREAD_PRIORITY_TIME_CRITICAL threads at this level + 10.
14
15 WINE_SRV_RT makes the wineserver main thread run SCHED_FIFO. Valid values range from 1 to your system's rtprio max value.
16
17 We can set these variables in 2 simple ways.
18 First one is using a terminal with "exports", like this:
19 export WINE_RT=#
20 export WINE_SRV_RT=#
21 wine <app>
22
23 or just prefix your application with 'env VARIABLE=value', like this:
24 env WINE_RT=# WINE_SRV_RT=# wine <app>
25
26 A recommended starting point might be "env WINE_RT=15 WINE_SRV_RT=10 wine appname.exe".
7.2 Stress testing Carla in order to locate issues and improve system performance
It's useful to conduct load tests on system components in order to show up previously hidden issues which impact system performance.
One simple but effective test (at least, it is effective on my low powered system) is to run Obxd in Carla and to select the 006_BzPAD_Bright Wave patch.
(Refer to section 12.6 dealing with Obxd and jalv and follow the URL's listed there to obtain and install the Obxd patch bank)
The 006 Bright Wave patch appears to be a resource killer and xrun instigator whilst the other patches aren't as aggressive.
Checklist of possible causes
- #1 Check Cadence and whether the CPU Scaling Governor has been set to Performance Mode. Ondemand mode = xrun hell. This problem may not manifest itself under lighter load conditions but sooner or later you'll probably run into it.
- #2 Check your Soundcard settings and experiment with different Sample Rates, Buffer Sizes and Periods
- #3 use "top" to determine whether any processes are actively chewing up your system resources
- #4 Disable Wifi (this can sometimes cause issues)
- #5 Check that Realtime priority in Cadence or Qjackctl is set to > 85
- #6 .................
8. KXStudio Installation on Mint 17
Perform this as root user or use the sudo method (I don't bother, just sudo su - and perform the required maintenance work).
NOTE - THESE INSTRUCTIONS ARE FOR LINUX MINT, IT MAY NEED TO BE SLIGHTLY DIFFERENT FOR DEBIAN OR UBUNTU BUT SINCE I DON'T USE THESE I CANNOT VERIFY WHETHER OR NOT IT WILL WORK PROPERLY.
BEFORE RUNNING THIS, CONSIDER WHETHER YOU WANT TO USE JACKD1 OR JACKD2. YOU'LL HAVE TO MODIFY THE INSTRUCTIONS BELOW ACCORDINGLY FOR JACKD1.
Full KXStudio Installation on Mint 17
Code: Select all
apt-get -y install software-properties-common wget
add-apt-repository -y ppa:kxstudio-debian/kxstudio
apt-get update && apt-get upgrade
apt-get -y install kxstudio-repos
apt-get update
apt-get -y install libjack-jackd2-0 qjackctl
apt-get -y install jackd2
apt-get -y install kxstudio-desktop-base
apt-get -y install kxstudio-meta-all
apt-get update && apt-get upgrade
9. JACKD installation
Refer to section 7 and 8
To list available audio devices
Playback
Code: Select all
aplay -l
Recordingcard 2: UMC404 [BEHRINGER UMC404], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code: Select all
arecord -l
Code: Select all
cat /proc/asound/cards
Starting jackd from terminal example2 [UMC404 ]: USB-Audio - BEHRINGER UMC404
BEHRINGER BEHRINGER UMC404 at usb-0000:00:12.2-4, high speed
Code: Select all
jackd -R -P85 -dalsa -dhw:2 -r48000 -p256 -n3 -Xraw
Terminal 1
Code: Select all
jackd -R -P85 -dalsa -dhw:2 -r48000 -p256 -n3 -Xraw
Code: Select all
a2jmidid
Code: Select all
kill -9 `ps -ef | grep jac[k]d | awk '{print $2}'`
kill -9 `ps -ef | grep jac[k]dbus | awk '{print $2}'`
In case xruns appear regularly you'll need to adjust your jackd settings to something more conservative. Also ensure that your cpu was set to performance mode.JackEngine::XRun: client = audacious-jack_24145_000 was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Example: Achievable Jackd settings (no xruns) with an Edirol UA-25 + Core2Duo 2.4 Ghz laptop. Mp3 playback to jackd via Audacious test.
Code: Select all
jackd -R -P85 -dalsa -dhw:2 -r48000 -p128 -n3 -Xraw
No xruns.Using ALSA driver USB-Audio running on card 2 - EDIROL UA-25 at usb-0000:00:1a.1-1, full speed
configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 24bit little-endian
UMC404
Code: Select all
jackd -R -P85 -p16 -dalsa -dhw:2 -r48000 -p128 -n3 -Xraw
No xruns.Using ALSA driver USB-Audio running on card 2 - BEHRINGER BEHRINGER UMC404 at usb-0000:00:1a.7-3, high speed
configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
10. Audio Hardware setup
UMC404 possible configuration settings in Cadence or Qjackctl
This seems to work relatively well
Samplerate 48000
Buffer 256
Periods 3
Realtime Priority 85
Remember to set the realtime priority in Qjackctl or on the Engine Tab of Cadence's settings to 85 (instead of the default 10)
The Edirol UA-25 should also work without major dramas or struggles using the default indicated devices in qjackctl or Cadence.
In order to have working MIDI controller input remember to select the ALSA Raw-MIDI driver.
11. Disabling / Enabling Pulseaudio (if required)
As your user
Code: Select all
pulseaudio --kill
pulseaudio --start
autospawn = no
12. KXStudio usage and HOWTO
12.1 Cadence - danboid's manual http://wiki.linuxaudio.org/wiki/kxstudio_manual
12.2 Carla
Carla is KXStudio's plugin host which can host a number of plugin formats including Windows (through Wine) & Linux Native VST's, DSSI, LADSPA, LV2, SF2, SFZ, GIG, and AU. Carla-wine has deprecated the use of FeSTige although there may be cases where FeSTige may still come in handy.
Although certain applications such as Ardour and Rosegarden can natively handle some (usually not all) of these plugin formats it may make more sense to leave plugin hosting to a third party such as Carla instead due to the difficulties involved in making plugins work in Ardour & Rosegarden. In some cases there's no choice since they don't support all the formats.
Carla provides a simulated instrument and effects unit rack environment as well as an audio and midi patchbay environment in which to collect, organise and connect supported virtual devices.
Basic Usage
Start jackd (manually, through qjackctl or Cadence)
Start Carla
Add the required plugin through the +Add Plugin button.
Click on the Patchbay tab to connect the devices' respective MIDI & Audio signal chains.
The paths to the various plugins can be set in Settings, Configure Carla, Paths
To scan for and update the list of available plugins, click the +Add Plugin button, click Refresh, under "Search for new", select all required types to search for, Click Start. Carla will now update its inventory. In case the process hangs, see on which plugin Carla has stopped processing. You probably want to move the offending package out of Carla's search area before attempting another scan. Once the scan is complete the inventory of devices will be updated and the Refresh screen can be closed.
Tick or untick the required device types, this can be useful to make the display less cluttered when searching for a specific device.
Double Click on the required device, this will add it to the rack.
Your virtual device is now loaded in the rack and you are not presented with a virtual 1U sized box.
- On the far left is the "Power" button to enable / disable the device. On the far right is a status LED which is lit when "on" and doesn't shine when "off".
- The "Gear" button is used to access the User Interface (if present) for the device.
- The "Spanner" button is used to access the Carla hosts's configurable settings for the device.
Control Section
- The Control section (MIDI Control) is useful for enabling or disabling MIDI control messages.
- By setting it to "N" it will disable incoming MIDI control messages which could be useful if you don't want your sequencer to re-adjust the Master Volume on the device every time you restart playback. (For example, when your midifiles have volume control change messages set at the beginning)
- Instrument Patches can sometimes also be loaded from this section but the patch loading implementation in Carla is currently not 100% complete for all devices. In some cases it will be available, in some cases it won't.
- You can filter certain kinds of MIDI events, for example piano aftertouch (this can produce annoying effects with certain piano samples which were incorrectly programmed to respond to aftertouch messages).
- MIDI Channel muting isn't currently available but falkTX is considering implementing it.
- The first LED (on the right hand side) shows control change activity when for example sliders or buttons on the virtual instrument or effects unit are manipulated.
- The second LED lights up red when midi activity (through an attached MIDI keyboard for example) is generated. It can also stay lit up solidly when you experience multiple xruns. (Meaning you'll need to correct soundcard issues in Qjackctl or Cadence)
- The third LED shows ..... (function currently unknown)
- The fourth LED indicates system power on / off state
The Patchbay TAB
The Patchbay section is where you make your virtual audio & MIDI connections.
Typical usage example #1
You are running Cadence to start jackd, you have also started the ALSA MIDI bridge (aj2mid?) in Cadence, you have then started Carla and loaded the Obxd synth.
You click on Patchbay and you're presented with the canvas environment in which to make your virtual connections.
You connect the midi_capture device (this represents your keyboard controller) to the Carla Obxd:events-in device in order to establish a MIDI link between your MIDI controller Keyboard, Soundcard, JACKD and your Virtual Instrument running in Carla's rack. (Hmmm... that does sound a tad ambiguous).
You connect the Carla Obxd:Audio Outputs to System (Jackd to your soundcard) playback1 and 2.
Click on the Plugins Tab again. Press keys on your MIDI controller. The second LED should light up red and you should be seeing activity in the bars next to the volume knob showing output levels.
Typical usage example #2
You're basically doing the same as above but you're also making use of Rosegarden Sequencer and you'd like to output MIDI instructions from Rosegarden for playback in a virtual GM soundmodule running in Carla.
For instrument, you'll need to load some kind of GM soundmodule. FluidR3 sf2 is useful for this. You may need to hunt for it on the Internet and install it in the soundfonts location so that Carla can detect it and add it to its inventory.
Once this has been loaded, you need to make use of the MIDI through interface in Rosegarden. Assign this to its MIDI hardware device. If you cannot find it, you probably didn't remember to start it when you started jack through Cadence. (ALSA Midi, Start ALSA Midi Bridge). In the Carla patchbay you'll need to select (capture): Midi Through and connect this to the Carla FluidR3 GM:events in MIDI Interface.
In order to get around the "loud volume" problem in Fluid R3 whenever you restart a song, set the MIDI Control Channel for Fluid R3 to "N" so that it blocks volume adjustment commands to the module.
Saving setups
- You can save the state of the device in Carla by clicking on the Spanner icon and clicking "save state". (May or may not always be available)
- You can save the state of the Carla Project by clicking on "Save As" in the taskbar. The setup you created can be reloaded by using Open or by clicking on the location displayed in the file browser displayed on the left of your screen. (Carla 2)
MIDI Stuck Notes problem
- Stop sequencer. Click Carla Panic button
12.3 Catia
Catia presents the same patch canvas framework as is available in Carla for making MIDI & Audio connections between devices and Jackd.
This is useful for connecting other audio applications (outside the scope of Carla) such as Linuxsampler to your MIDI and Audio Interfaces and jackd.
12.4 Claudia
[Currently clueless about it... if anybody has something to contribute I'd be happy to add it]
12.5 Distrho Project
This is a KXStudio sideproject aimed at collecting and providing virtual instrument and effects devices for use in KXStudio and related environments.
- Currently available plugins and ports
http://distrho.sourceforge.net/plugins
http://distrho.sourceforge.net/ports
Installation instructions
Code: Select all
sudo apt-get install distrho-mini-series distrho-mverb distrho-nekobi distrho-prom distrho-plugin-ports
sudo apt-get install arctican-plugins dexed drowaudio-plugins juced-plugins klangfalter obxd pitcheddelay tal-plugins wolpertinger
sudo apt-get install easyssp lufsmeter luftikus
12.6 Using jalv to load a single device
You need to install jalv
Code: Select all
sudo apt-get install jalv lilv-utils
Code: Select all
jalv.gtk https://obxd.wordpress.com
To get the Obxd presets to show up in Carla and in jalv you'll need to extract them to ~/.lv2/obxdI use jalv.gtk (from Arch Linux package jalv) to run an individual LV2 plugin as a standalone program.
jalv.gtk is run from the command line. The basic syntax is:
jalv.gtk PLUGIN_URI
where PLUGIN_URI is a unique identifier for the plugin that can be found by using the lv2ls command:
$ lv2ls
http://code.google.com/p/amsynth/amsynth
http://kunz.corrupt.ch/products/tal-noisemaker
https://obxd.wordpress.com
To run Obxd, I enter the following:
$ jalv.gtk https://obxd.wordpress.com
Obxd-01
The File menu has a Save option that saves the current state of the plugin. The user is prompted for a directory (folder) name; the specified directory is created with two files within it: manifest.ttl and state.ttl. The saved state can be restored when starting jalv.gtk from the command line by specifying the –load option (with two dashes). For example, I saved the state of Obxd as folder Obxd00 in my home directory and restored it like this:
$ jalv.gtk --load ~/Obxd00 https://obxd.wordpress.com
The Presets menu has a Save Preset… option to save the current settings as a preset (by default, to directory ~/.lv2/). The remainder of the Presets menu lists the available presets for the current plugin. Presets saved in the current session are not available until jalv.gtk is restarted.
jalv.gtk automatically assigns a unique JACK name to each instance of the same plugin (e.g., Obxd, Obxd-01, Obxd-02).
You can then view them in the Window created by jalv or by using the Load State button in Carla's Device Editor.
13 Installing Audio Applications from Ubuntu or KXStudio Repositories
13.1 ALSA Modular Synth
http://alsamodular.sourceforge.net/
http://linuxformat.co.uk/wiki/index.php ... _Synthesis
Code: Select all
sudo apt-get install ams fomp mcp-plugins qmidiarp qmidinet qmidiroute
Also refer to section 14.9 for additional plugins
To use ALSA Modular Synth
type "ams" in the terminal to launch ams
For instant gratification sounds, load example_ams_demo.ams and connect ams's outputs to system to hear the audio output.
14. Installing additional music related software
14.1 Linuxsampler http://linuxsampler.org
Linuxsampler is a useful audio application which can be installed via KXStudio's repositories.
Alternatively it can be compiled manually. In case you needed to do this for some reason, here are some quick and dirty scripts to compile and install it. There may be issues with them, they may not fully work on your particular system. They seem to work on my Linux Mint 17 32bit system. Your mileage may vary. Don't just blindly execute these scripts. Read each script and check it to see if they will suit your needs & purposes and alter them if and where necessary.
I've divided the installation process into three scripts.
Script 1 installs the required dependencies.
Script 2 compiles libgig, without which Linuxsampler cannot be installed.
Script 3 installs libgig and compiles and installs Linuxsampler, the Qsampler Front-End, and Gigedit.
Copy and paste the contents into textfiles (called something like 01_linuxsampler_builder.sh, 02_xxxxxxxxx.sh, 03_xxxxxxxxx.sh) in vi or gedit, set the scripts to executable (chmod 755) and execute them as your local user.
Script 1
Code: Select all
#!/bin/bash
#Install prerequisite packages for building linuxsampler, libgig, qsampler, gigedit on Linux Mint 17
sudo apt-get install subversion g++ debhelper pkg-config automake libtool fakeroot libsndfile1-dev doxygen uuid-dev lv2core lv2-dev bison libjack-jackd2-dev flex build-essential libqt4-dev liblscp-dev libx11-dev x11proto-core-dev intltool libgtkmm-2.4-dev xsltproc
Code: Select all
#!/bin/bash
#Clone sourcecode from subversion repository to local computer
#Install subversion if not already present with: sudo apt-get install subversion
#Obtain libgig, linuxsampler, qsampler, gigedit sources
svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig
svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler
svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler
svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit
#Compile libgig first
cd libgig
dpkg-buildpackage -rfakeroot -b
cd ..
ls libgig-* libgig6* gigtools*
rm *.changes
echo "If you see 3 .deb files in the folder, proceed with installing them"
echo "Now proceed to 03_linuxsampler_builder.sh script to install the libgig libraries and to compile and install Linuxsampler, Qsampler and Gigedit"
Code: Select all
#!/bin/bash
#Install previously compiled libgig.deb files.
#Compile Linuxsampler libraries and application
#Install Linuxsampler libraries and application
rm *.changes
sudo dpkg -i libgig6_3.*
sudo dpkg -i gigtools_3.*
sudo dpkg -i libgig-dev_3.3.*
cd linuxsampler
dpkg-buildpackage -rfakeroot -b
#echo "In case of parser error, run command make parser and repeat previous command"
cd ..
ls liblinuxsampler* linuxsampler_*
echo "If 3 debian files are present, continue"
rm *.changes
#Install the linuxsampler libraries and binary
sudo dpkg -i liblinuxsampler_1.*
sudo dpkg -i liblinuxsampler-dev*
sudo dpkg -i linuxsampler_1.*
#Compile Qsampler
cd qsampler
dpkg-buildpackage -rfakeroot -b
cd ..
#Compile Gigedit
cd gigedit
dpkg-buildpackage -rfakeroot -b
cd ..
rm *.changes
ls
#Install Qsampler
sudo dpkg -i qsampler_0.2*
#Install Gigedit
sudo dpkg -i gigedit_0.2*
Linuxsampler Configuration Issues
During Startup of Qsampler you may notice that it is unable to find the ladspa effects
In that case create a symlink to it
Run as root or sudo
Code: Select all
cd /usr/local/lib
ln -s /usr/lib/ladspa ladspa
14.2 Installing X42 Plugins
Code: Select all
apt-get install x42-plugins
https://github.com/semanticaudio/SAFE
Install with
Code: Select all
apt-get install safe-plugins
http://infamousplugins.sourceforge.net/
http://sourceforge.net/p/infamousplugin ... ster/tree/
14.5 Qmidinet
http://qmidinet.sourceforge.net/
http://sourceforge.net/projects/qmidinet/files
14.6 Jackass
http://www.linuxmusicians.com/viewtopic ... 24&t=12488
A VST plugin that provides JACK-MIDI support for VST hosts
14.7 Additional Plugins
http://www.zthmusic.com/lv2-plugins-for-mixing/
LV2 Plugins
apt-get install artyfx
apt-get install calf-plugins
apt-get install invada-studio-plugins-lv2
apt-get install lv2fil
apt-get install swh-lv2
http://www.zthmusic.com/ladspa-plugins-for-mixing/
LADSPA Plugins
apt-get install fil-plugins
apt-get install swh-plugins
apt-get install tap-plugins
apt-get install rev-plugins
Code: Select all
sudo apt-get install fil-plugins swh-plugins tap-plugins rev-plugins artyfx calf-plugins invada-studio-plugins-lv2 lv2fil swh-lv2
More Ladspa plugins
amb-plugins - ambisonics LADPSA plugins
autotalent - pitch correction LADSPA plugin
bs2b-ladspa - Bauer stereophonic-to-binaural DSP LADSPA plugin
cmt - LADSPA plugin collection
foo-plugins - Foo LADSPA plugins
g2reverb - reverb LADSPA plugin
holap - Holborn Audio Plugins
ladspa-foo-plugins - Sampo Savolainen's LADSPA plugins
leet-plugins - LEET LADSPA plugins
mcp-plugins - LADSPA plugins designed for Alsa Modular Synth
omins - collection of LADSPA plugins aimed at modular synthesizers
rev-plugins - reverb LADSPA plugin
rubberband-ladspa - LADSPA plugin for audio pitch-shifting
vocoder-ladspa - LADSPA Vocoder Plugin
vcf-plugins - VCF LADSPA plugins
wah-plugins - auto-wah LADSPA plugin
wasp-ladspa - WASP LADSPA plugin
zam-plugins - Collection of LV2 and LADSPA plugins
Code: Select all
sudo apt-get install amb-plugins autotalent bs2b-ladspa cmt foo-plugins g2reverb holap ladspa-foo-plugins leet-plugins mcp-plugins omins rev-plugins rubberband-ladspa vocoder-ladspa vcf-plugins wah-plugins wasp-ladspa zam-plugins
abgate
eq10q
zam-plugins - Collection of LV2 and LADSPA plugins
mda-lv2 - Paul Kellett's MDA plugins ported to LV2
fomp - collection of LV2 audio plugins
safe-plugins - Semantic Audio Feature Extraction Plug-ins
cabbage-plugins-lv2 - csound development toolkit plugins (LV2)
midimsg-lv2 - set of plugins to transform midi output
beatslash-lv2 - A set of LV2 plugins to slash, repeat beats.
ams-lv2 - set of Voltage Controlled LV2 modules for Ingen
deteriorate-lv2 - set of LV2 plugins to deteriorate sound quality
teragonaudio-plugins - audio plugins from Teragon Audio
teragonaudio-plugins-lv2 - audio plugins from Teragon Audio (LV2)
Code: Select all
sudo apt-get install abgate eq10q zam-plugins mda-lv2 fomp safe-plugins cabbage-plugins-lv2 midimsg-lv2 beatslash-lv2 ams-lv2 deteriorate-lv2 teragonaudio-plugins teragonaudio-plugins-lv2
More VST Plugins
mda-vst - MDA VST plugins
dssi-vst - Adapter for VST an VSTi audio plugins
dssi-vst-bridge - Adapter for VST an VSTi audio plugins
cabbage-plugins-vst - csound development toolkit plugins (VST)
pizmidi-plugins - collection of cross-platform VST MIDI plugins
teragonaudio-plugins-vst - audio plugins from Teragon Audio (VST)
cabbage-plugins-extra-vst - csound development toolkit plugins (Extra, VST)
Code: Select all
sudo apt-get install mda-vst dssi-vst dssi-vst-bridge cabbage-plugins-vst pizmidi-plugins teragonaudio-plugins-vst cabbage-plugins-extra-vst
Code: Select all
sudo apt-get install audacious-plugins audacious-plugins-data
multimedia-audio-plugins - Audio processing plugins, synths and virtual instruments
multimedia-timestretching - Packages for stretching music and audio
x42
safe
Code: Select all
sudo apt-get install multimedia-audio-plugins multimedia-timestretching x42-plugins safe-plugins
More Synths
Code: Select all
sudo apt-get install fluidsynth-dssi setbfree so-synth-lv2 aeolus
KXStudio Related Packages (You probably don't need to install all of this, it should already be installed with KXStudio)
distrho-mini-series - DISTRHO Mini-Series
festige - GUI for fst and dssi-vst
kxstudio-meta-audio-plugins - KXStudio meta-packages - Audio plugins
kxstudio-meta-audio-plugins-dssi - KXStudio meta-packages - DSSI Audio plugins
kxstudio-meta-audio-plugins-ladspa - KXStudio meta-packages - LADSPA Audio plugins
kxstudio-meta-audio-plugins-lv2 - KXStudio meta-packages - LV2 Audio plugins
kxstudio-meta-audio-plugins-vamp - KXStudio meta-packages - Vamp Audio plugins
kxstudio-meta-audio-plugins-vst - KXStudio meta-packages - VST Audio plugins
tal-plugins-vst - Togu Audio Line Plugins (VST)
tal-plugins - Togu Audio Line Plugins
arctican-plugins - Arctican Plugins
distrho-plugin-ports - DISTHRO Plugin Ports
arctican-plugins-lv2 - Arctican Plugins (LV2)
drowaudio-plugins - dRowAudio Plugins
drowaudio-plugins-lv2 - dRowAudio Plugins (LV2)
juced-plugins-lv2 - Juced Plugins (LV2)
tal-plugins-lv2 - Togu Audio Line Plugins (LV2)
distrho-plugin-ports-lv2 - DISTHRO Plugin Ports (LV2)
arctican-plugins-vst - Arctican Plugins (VST)
drowaudio-plugins-vst - dRowAudio Plugins (VST)
juced-plugins-vst - Juced Plugins (VST)
distrho-plugin-ports-vst - DISTHRO Plugin Ports (VST)
juced-plugins - Juced Plugins
Code: Select all
apt-get install kxstudio-meta-audio-plugins kxstudio-meta-audio-plugins-dssi kxstudio-meta-audio-plugins-ladspa kxstudio-meta-audio-plugins-vamp kxstudio-meta-audio-plugins-vst kxstudio-meta-audio-plugins-lv2
14.9 AMS ALSA Modular Synth Plugins
amb-plugins (optional) - ambisonic plugins
blop (optional) - bandlimited oscillator plugins
caps (optional) - the C* audio plugins
cmt (optional) - Computer Music Toolkit plugins
fil-plugins (optional) - equaliser plugins
mcp-plugins (optional) - phaser, chorus and moog vcf plugins
pvoc (optional) - phase-vocoding plugins (appears to be missing?)
rev-plugins (optional) - reverb plugins
swh-plugins (optional) - Steve Harris plugins
tap-plugins (optional) - toms audio plugins
vco-plugins (optional) - oscillator plugins
wah-plugins (optional) - wah audio plugins
qmidiarp
qmidinet
qmidiroute
Code: Select all
sudo apt-get install amb-plugins blop caps cmt fil-plugins mcp-plugins rev-plugins swh-plugins tap-plugins vco-plugins wah-plugins qmidiarp qmidinet qmidiroute
14.10 Aeolus Pipe Organ
http://users.skynet.be/solaris/linuxaudio/aeolus.html
http://www.muse-sequencer.org/index.php/Aeolus
http://www.muse-sequencer.org/index.php/AeolusUsage
Installation
Code: Select all
sudo apt-get install aeolus
Code: Select all
aeolus -J
Code: Select all
aeolus -A
Aeolus FAQ
How to start Aeolus on top of JACK
I always need to start Aeolus like aeolus -J. How can I make Aeolus to start automatically in JACK mode?
In your home directory, place a file named .aeolusrc (don't forget the leading dot). In this file, write all default command line arguments you'd like to use. A usual line reads like the following: -J -S /home/ce/.aeolus/stops
The option -J makes Aeolus running in JACK mode, while an -A would run it in ALSA mode.
How to pass the stops directory to Aeolus automatically
I have downloaded the stops and placed them in my home directory. Now I start Aeolus with the -S option to tell it where to find the stops, like the following: aeolus -S /home/ce/.aeolus/stops -J
Can I automate this?
Again the config file is the right place to save this persistently. In your home directory, you will find or place a file named .aeolusrc (don't forget the leading dot). In this file, write all default command line arguments you'd like to use. A usual line reads like the following:
-J -S /home/ce/.aeolus/stops
Can I switch stops via MIDI?
I'd like to build a console. Can I switch stops via MIDI?
Yes you can
There are a few things to consider when planning any scheme for external stop control. The MIDI messages as defined in the README support both those systems that maintain their own state and use 'set on' and 'set off' messages, and those that don't have any internal state and only use 'toggle' commands. This is intentional - I wanted a protocol that would permit all possible forms of external control.
The latter are the easiest to deal with. In this case, your stop switches do not show if a stop is 'on' or 'off', they are just pushbuttons that toggle the state of a stop. You need to see the Aeolus GUI to know if a stop is 'on' or 'off'. This also means you can still modify stops in the GUI, and you can still use the presets system built into Aeolus.
In case you would use stop switches that _do_ show the state of a stop, i.e. that have a visually distinct 'on' and 'off' state, you should not use the GUI nor the presets - the real state could be different from what your switches are showing. So in that case, if you want presets, they must be implemented by your external control system. There is currently no output from Aeolus that you could use to change the state of your stop buttons, either mechanically or e.g. by a light built into them.
Anyway, the protocol you use should either be the built-in one, or if it's different, you will need an external program to translate your commands to the form that Aeolus understands. There is *no way* I will ever build any other particular command set into Aeolus - there would be no end to all the possible variations I would need to support.
Translating MIDI commands and patching a such a translator in between your console and Aeolus is easy enough. If you have a particular stop control system in mind, I'd be happy to write the translator. But first you should be well aware of the consequences of your choice, and how you want to use it.
14.11 Denemo - Lilypond GUI for Scoring
The version of Denemo that installs via Ubuntu's repositories is ancient so rather obtain an update from their website. You can either use their provided binary which includes Lilypond or you can compile Denemo from scratch.
Using the provided Denemo binary package
Code: Select all
cd /home/`whoami`/Downloads
mkdir denemo
cd denemo
wget http://denemo.org/downloads/denemo-1.1.8-0.linux-x86.tar.xz
xz -d denemo-1.1.8-0.linux-x86.tar.xz
tar xvf denemo-1.1.8-0.linux-x86.tar
Code: Select all
cd denemo-1.1.8
./Launch_Denemo.sh
To compile Denemo you'll need the following libraries installed
Code: Select all
sudo apt-get install guile-1.8 guile-1.8-dev guile-2.0 guile-2.0-dev libaubio4 libaubio-dev libxml2 libxml2-dev librsvg2-dev libgtksourceview2.0-dev libevince-dev libgtksourceviewmm-3.0-dev fluidsynth libfluidsynth-dev librubberband-dev portaudio19-dev libfftw3-dev libportmidi-dev
Code: Select all
wget http://denemo.org/downloads/denemo-1.1.8.tar.gz
tar xzvf denemo-1.1.8.tar.gz
cd denemo-1.1.8
./configure
make
sudo make install
17. Audio Configuration Files and Applications
17.1 Jackd, Cadence, ALSA, Pulseaudio
JACKD
Jackd configuration file
/home/`whoami`/.jackdrc
CADENCE (KXStudio manager for jackd)
Settings
/home/`whoami`/.config/jack/conf.xml
ALSA
Application
$alsamixer
Settings
/home/`whoami`/.asoundrc
List of ALSA Devices
/proc/asound/cards
Saving ALSA Settings
Code: Select all
sudo alsactl store 0
/etc/pulse/daemon.conf
/etc/pulse/client.conf
*You may want to disable Pulseaudio during sessions by
Code: Select all
pulseaudio --kill
Code: Select all
pulseaudio --start
20. Known issues, bugs, missing or desired features
20.1 Carla & MIDI Omni (Currently MIDI channels cannot be muted inside Carla when using a soundfont plugin such as Fluid R3, adding per channel MIDI mute is being considered)
20.2 Cadence not always starting jack
This may be a one off specific to my setup only but I don't always succeed in starting jack via Cadence. It may be due to a jackdbus issue on my particular system. The simple workaround is to use Qjackctl or even better, the terminal and running jackd manually from there. In case you need ALSA to Jack MIDI through, run a2jmidid from a terminal. (ALSA MIDI Bridge in Cadence).
21. Issues / Bugs
21.1 Linux Mint OS Problems
Dropcaches issue
LM17 32bit appears to have a problem with caches, this problem may also be present in Ubuntu 14.04 32bit. Sometimes the problem manifests itself in slowdowns / issues when trying to update the system. Updates take forever to apply. One potential workaround is to drop memory caches through this command.
Code: Select all
sudo sync; sudo echo 3 > /proc/sys/vm/drop_caches
Code: Select all
free -m
System slowdowns
Use gnome-system-monitor or top to find processes hogging CPU resources or memory usage. A laptop fan which spins up loudly can be an indicator of high CPU usage.
21.2 Package Management Problems
In case you're unable to update packages or you're experiencing other package related issues, try fixing with these commands
Code: Select all
apt-get install -f
dpkg --configure -a
from falkTX
Code: Select all
sudo rm -f /etc/apt/sources.list.d/*kxstudio*
sudo rm -rf /var/kxstudio/*
sudo apt-get purge kxstudio-repos
sudo apt-get update
sudo add-apt-repository ppa:kxstudio-debian/kxstudio # press enter when asked
sudo apt-get update
sudo apt-get install kxstudio-repos
sudo apt-get update
Package Installation error issues
These could be related to older libraries being present on the system. To resolve, here's an example from falkTX:
Code: Select all
sudo dpkg -r liblinuxsampler
sudo apt-get install -f
21.3 Audio Application Problems
21.3.1 Rakarrak Distortion Problem in v 0.6.1
A Rackarrak distortion problem and fix for version 0.6.1 is mentioned here:
http://linuxmusicians.com/viewtopic.php?f=4&t=12929
The fix suggested by Musick
Code: Select all
rakarrack Waveshape Resampling:0
Put this code into your rakarrack config file ~/.fltk/rakarrack.sf.net/rakarrack.prefs
I have just found it (using KXStudio) and for me it is working! I think that it should work for all of you too.
Test this my friends and let me know the results.
21.4 Spyware issues
Whilst Linux has thankfully been less plagued by spyware than other OS's such as Windows & OSX it has unfortunately not remained immune.
Canonical / Ubuntu have aggressively been pushing to monetize their product (in case you wondered what that product is, it's not really Ubuntu, YOU are the one they sell) and as such have resorted to a number of underhanded methods at sneaking spyware into the OS followed by apologies, climb-downs and "selectable" opt in / out data collection settings which may or may not work reliably. Just the fact that it is even there is already a huge problem, even if it *may* be possible to turn it off.
Since Linux Mint is based on Ubuntu it's inevitable that it cannot remain completely unaffected even though (afaik) there's never been a conscious effort by LM to monetise the user as Canonical / Ubuntu, Apple, Microsoft, Facebook, Google etc are doing.
One of the nastiest examples of spyware code beginning to weasel its way into the Ubuntu ecosystem is zeitgeist. Unfortunately more and more applications (totem is one example) are beginning to make use of zeitgeist libraries so in order to rid one's self of this pestilence you sometimes end up having to remove what would otherwise have been useful applications.
What's the issue with zeitgeist you may ask? It is a log aggregator which aggressively pursues and logs all your activities and makes this data available to other applications "in order to enhance your user experience" (haha). Don't you just love how they always manage to invert reality and turn something which negatively affects you into something which supposedly benefits you.
The intellectually ungifted defend zeitgeist by saying that "it doesn't report back on your activities so it isn't spyware" but they miss the point. OTHER Applications MAY, CAN and DO report back aka snitch on your activities by forwarding your chatlogs, interests, activities and so forth back to Spy HQ and they do this after conveniently collecting the goods from guess where??? .... Zeitgeist.
Some people like to share every mundane and banal detail of their existence with the Universe. Great for them, but it sucks for the rest of us - most of whom aren't even aware of what's going on and are tricked into believing that it's an "innocent" and "normal" activity to be datamined, analysed, spied on and ultimately manipulated by the end users of this data such as Media Conglomerates, Corporations and Governments.
Zeitgeist is one example, there will surely be others so please report ANY known spyware and I'll be happy to add it to the Hall of Shame.
/rant over, move along and take your soma you Pr0les
To check your system for the presence of zeitgeist
Code: Select all
dpkg --get-selections | grep zeitgeist
Code: Select all
apt-get remove --purge zeitgeist.x.x.x libzeitgeist.x.x.x
22.4 Puredata Extended Installation on LM17
http://puredata.info/
To install Beta pd-extended (0.43.4 currently on Linux Mint 17)
Code: Select all
sudo add-apt-repository ppa:eighthave/pd-extended
sudo apt-get update
sudo apt-get install pd-extended
http://apt.puredata.info/auto-build/latest/
You may need to install lua5.1 first
Code: Select all
apt-get install lua5.1
http://apt.puredata.info/auto-build/lat ... -amd64.deb
http://apt.puredata.info/auto-build/lat ... e-i386.deb
Code: Select all
dpkg -i Pd-0.44.0-extended-ubuntu-xxxxxx-xxxx.deb
23. Hardware Hacking
23.1 Linux Audio on USB TV Stick devices
Here's interesting news from Autostatic who has compiled Linux ⁺ Realtime Kernel to run on a RK3066.
What this means is that there's potential here to hack the RK3066 into an existing USB Soundcard's Box (if there's sufficient space) and have a cheapish headless (sans Keyboard, Video, Mouse) portable audiosystem to go. One could potentially control & configure it via a tablet or laptop.
http://autostatic.com/2013/07/04/hackin ... the-sequel
http://autostatic.com/installing-linux- ... sed-device
23.2 Linux Mint on a Macbook + USB Flash Drive
LM17 works on a early 2014 model Macbook although an extra Broadcom Wifi drivers package needs to be installed to get it working. (Phoronix Website has details about this).
LM17 can be run from a small USB3 drive like a Sandisk CZ43 or an Integral Fusion USB3. This way you don't need to overwrite anything on the local harddrive or reconfigure it for dual booting operations.
*Note - The USB Flash Disk IO Performance appears to be hopelessly inadequate to make use of jackd and the system suffers from xruns. A potential solution may be to load the OS into memory from the USB Flash drive as is done with Live distros. For low-latency work involving jackd running an installed OS from a USB Flash drive is unusable.
Suggestions
- When installing, create at least two partitions on the USB Flash Drive. One for / (root) and one for /home. This way your user data can easily be migrated or backed up.
- Don't use a swap partition or file in order to reduce disk writes to flash memory. You'll obviously need to have sufficient RAM available in order to best make use of this configuration.
- Use ext2 partitions. Avoid journalling partitions like ext3 and ext4 which causes the flash memory to wear out sooner due to heavy disk writes. It is possible to disable journalling on ext3 and ext4 but why bother when you could have just used ext2 from the beginning.
- Set drive mounts in /etc/fstab to noatime (to reduce disk writes which wear out the flash memory)
Create your Linux Mint installation USB Flash drive for LM17 with a tool like Yumi in Windows on any Windows PC. Alternatively, make your bootable installation drive another way. Once booted into the Live Linux Mint iso & installer you can plug in the flashdrive you intend to run LM17 from, partition it via gparted (for example, create /dev/sdb1 and /dev/sdb2) and install LM17 on it. Take care to select the correct destination device or remove any harddrives from the system before starting this process to prevent data loss and mistakes.
Remember to install GRUB to the destination USB Flash Drive bootsector while going through Mint's installion preparations, otherwise it won't boot. Make sure you can correctly identify the device. (/dev/sdb possibly, depending on your particular configuration)
Once you've created your bootable USB Flash drive containing your new LM17 installation you can plug it into the Macbook and start it.
When starting the Macbook, hold down the right control button, then click on the Windows Disk and the Macbook will boot from the USB Flash Drive into LM17.
You should also be able to move this USB Flash drive to a typical PC (which supports USB booting) and boot it into the same environment.
Note
As noted at the beginning of the section this solution doesn't produce usable results for lowlatency work involving jackd. You'll be better off running AVLinux or similar as a Live Distro or alternatively you'll need to remaster Mint's installer.
23.3 Running Multiple Audio Cards in Jackd
See article here
http://alsa.opensrc.org/TwoCardsAsOne
24. Tips and Tricks
24.1 Festige Startup Scripts
http://linuxmusicians.com/viewtopic.php ... ipt#p42975