Доброго времени суток! Не могу воспроизвести midi файлы. Mandrake10.1, ядро 2.6.8.1, KDE 3.2.3, мат.плата - intel со встроенным звуком на i810. Пробовал Kmid - не воспроизводит. Rosegarden - открывает и читает файл, но без звука. Есть /dev/sequencer , /dev/sequencer0 , /dev/sound/sequencer , /dev/sound/sequencer2 .
В чем может быть проблема? И как ее решить.
Воспроизведение midi. (Не могу воспроизвести midi файлs.)
Модератор: Модераторы разделов
-
NIK1910
- Сообщения: 269
- ОС: SlackWare
Re: Воспроизведение midi.
Попробуй TiMidity++, я ей прослушиваю.
-
TIM
- Сообщения: 91
- ОС: FreeBSD
Re: Воспроизведение midi.
/dev/sequencer - это MIDI-OUT
если он у вас подключен к синтезатору или переключается на WaveTable - всё OK - музыка будет 
в противном случае придётся эмулировать вышеназванные девайсы.
IMHO, лучше всего это делает timidity++ вместе с более-менее человеческим банком инструментов/патчей, вроде GUSёвых MIDI патчей by Eric A. Welsh , FantaGM32 или JNSGM1.0 ... (ссылки на банки и их конфигурацию для timidity++ можно взять здесь)
также, timidity++ собирается с фронтендом к ALSA и в программах-секвенсорах, вроде Muse или Rosegarden подключается как MIDI-канал ALSA. (примерный запуск: timidity -iA). Ещё читаем http://www.midi-howto.com/
в противном случае придётся эмулировать вышеназванные девайсы.
IMHO, лучше всего это делает timidity++ вместе с более-менее человеческим банком инструментов/патчей, вроде GUSёвых MIDI патчей by Eric A. Welsh , FantaGM32 или JNSGM1.0 ... (ссылки на банки и их конфигурацию для timidity++ можно взять здесь)
также, timidity++ собирается с фронтендом к ALSA и в программах-секвенсорах, вроде Muse или Rosegarden подключается как MIDI-канал ALSA. (примерный запуск: timidity -iA). Ещё читаем http://www.midi-howto.com/
-
Dr. Evil
- Сообщения: 411
- ОС: openSUSE 11.0 Beta3
-
arif
- Сообщения: 22
Re: Воспроизведение midi.
(NIK1910 @ Пятница, 24 Июня 2005, 8:30) писал(а):Попробуй TiMidity++, я ей прослушиваю.
Компилиться не хочет. Ошибку рекурсии выдает. Что бы это значило?
arif добавил в 05.07.2005 00:29
(Dr. Evil @ Пятница, 24 Июня 2005, 12:55) писал(а):xmms + plugin
http://rpm.pbone.net/index.php3/stat/4/idp...1.i386.rpm.html
xmms через arts работает. Нестабильно работает - вылетает. При установке плагина выдает "Некоторые запрошенные пакеты не могут быть установлены:
xmms-midi-0.03-1.i386 (из-за неудовлетворенности timidity++)". Замкнутый круг какой-то.
-
t.t
- Бывший модератор
- Сообщения: 7390
- Статус: думающий о вечном
- ОС: Debian, LMDE
Re: Воспроизведение midi.
Это значит, что надо либо брать бинарный пакет под свой дистр, либо, если такового нет, рассказывать поподробнее в чём проявляется ошибка.(arif @ Понедельник, 04 Июля 2005, 23:29) писал(а):Компилиться не хочет. Ошибку рекурсии выдает. Что бы это значило?
¡иɯʎdʞ ин ʞɐʞ 'ɐнɔɐdʞǝdu qнεиж
-
arif
- Сообщения: 22
Re: Воспроизведение midi.
И так. расскажу лучше сначала.
$ playmidi my.mid
Playmidi 2.4 Copyright © 1994-1997 Nathan I. Laredo, AWE32 by Takashi Iwai
This is free software with ABSOLUTELY NO WARRANTY.
For details please see the file COPYING.
open /dev/sequencer: No such file or directory
Устройства /dev/sequencer действительно нет.
$ kmid ar.mid
KMid 2.0 Copyright © 1997,98,99,2000,01 Antonio Larrosa Jimenez. Malaga (Spain)
KMid comes with ABSOLUTELY NO WARRANTY; for details view file COPYING
This is free software, and you are welcome to redistribute it under certain conditions
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
handle==0
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
handle==0
Попробуем Timidity++
После установки из TiMidity++-2.13.2.tar.bz2 имеем:
$ whereis timidity
timidity: /usr/local/bin/timidity /usr/share/timidity
$ timidity my.mid
/usr/local/share/timidity/timidity.cfg: No such file or directory
timidity: Can't read any configuration file.
Please check /usr/local/share/timidity/timidity.cfg
Читая имеющуюся документацию - непонятно где взять этот timidity.cfg =>
создаю пустой файл с таким названием в /usr/local/share/timidity/
Играю файл:
$ timidity ar.mid
Playing ar.mid
MIDI file: ar.mid
Format: 0 Tracks: 1 Divisions: 120
Sequence: Qalby Habek
Tone bank 8 is undefined
No instrument mapped to tone bank 0, program 5 - this instrument will not be heard
No instrument mapped to tone bank 0, program 11 - this instrument will not be heard
No instrument mapped to tone bank 0, program 21 - this instrument will not be heard
No instrument mapped to tone bank 0, program 27 - this instrument will not be heard
No instrument mapped to tone bank 0, program 28 - this instrument will not be heard
No instrument mapped to tone bank 0, program 33 - this instrument will not be heard
No instrument mapped to tone bank 0, program 61 - this instrument will not be heard
No instrument mapped to tone bank 0, program 73 - this instrument will not be heard
No instrument mapped to drum set 0, program 36 - this instrument will not be heard
No instrument mapped to drum set 0, program 39 - this instrument will not be heard
No instrument mapped to drum set 0, program 40 - this instrument will not be heard
No instrument mapped to drum set 0, program 42 - this instrument will not be heard
No instrument mapped to drum set 0, program 46 - this instrument will not be heard
No instrument mapped to drum set 0, program 47 - this instrument will not be heard
No instrument mapped to drum set 0, program 48 - this instrument will not be heard
No instrument mapped to drum set 0, program 49 - this instrument will not be heard
No instrument mapped to drum set 0, program 50 - this instrument will not be heard
No instrument mapped to drum set 0, program 54 - this instrument will not be heard
No instrument mapped to drum set 0, program 60 - this instrument will not be heard
No instrument mapped to drum set 0, program 62 - this instrument will not be heard
No instrument mapped to drum set 0, program 64 - this instrument will not be heard
No pre-resampling cache hit
Ставлю xmms-midi-0.03-1.i386.rpm
Вылетает сообщение:
"Некоторые запрошенные пакеты не могут быть установлены:
xmms-midi-0.03-1.i386 (из-за неудовлетворенности timidity++) вы согласны?"
Чего еще не хватает?
-
valeri_ufo
- Бывший модератор
- Сообщения: 274
- Статус: Everywhere, yet nowhere
Re: Воспроизведение midi.
Я лично вот эту программу использую http://www.parabola.me.uk/alsa/pmidi.html
-
arif
- Сообщения: 22
Re: Воспроизведение midi.
valeri_ufo писал(а): ↑30.10.2005 07:39Я лично вот эту программу использую http://www.parabola.me.uk/alsa/pmidi.html
Благодарю всех кто участвовал в теме. Прогу timidity++ я все же установил. Главный косяк был в том, что небыло конфига timidity.cfg а в нем прописан путь к "инструментам". Конфиг нашел, путь переправил.
Конфиг прикрепляю.