<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Kommentare zu: Making Music with Linux</title>
	<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/</link>
	<description>Newphoria Project News</description>
	<pubDate>Mon, 06 Feb 2012 16:19:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>Von: ekkehard</title>
		<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-45</link>
		<author>ekkehard</author>
		<pubDate>Sat, 06 Mar 2010 16:25:54 +0000</pubDate>
		<guid>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-45</guid>
		<description>&lt;p&gt;OK, "timidity -B10,8 -Oj -iA" gives OK timing for my machine when Rosegarden is running. :)&lt;/p&gt;
&lt;p&gt;Ahhh ... looks like I'm finally getting somewhere! :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>OK, &#8220;timidity -B10,8 -Oj -iA&#8221; gives OK timing for my machine when Rosegarden is running. <img src='http://blogs.newphoria.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ahhh &#8230; looks like I&#8217;m finally getting somewhere! <img src='http://blogs.newphoria.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: ekkehard</title>
		<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-44</link>
		<author>ekkehard</author>
		<pubDate>Sat, 06 Mar 2010 16:22:41 +0000</pubDate>
		<guid>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-44</guid>
		<description>&lt;p&gt;Now I discovered that timidity is using ridiculously large buffers by default, which was the audible delay that I perceived. When running timidity with "timidity -B10,7 -Oj -iA" then there's absolutely no perceivable delay. &lt;/p&gt;
