Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > 4132d12566a113b11a64b5b8fb701505 > files > 295

nted-doc-1.9.19-1.fc13.noarch.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Attention: Pulseaudio</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><meta name="keywords" content="Gtk, NtEd, music, editor, notes, score, MIDI"><link rel="home" href="index.html" title="The NtEd Handbook"><link rel="up" href="ch01.html" title="Chapter&#160;1.&#160;Using NtEd"><link rel="prev" href="ch01s49.html" title="Configuration File"><link rel="next" href="ch01s51.html" title="The TiMidity server"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Attention: Pulseaudio</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s49.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;1.&#160;Using NtEd</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch01s51.html">Next</a></td></tr></table><hr></div><div class="sect1" title="Attention: Pulseaudio"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pulseaudio"></a>Attention: Pulseaudio</h2></div></div></div><p>Unfortunately, the next chapter about <a class="link" href="ch01s51.html" title="The TiMidity server">The TiMidity server</a> 
won't work if you have a new sound technology called <code class="computeroutput">pulseaudio</code>. This
concerns Fedora 11 users and Ubuntu 9.10 users and possibly others. If you
use the soundfont mentioned at <a class="ulink" href="http://alsa.opensrc.org/8MBGMSFX.SF2" target="_top">http://alsa.opensrc.org/8MBGMSFX.SF2</a>, you'll experience some awful effects like distortion or no sound, at all.</p><p>To find out whether you have a pulseaudio or not do:</p><p><strong class="userinput"><code>which pulseaudio</code></strong></p><p>If you get a path as answer you have pulseaudio.</p><p>The only workaround is to compile your own TiMidity++. To do this load the newest source from:</p><p><a class="ulink" href="http://timidity.sourceforge.net/#download" target="_top">http://timidity.sourceforge.net/#download"</a></p><p>Extract and configure the source:</p><p>
</p><div class="literallayout"><p><br>
&#160;&#160;&#160;tar&#160;-xvjf&#160;TiMidity++-x.y.z.tar.bz2<br>
&#160;&#160;&#160;cd&#160;TiMidity++-x.y.z<br>
&#160;&#160;&#160;./configure&#160;--enable-audio=alsa&#160;--enable-server&#160;--enable-alsaseq<br>
&#160;&#160;&#160;make<br>
&#160;&#160;&#160;su&#160;(give&#160;password&#160;if&#160;requested)<br>
&#160;&#160;&#160;make&#160;install<br>
&#160;&#160;&#160;exit<br>
</p></div><p>
</p><p>Now you have possibly 2 timidities: One pulsaudio dependent at /usr/bin/timidity and the
newly compiled and pulsaudio independent /usr/local/bin/timidity. Use the pulsaudio independent timidity!</p><p>A good idea is to prepare a command. You should as root copy the soundfont at a 
certain position:</p><p>
</p><div class="literallayout"><p><br>
&#160;&#160;&#160;cd&#160;/usr/share<br>
&#160;&#160;&#160;mkdir&#160;sfbank<br>
&#160;&#160;&#160;chmod&#160;0755&#160;sfbank<br>
&#160;&#160;&#160;cd&#160;sfbank<br>
&#160;&#160;&#160;cp&#160;/&lt;somewhere&gt;/8mbgmsfx.sf2&#160;.<br>
&#160;&#160;&#160;echo&#160;'dir&#160;/usr/share/sfbank'&#160;&gt;timidity.cfg<br>
&#160;&#160;&#160;echo&#160;'soundfont&#160;8mbgmsfx.sf2'&#160;&gt;&gt;&#160;timidity.cfg<br>
&#160;&#160;&#160;chmod&#160;0644&#160;8mbgmsfx.sf2&#160;timidity.cfg<br>
&#160;&#160;&#160;cd&#160;/usr/bin<br>
&#160;&#160;&#160;echo&#160;'#!/bin/bash'&#160;&gt;&#160;alsatimidity.sh<br>
&#160;&#160;&#160;echo&#160;''&#160;&gt;&gt;&#160;alsatimidity.sh<br>
&#160;&#160;&#160;echo&#160;'/usr/local/bin/timidity&#160;-c&#160;/usr/share/sfbank/timidity.cfg&#160;-iA&#160;-B2,8&#160;-Os1l&#160;-s&#160;44100'&#160;&#160;&gt;&gt;&#160;alsatimidity.sh<br>
&#160;&#160;&#160;chmod&#160;0755&#160;alsatimidity.sh<br>
</p></div><p>
</p><p>Now the call</p><p>
</p><div class="literallayout"><p><br>
&#160;&#160;&#160;&#160;alsatimidity.sh<br>
</p></div><p>
</p><p>should start the timidity in server mode.</p><p>If the sound problems remain remove the pulsaudio package from your system!</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s49.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch01s51.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Configuration File&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;The TiMidity server</td></tr></table></div></body></html>