Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 8045a01381c13e7307423a349fcadcc8 > files > 231

nted-1.8.1-1mdv2010.0.i586.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Appendix&#160;A.&#160;Frequently Asked Questions (FAQ)</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="index.html" title="The NtEd Handbook"><link rel="prev" href="ch02.html" title="Chapter&#160;2.&#160;Credits and License"></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">Appendix&#160;A.&#160;Frequently Asked Questions (FAQ)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;</td></tr></table><hr></div><div class="appendix" title="Appendix&#160;A.&#160;Frequently Asked Questions (FAQ)"><div class="titlepage"><div><div><h2 class="title"><a name="faq"></a>Appendix&#160;A.&#160;Frequently Asked Questions (FAQ)</h2></div></div></div><div class="qandaset" title="Frequently Asked Questions"><a name="id2566548"></a><dl><dt>A.1. <a href="apa.html#id2566550">
I can't hear any sound! I see the running red notes but there is no sound! What's wrong?
</a></dt><dt>A.2. <a href="apa.html#id2566777">
At program start it says: "Error in FT_Open_Face"! What's wrong!
</a></dt><dt>A.3. <a href="apa.html#id2566811">
I cannot install NtEd because I have no root rights. What shall I do?
</a></dt><dt>A.4. <a href="apa.html#id2566929">
During program startup I get an error: "Cannot open ALSA MIDI sequencer --&gt; replay won't work ..."! What's wrong ?
</a></dt><dt>A.5. <a href="apa.html#id2566960">
During make step an error occurs: /bin/sh: gdk-pixbuf-csource: command not found.
What's wrong ?
</a></dt><dt>A.6. <a href="apa.html#id2567035">During configure step I get an error: "configure: error: C++ compiler cannot create executables, See `config.log' for more details.". What's wrong?</a></dt></dl><table border="0" width="100%" summary="Q and A Set"><col align="left" width="1%"><col><tbody><tr class="question" title="A.1."><td align="left" valign="top"><a name="id2566550"></a><a name="no_sound"></a><p><b>A.1.</b></p></td><td align="left" valign="top"><p>
I can't hear any sound! I see the running red notes but there is no sound! What's wrong?
</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>This has nothing to do with NtEd! It is a problem of your MIDI device! All MIDI based applications
(for instance <span class="application">kmid</span> (<span class="emphasis"><em>not kmidi !!!</em></span>) or <span class="application">pmidi</span>) will fail!</p><p>First of all: Try to play a MIDI file with <span class="application">kmid</span> (<span class="emphasis"><em>not (!!!)</em></span>
<span class="application">kmidi</span>). As long as <span class="application">kmid</span> does not produce any sound, NtEd
(and any other MIDI device based software) will not produce any sound, too!
The reason is: Either your soundcard has no hardware MIDI synthesizer or
it has a hardware MIDI synthesizer but it is not supported by Linux.</p><p>Please refer to the <a class="ulink" href="http://www.alsa-project.org" target="_top">ALSA project page</a>
to find out whether the midi device on your sound card is supported.</p><p>Before making a lot of effort to emulate the hardware synthesizer by software you should search for a soundfont file on the CD shipped with
your soundcard. A soundfont file has the suffix <code class="filename">.sf2</code>
or <code class="filename">.SF2</code>. Please make sure it is a General MIDI soundfont! If there is such a soundfont file
there is a high probability you simply have to load
the soundfont onto your soundcard.</p><p>To to this you need a program called <a class="ulink" href="http://www.alsa-project.org/~tiwai/awedrv.html#Utils" target="_top">asfxload</a>. Simply
type:</p><p><strong class="userinput"><code>asfxload </code></strong>&lt;soundfont&gt;<strong class="userinput"><code>.sf2</code></strong></p><p>But even if you cannot find a soundfont file on soundcard CD, you can try to download a soundfont file. I recommand
the soundfont mentioned at <a class="ulink" href="http://alsa.opensrc.org/8MBGMSFX.SF2" target="_top">http://alsa.opensrc.org/8MBGMSFX.SF2</a>.</p><p>If <a class="ulink" href="http://www.alsa-project.org/~tiwai/awedrv.html#Utils" target="_top">asfxload</a> fails your soundcard does not permit loading a soundfont.</p><p>There is still a last chance that not all needed moduls are loaded. So as a last attempt type as root:</p><p><strong class="userinput"><code>modprobe snd_seq_midi</code></strong></p><p>and repeat the <span class="application">asfxload</span> command.</p><p>If <a class="ulink" href="http://www.alsa-project.org/~tiwai/awedrv.html#Utils" target="_top">asfxload</a> fails again you have to emulate the hardware MIDI synthesizer by software. This works if your computer has enough performance.
Windows for instances starts a soft synthesizer automatically if
the hardware synthesis does not work. So, be not confused if you can play MIDI files on Windows!</p><p>Such emulation software exists for Linux, too. But it is more complicated because:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>You have to start this software "by hand".</p></li><li class="listitem"><p>These software MIDI synthesizers need a so-called soundfont, a collection of sample tones of
every instrument of a virtual orchestra. These soundfonts are copyrighted, i.e. actually nothing for
a free system like Linux.</p></li></ul></div><p>
But there is a (relatively bulky) way! See <a class="link" href="ch01s48.html" title="The TiMidity server">The TiMidity server</a>
detailed instructions! </p><p>Note! There are more software synthesizers on Linux, which can be tested. Among them the <a class="ulink" href="http://fluidsynth.resonance.org/trac" target="_top">FluidSynth</a>.
See <a class="ulink" href="http://www.linux-sound.org" target="_top">http://www.linux-sound.org</a> for a list.</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>You should avoid soft synthesis if the performance of your computer is too small! The antialiasing procedure (smoothing the symbols)
of NtEd consumes a lot of performance, and soft synthesis, too! As a result the replay can be uneven especially during page turn over!</p></div></td></tr><tr class="question" title="A.2."><td align="left" valign="top"><a name="id2566777"></a><a name="id2566779"></a><p><b>A.2.</b></p></td><td align="left" valign="top"><p>
At program start it says: "Error in FT_Open_Face"! What's wrong!
</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>You have not installed the program! Please type (as root):</p><p><strong class="userinput"><code>make install</code></strong></p><p>Refer also to INSTALL file shipped with the <code class="filename">nted-x.y.z.tgz</code> archive.</p></td></tr><tr class="question" title="A.3."><td align="left" valign="top"><a name="id2566811"></a><a name="id2566813"></a><p><b>A.3.</b></p></td><td align="left" valign="top"><p>
I cannot install NtEd because I have no root rights. What shall I do?
</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>You can use the <code class="option">--prefix</code> option to install the NtEd in an arbitrary
directory below your $HOME directory.
Please refer also to INSTALL file shipped with the <code class="filename">nted-x.y.z.tgz</code> archive.</p><p>Furthermore, if you want to avoid the <strong class="userinput"><code>make install</code></strong> command then
set an environment variable <code class="filename">NTED_FONT_DIR</code> to the directory
where the <code class="filename">nted/ntedfont.pfa</code> is situated.</p><p>For instance, assume the <code class="filename">ntedfont.pfa</code> is at <code class="filename">/home/smith/datafiles/nted/ntedfont.pfa</code>
type at command prompt:</p><p><strong class="userinput"><code>export NTED_FONT_DIR=/home/smith/datafiles</code></strong></p><p>if you have a <span class="application">bash</span> or <span class="application">sh</span> shell.</p><p>If you're using a <span class="application">csh</span> or <span class="application">tcsh</span> type:</p><p><strong class="userinput"><code>setenv NTED_FONT_DIR /home/smith/datafiles</code></strong></p><p>To find out your shell type:</p><p><strong class="userinput"><code>echo $SHELL</code></strong></p><p>at command promt.</p></td></tr><tr class="question" title="A.4."><td align="left" valign="top"><a name="id2566929"></a><a name="id2566931"></a><p><b>A.4.</b></p></td><td align="left" valign="top"><p>
During program startup I get an error: "Cannot open ALSA MIDI sequencer --&gt; replay won't work ..."! What's wrong ?
</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>That means you either have no ALSA sound system. Or you have an ALSA sound system but for complicated
reasons your ALSA midi sequencer is not initialized. In many cases this is due to a missing module. Therefore try (as root):</p><p><strong class="userinput"><code>modprobe snd-seq-midi</code></strong></p><p>and restart NtEd.</p></td></tr><tr class="question" title="A.5."><td align="left" valign="top"><a name="id2566960"></a><a name="id2566962"></a><p><b>A.5.</b></p></td><td align="left" valign="top"><p>
During <span class="application">make</span> step an error occurs: <code class="computeroutput">/bin/sh: gdk-pixbuf-csource: command not found</code>.
What's wrong ?
</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>This has to do with your PATH environment variable. Many Linuxes place the program <span class="application">gdk-pixbuf-csource</span> at
<code class="filename">/opt/gnome/bin</code>. Actually this should be
in your PATH. But under certain circumstances this is not
the case. If so then make sure <code class="filename">/opt/gnome/bin</code> is in your PATH. If you have a (t)csh shell type:</p><p><strong class="userinput"><code>setenv PATH "$PATH:/opt/gnome/bin"</code></strong></p><p>If you have another shell type:</p><p><strong class="userinput"><code>export PATH=$PATH:/opt/gnome/bin</code></strong></p><p>To determine your shell type:</p><p><strong class="userinput"><code>echo $SHELL</code></strong></p></td></tr><tr class="question" title="A.6."><td align="left" valign="top"><a name="id2567035"></a><a name="id2567037"></a><p><b>A.6.</b></p></td><td align="left" valign="top"><p>During configure step I get an error: "configure: error: C++ compiler cannot create executables, See `config.log' for more details.". What's wrong?</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>Ok, you can inspect the <code class="filename">config.log</code>. But this is presumably superfluous, because in most cases
that means: You have no C++ compiler installed.</p></td></tr></tbody></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a>&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;</td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;2.&#160;Credits and License&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;</td></tr></table></div></body></html>