How to get sound out of Scala in Ubuntu

Revision as of 19:12, 3 December 2011 by Wikispaces>keenanpepper (**Imported revision 281949684 - Original comment: **)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

IMPORTED REVISION FROM WIKISPACES

This is an imported revision from Wikispaces. The revision metadata is included below for reference:

This revision was by author keenanpepper and made on 2011-12-03 19:12:31 UTC.
The original revision id was 281949684.
The revision comment was:

The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.

Original Wikitext content:

Are you using a recent version of Ubuntu (or some other Linux distribution, but for those the instructions might need to be tweaked)? Are you using [[Scala]] but the Chromatic Clavier doesn't work? Here's what you need to do:
* Open up a terminal and run "sudo modprobe snd-virmidi". To make this happen automatically when you boot up, add "snd-virmidi" as a new line to the file "/etc/modules" (otherwise you'll need to run "modprove snd-virmidi" every time).
* In Scala, go to Chromatic Clavier and then go to Sound Settings. Because of the first step, there should now be some choices available for "MIDI Output Device". Pick the one with a 0 in the name (something like "/dev/snd/midiC1D0").
* In your favorite MIDI connection manager (I use aconnectgui), the MIDI output from Scala will now be available as "Virtual Raw MIDI 1-0" or "VirMIDI 1-0". You can now connect that to a softsynth or hardware MIDI device of your choice.
* Have fun with the Chromatic Clavier!

The reason this is necessary, I think, is that Scala uses a legacy "raw" MIDI interface from the days when everyone had MIDI synthesizers (with crappy-sounding soundfonts) on their soundcards, and programs used to access those directly. The snd-virmidi kernel module creates a "virtual" MIDI-enabled soundcard that's really just a way to get Scala's MIDI output to appear as a normal MIDI output port.

Original HTML content:

<html><head><title>How to get sound out of Scala in Ubuntu</title></head><body>Are you using a recent version of Ubuntu (or some other Linux distribution, but for those the instructions might need to be tweaked)? Are you using <a class="wiki_link" href="/Scala">Scala</a> but the Chromatic Clavier doesn't work? Here's what you need to do:<br />
<ul><li>Open up a terminal and run &quot;sudo modprobe snd-virmidi&quot;. To make this happen automatically when you boot up, add &quot;snd-virmidi&quot; as a new line to the file &quot;/etc/modules&quot; (otherwise you'll need to run &quot;modprove snd-virmidi&quot; every time).</li><li>In Scala, go to Chromatic Clavier and then go to Sound Settings. Because of the first step, there should now be some choices available for &quot;MIDI Output Device&quot;. Pick the one with a 0 in the name (something like &quot;/dev/snd/midiC1D0&quot;).</li><li>In your favorite MIDI connection manager (I use aconnectgui), the MIDI output from Scala will now be available as &quot;Virtual Raw MIDI 1-0&quot; or &quot;VirMIDI 1-0&quot;. You can now connect that to a softsynth or hardware MIDI device of your choice.</li><li>Have fun with the Chromatic Clavier!</li></ul><br />
The reason this is necessary, I think, is that Scala uses a legacy &quot;raw&quot; MIDI interface from the days when everyone had MIDI synthesizers (with crappy-sounding soundfonts) on their soundcards, and programs used to access those directly. The snd-virmidi kernel module creates a &quot;virtual&quot; MIDI-enabled soundcard that's really just a way to get Scala's MIDI output to appear as a normal MIDI output port.</body></html>