/usr/share/doc/nted/fr/ch01s50.html is in nted-doc 1.10.18-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <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.78.1"><meta name="keywords" content="Gtk, NtEd, music, editor, notes, score, MIDI"><link rel="home" href="index.html" title="Manuel de NtEd"><link rel="up" href="ch01.html" title="Chapter 1. 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> </td><th width="60%" align="center">Chapter 1. Using NtEd</th><td width="20%" align="right"> <a accesskey="n" href="ch01s51.html">Next</a></td></tr></table><hr></div><div class="sect1"><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>tar -xvjf TiMidity++-x.y.z.tar.bz2<br>
   cd TiMidity++-x.y.z<br>
   ./configure --enable-audio=alsa --enable-server --enable-alsaseq<br>
   make<br>
   su (give password if requested)<br>
   make install<br>
   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>cd /usr/share<br>
   mkdir sfbank<br>
   chmod 0755 sfbank<br>
   cd sfbank<br>
   cp /<somewhere>/8mbgmsfx.sf2 .<br>
   echo 'dir /usr/share/sfbank' >timidity.cfg<br>
   echo 'soundfont 8mbgmsfx.sf2' >> timidity.cfg<br>
   chmod 0644 8mbgmsfx.sf2 timidity.cfg<br>
   cd /usr/bin<br>
   echo '#!/bin/bash' > alsatimidity.sh<br>
   echo '' >> alsatimidity.sh<br>
   echo '/usr/local/bin/timidity -c /usr/share/sfbank/timidity.cfg -iA -B2,8 -Os1l -s 44100'  >> alsatimidity.sh<br>
   chmod 0755 alsatimidity.sh<br>
</p></div><p>
</p><p>Now the call</p><p>
</p><div class="literallayout"><p>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> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch01s51.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Configuration File </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> The TiMidity server</td></tr></table></div></body></html>
|