&lt;p&gt;When Rosegarden runs, there's some choppiness in the output, however ... I yet have to figure that one out.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Now I discovered that timidity is using ridiculously large buffers by default, which was the audible delay that I perceived. When running timidity with &#8220;timidity -B10,7 -Oj -iA&#8221; then there&#8217;s absolutely no perceivable delay. </p>
<p>When Rosegarden runs, there&#8217;s some choppiness in the output, however &#8230; I yet have to figure that one out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: ekkehard</title>
		<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-43</link>
		<author>ekkehard</author>
		<pubDate>Sat, 06 Mar 2010 15:33:22 +0000</pubDate>
		<guid>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-43</guid>
		<description>OK, so after much more fiddling with that ... stuff ... , I found out that timidity and jackd were in competition about the ALSA outputs. I uninstalled the "timidity-daemon" package, which simply removes the init.d script, and ran "timidity -Oj -iA" from the command line when jackd was running on ALSA. Important configuration options for jackd in Jack Control are setting the frame size down to 256 from 1024 and setting the realtime priority up from default to 10. To run jackd in realtime mode, it is necessary to configure the PAM security manager in Ubuntu. This can be done by editing "/etc/security/limits" as described in the jackd FAQ (at http://jackaudio.org ).

Still, my impression is that using Jack is degrading performance to a degree since there's now some perceivable latency that wasn't there before when only ALSA MIDI was being used without Jack.

Anyhoo ... at least now both wave audio and MIDI can be used at the same time.</description>
		<content:encoded><![CDATA[<p>OK, so after much more fiddling with that &#8230; stuff &#8230; , I found out that timidity and jackd were in competition about the ALSA outputs. I uninstalled the &#8220;timidity-daemon&#8221; package, which simply removes the init.d script, and ran &#8220;timidity -Oj -iA&#8221; from the command line when jackd was running on ALSA. Important configuration options for jackd in Jack Control are setting the frame size down to 256 from 1024 and setting the realtime priority up from default to 10. To run jackd in realtime mode, it is necessary to configure the PAM security manager in Ubuntu. This can be done by editing &#8220;/etc/security/limits&#8221; as described in the jackd FAQ (at <a href="http://jackaudio.org" rel="nofollow">http://jackaudio.org</a> ).</p>
<p>Still, my impression is that using Jack is degrading performance to a degree since there&#8217;s now some perceivable latency that wasn&#8217;t there before when only ALSA MIDI was being used without Jack.</p>
<p>Anyhoo &#8230; at least now both wave audio and MIDI can be used at the same time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: ekkehard</title>
		<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-41</link>
		<author>ekkehard</author>
		<pubDate>Sat, 06 Mar 2010 13:58:37 +0000</pubDate>
		<guid>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-41</guid>
		<description>lol, I just figured out that jackd isn't actually running at all when using the "sudo /etc/init.d/jackd start" command. It prints OK but the daemon is not running. ("Stopping" the daemon also prints OK.) However, a PID file is written that makes applications like Rosegarden think that jackd is running. In fact, only ALSA MIDI is being used. Sometime I need to figure out how to set this up properly, lol! At least MIDI is working like that.</description>
		<content:encoded><![CDATA[<p>lol, I just figured out that jackd isn&#8217;t actually running at all when using the &#8220;sudo /etc/init.d/jackd start&#8221; command. It prints OK but the daemon is not running. (&#8221;Stopping&#8221; the daemon also prints OK.) However, a PID file is written that makes applications like Rosegarden think that jackd is running. In fact, only ALSA MIDI is being used. Sometime I need to figure out how to set this up properly, lol! At least MIDI is working like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: ekkehard</title>
		<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-40</link>
		<author>ekkehard</author>
		<pubDate>Sat, 06 Mar 2010 13:08:08 +0000</pubDate>
		<guid>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-40</guid>
		<description>In any case, these problems may lead to a complication in audio production workflow: You may have to record the MIDI tracks separately, capture the audio using an audio recording program, and then use tools like Audacity to post-process the wave audio (or import them into a new project using only wave audio).</description>
		<content:encoded><![CDATA[<p>In any case, these problems may lead to a complication in audio production workflow: You may have to record the MIDI tracks separately, capture the audio using an audio recording program, and then use tools like Audacity to post-process the wave audio (or import them into a new project using only wave audio).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: ekkehard</title>
		<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-39</link>
		<author>ekkehard</author>
		<pubDate>Sat, 06 Mar 2010 13:04:57 +0000</pubDate>
		<guid>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-39</guid>
		<description>Furthermore, if you don't run jackd as daemon, and run it user mode using the Jack Control Start button, then MIDI apparently doesn't work (at least the connection between Virtual Keyboard and the timidity daemon produces no audible output; this also happens when timidity doesn't run as a daemon). Conversely, if you do run jackd as a daemon, then the audio connectors for wave audio won't appear in Jack Control, however, MIDI does work in that case. Since I'm only interested in MIDI at the moment, that's no problem for me. I think it has to do with the fact that Ubuntu configures GNOME to use PulseAudio exclusively (despite there seems to be no obvious correlation between PulseAudio and these problems).</description>
		<content:encoded><![CDATA[<p>Furthermore, if you don&#8217;t run jackd as daemon, and run it user mode using the Jack Control Start button, then MIDI apparently doesn&#8217;t work (at least the connection between Virtual Keyboard and the timidity daemon produces no audible output; this also happens when timidity doesn&#8217;t run as a daemon). Conversely, if you do run jackd as a daemon, then the audio connectors for wave audio won&#8217;t appear in Jack Control, however, MIDI does work in that case. Since I&#8217;m only interested in MIDI at the moment, that&#8217;s no problem for me. I think it has to do with the fact that Ubuntu configures GNOME to use PulseAudio exclusively (despite there seems to be no obvious correlation between PulseAudio and these problems).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: ekkehard</title>
		<link>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-38</link>
		<author>ekkehard</author>
		<pubDate>Sat, 06 Mar 2010 12:49:38 +0000</pubDate>
		<guid>http://blogs.newphoria.de/2010/03/05/making-music-with-linux/#comment-38</guid>
		<description>I discovered a nasty bug in either the jackd init script or jackd: When you run jackd at boot time, it apparently crashes without removing its pid file. Anyway, you have to start the daemon manually after every reboot using "sudo /etc/init.d/jackd start" to get things running. Also, DON'T click on the "Start" button in Jack Control, b/c Jack Control apparently doesn't know about the possibility of running jackd as a daemon. In the Jack Control configuration, uncheck the starting of scripts and uncheck the realtime option. Avoid clicking on the Start button. If jackd runs as a daemon, it's not necessary to click on it.</description>
		<content:encoded><![CDATA[<p>I discovered a nasty bug in either the jackd init script or jackd: When you run jackd at boot time, it apparently crashes without removing its pid file. Anyway, you have to start the daemon manually after every reboot using &#8220;sudo /etc/init.d/jackd start&#8221; to get things running. Also, DON&#8217;T click on the &#8220;Start&#8221; button in Jack Control, b/c Jack Control apparently doesn&#8217;t know about the possibility of running jackd as a daemon. In the Jack Control configuration, uncheck the starting of scripts and uncheck the realtime option. Avoid clicking on the Start button. If jackd runs as a daemon, it&#8217;s not necessary to click on it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

