File: FAQ

package info (click to toggle)
nted 1.10.18-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 15,300 kB
  • sloc: cpp: 50,840; ansic: 10,195; sh: 4,552; makefile: 207; sed: 16
file content (221 lines) | stat: -rw-r--r-- 6,477 bytes parent folder | download | duplicates (6)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
*A.1.*

I can't hear any sound! I see the running red notes but there is no
sound! What's wrong?

**

This has nothing to do with NtEd! It is a problem of your MIDI device!
All MIDI based applications (for instance kmid (not kmidi!!!) or
pmidi) will fail!

First of all: Try to play a MIDI file with kmid (not (!!!)). As
long as kmid 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.

Please refer to the ALSA project page (http://www.alsa-project.org) to
find out whether the midi device on your sound card is supported.

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 ".sf2" or ".SF2". 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.

To to this you need a programm called asfxload

    http://www.alsa-project.org/~tiwai/awedrv.html#Utils

Simply type:

 asfxload <soundfont>.sf2

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
http://alsa.opensrc.org/8MBGMSFX.SF2.

If asfxload fails your soundcard does not permit loading a soundfont.

There is still a last chance that not all needed moduls are loaded. So
as a last attempt type as root:

 modprobe snd_seq_midi

and repeat the asfxload command.

If asfxload 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!

Such emulation software exists for Linux, too. But it is more
complicated because:

    * You have to start this software "by hand".

    * 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.

But there is a (relatively bulky) way! See The TiMidity server section
in NtEd documentation:

http://vsr.informatik.tu-chemnitz.de/~jan/noteedit/NTED/doc/timidity_server.html

for detailed instructions!

Note! There are more software synthesizers on Linux, which can be
tested. Among them the FluidSysth (http://fluidsynth.resonance.org/trac).

See http://www.linux-sound.org for a list.

      Note

  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!

*A.2*
I use TiMidity but the sound is distorted and somtimes I have no sound, at all. What's wrong?

**

Check whether you have a command pulseaudio:

     which pulseaudio

If you get the path of pulseaudio then follow the instructions in chapter
"pulseaudio"

*A.3.*

At program start it says: "Error in FT_Open_Face"! What's wrong!

**

You have not installed the program! Please type (as root):

  make install

Refer also to INSTALL file shipped with the |nted-x.y.z.tgz| archive.

*A.4.*

I use asfxload but I get an error "sfxload: no memory left" and some instruments are missing during replay. What's wrong?

**

Don't believe the many rumours on different mailing lists!xi
I have bad news for you: You have to build a new kernel. Terrible, I know!
If you feel unable to do this then try to use the TiMidity server.

Otherwise download the kernel and change in

          arch/x86/include/asm/dma.h:

#define MAX_DMA32_PFN ((4UL * 1024 * 1024 * 1024) >> PAGE_SHIFT)

against:

#define MAX_DMA32_PFN ((2UL * 1024 * 1024 * 1024) >> PAGE_SHIFT)

Then build the kernel! Refer to
https://lists.ubuntu.com/archives/universe-bugs/2009-March/068812.html
for more details!

*A.5.*

I cannot install NtEd because I have no root rights. What shall I do?

**

You can use the --prefix option to install the NtEd in an arbitrary
directory below your $HOME directory. Please refer also to INSTALL file!

Furthermore, if you want to avoid the make install command then set
an environment variable NTED_FONT_DIR to the directory where the
nted/ntedfont.pfa is situated.

For instance, assume the ntedfont.pfa is at
/home/smith/datafiles/nted/ntedfont.pfa type at command prompt:

export NTED_FONT_DIR=/home/smith/datafiles

if you have a bash or sh shell.

If you're using a csh or tcsh type:

setenv NTED_FONT_DIR /home/smith/datafiles

To find out your shell type:

echo $SHELL

at command promt.

*A.6.*
May I set lyrics as text blocks below the sheet music? How can I use the score in common texts? 

**

This would require to write a musical score editor and a text editor! This is too complex! But have a look at:

   http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/use_nted_in_text.xhtml

There you can find some proposals about that topic.

*A.7.*

During program startup I get an error: "Cannot open ALSA MIDI sequencer -->
replay won't work ..."! What's wrong ?

**

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):

  modprobe snd-seq-midi

and restart NtEd.

*A.8.*

During make step an error occurs: /bin/sh: gdk-pixbuf-csource: command
not found|. What's wrong ?

**

You are a SuSE-Linux user! SuSE places this tool at /opt/gnome/bin.
Actually this should be in your PATH. But under certain circumstances
this is not the case. If so then make sure /opt/gnome/bin is in your
PATH. If you have a (t)csh shell type:

setenv PATH "$PATH:/opt/gnome/bin"

If you have another shell type:

export PATH=$PATH:/opt/gnome/bin

To determine your shell type:

echo $SHELL

*A.9.*

During configure step I get an error:
"configure: error: C++ compiler cannot create executables,
See `config.log' for more details.".
What's wrong!

**

Ok, you can inspect the config.log. But this is presumably superfluous,
because in most cases that means: You have no C++ compiler installed.