ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] alsa и midi
@ 2003-12-03 14:35 Dmitriy Shcherbakov
  2003-12-03 16:26 ` Sergey Lizogub
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitriy Shcherbakov @ 2003-12-03 14:35 UTC (permalink / raw)
  To: community

Добрый день!
Понимаю, что мой вопрос из разряда faq, но чего-то я не понимаю...
У меня стоит SBLive5.1.
Пытаюсь настроить драйверы alsa:
# uname -r
2.4.22-std-up-alt12

# rpm -qa|grep alsa
alsa-patch-bay-1.0.0-alt0.5
kernel-doc-alsa-0.9.8-0.9.8-alt1
alsaplayer-plugins-0.99.75-alt1
xmms-alsa-0.9.12-alt1
ZynAddSubFX-alsa-1.4.3-alt0.5
alsa-oss-0.9.8-alt1
alsa-tools-0.9.8-alt1
librosegarden-alsa-0.9.1-alt0.6
alsa24-up-2.4.20_0.9.0rc7-alt7
kernel-modules-alsa-std-up-0.9.8-alt4.12
alsa-patch-bay-common-1.0.0-alt0.5
libalsa-0.9.8-alt2
libalsaplayer-0.99.75-alt1
alsa-patch-bay-ui-gtk-1.0.0-alt0.5
alsa24-openmosix-up-2.4.19_0.9.0rc5-alt1
alsaplayer-0.99.75-alt1

# cat /etc/modules.conf
...
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 
snd_device_gid=
81 snd_device_uid=0
options snd-emu10k1 snd_index=0 snd_id=CARD_0
# MIDI
alias midi snd-seq-oss
post-install snd-seq-oss sfxload /etc/midi/8mbgmsfx.sf2

# ll /etc/midi/8mbgmsfx.sf2
-rw-r--r--    1 root     root      7572224 Дек  3 17:30 
/etc/midi/8mbgmsfx.sf2


при запуске service sound start, в логах:

Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_major=116, no 
such parame
ter in this module
Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_cards_limit=1, no 
such pa
rameter in this module
Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_device_mode=0660, 
no such
 parameter in this module
Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_device_gid=81, no 
such pa
rameter in this module
Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_device_uid=0, no 
such par
ameter in this module
Dec  3 17:24:56 itaks4 modprobe: Module snd loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-ac97-codec loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-hwdep loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-page-alloc loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-seq-device loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-util-mem loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-rawmidi loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-timer loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Module snd-pcm loaded, with warnings
Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_index=0, no such 
paramete
r in this module
Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_id=CARD_0, no 
such parame
ter in this module
Dec  3 17:24:56 itaks4 modprobe: Module snd-emu10k1 loaded, with warnings
Dec  3 17:24:56 itaks4 sound: Starting alsa sound driver snd-card-0: 
succeeded
Dec  3 17:24:56 itaks4 aumix-minimal: vol set to 0, 0, P
...
Dec  3 17:24:56 itaks4 sound: Loading mixer settings: succeeded


После всего, музыка и фильмы нормально воспроизводятся, но при попытках 
запустить midi:
$ timidity /mnt/windows/Guitar\ Pro/All\ in\ hands.mid
Playing /mnt/windows/Guitar Pro/All in hands.mid
MIDI file: /mnt/windows/Guitar Pro/All in hands.mid
Format: 1  Tracks: 8  Divisions: 480
Track name: Nylon-string guitar
Track name: Flute
Track name: Guitar solo 1
Track name: Guitar solo 2
Track name: Bass
Track name: Acoustic guitar
Track name: Drums
Drum set 24 is undefined
No instrument mapped to tone bank 0, program 24 - this instrument will 
not be heard
No instrument mapped to tone bank 0, program 29 - this instrument will 
not be heard
...


Вопрос: "Где я отупился?"

С уважением, Дмитрий



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] alsa и midi
  2003-12-03 14:35 [Comm] alsa и midi Dmitriy Shcherbakov
@ 2003-12-03 16:26 ` Sergey Lizogub
  2003-12-04  7:18   ` Dmitriy Shcherbakov
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Lizogub @ 2003-12-03 16:26 UTC (permalink / raw)
  To: community

Wed, 03 Dec 2003 17:35:14 +0300
Dmitriy Shcherbakov <dimka_list@vzljot.ru> Вы писали:

> Добрый день!
> Понимаю, что мой вопрос из разряда faq, но чего-то я не
> понимаю... У меня стоит SBLive5.1.
> Пытаюсь настроить драйверы alsa:
> # uname -r
> 2.4.22-std-up-alt12
> 
> # rpm -qa|grep alsa
> alsa-patch-bay-1.0.0-alt0.5
> kernel-doc-alsa-0.9.8-0.9.8-alt1
> alsaplayer-plugins-0.99.75-alt1
> xmms-alsa-0.9.12-alt1
> ZynAddSubFX-alsa-1.4.3-alt0.5
> alsa-oss-0.9.8-alt1
> alsa-tools-0.9.8-alt1
> librosegarden-alsa-0.9.1-alt0.6
> alsa24-up-2.4.20_0.9.0rc7-alt7
> kernel-modules-alsa-std-up-0.9.8-alt4.12
> alsa-patch-bay-common-1.0.0-alt0.5
> libalsa-0.9.8-alt2
> libalsaplayer-0.99.75-alt1
> alsa-patch-bay-ui-gtk-1.0.0-alt0.5
> alsa24-openmosix-up-2.4.19_0.9.0rc5-alt1
> alsaplayer-0.99.75-alt1
> 
> # cat /etc/modules.conf
> ...
> alias char-major-116 snd
> alias snd-card-0 snd-emu10k1
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> options snd snd_major=116 snd_cards_limit=1
> snd_device_mode=0660 snd_device_gid=
> 81 snd_device_uid=0
> options snd-emu10k1 snd_index=0 snd_id=CARD_0
> # MIDI
> alias midi snd-seq-oss
> post-install snd-seq-oss sfxload /etc/midi/8mbgmsfx.sf2
> 
> # ll /etc/midi/8mbgmsfx.sf2
> -rw-r--r--    1 root     root      7572224 Дек  3 17:30 
> /etc/midi/8mbgmsfx.sf2
> 
> 
> при запуске service sound start, в логах:
> 
> Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring
> snd_major=116, no such parame
> ter in this module
> Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring
> snd_cards_limit=1, no such pa
> rameter in this module
> Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring
> snd_device_mode=0660, no such
>  parameter in this module
> Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring
> snd_device_gid=81, no such pa
> rameter in this module
> Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring
> snd_device_uid=0, no such par
> ameter in this module
> Dec  3 17:24:56 itaks4 modprobe: Module snd loaded, with
> warnings Dec  3 17:24:56 itaks4 modprobe: Module snd-ac97-codec
> loaded, with warnings Dec  3 17:24:56 itaks4 modprobe: Module
> snd-hwdep loaded, with warnings Dec  3 17:24:56 itaks4
> modprobe: Module snd-page-alloc loaded, with warnings Dec  3
> 17:24:56 itaks4 modprobe: Module snd-seq-device loaded, with
> warnings Dec  3 17:24:56 itaks4 modprobe: Module snd-util-mem
> loaded, with warnings Dec  3 17:24:56 itaks4 modprobe: Module
> snd-rawmidi loaded, with warnings Dec  3 17:24:56 itaks4
> modprobe: Module snd-timer loaded, with warnings Dec  3
> 17:24:56 itaks4 modprobe: Module snd-pcm loaded, with warnings
> Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring snd_index=0,
> no such paramete
> r in this module
> Dec  3 17:24:56 itaks4 modprobe: Warning: ignoring
> snd_id=CARD_0, no such parame
> ter in this module
> Dec  3 17:24:56 itaks4 modprobe: Module snd-emu10k1 loaded,
> with warnings Dec  3 17:24:56 itaks4 sound: Starting alsa sound
> driver snd-card-0: succeeded
> Dec  3 17:24:56 itaks4 aumix-minimal: vol set to 0, 0, P
> ...
> Dec  3 17:24:56 itaks4 sound: Loading mixer settings: succeeded
> 
> 
> После всего, музыка и фильмы нормально воспроизводятся, но при
> попытках запустить midi:
> $ timidity /mnt/windows/Guitar\ Pro/All\ in\ hands.mid
> Playing /mnt/windows/Guitar Pro/All in hands.mid
> MIDI file: /mnt/windows/Guitar Pro/All in hands.mid
> Format: 1  Tracks: 8  Divisions: 480
> Track name: Nylon-string guitar
> Track name: Flute
> Track name: Guitar solo 1
> Track name: Guitar solo 2
> Track name: Bass
> Track name: Acoustic guitar
> Track name: Drums
> Drum set 24 is undefined
> No instrument mapped to tone bank 0, program 24 - this
> instrument will not be heard
> No instrument mapped to tone bank 0, program 29 - this
> instrument will not be heard
> ...
> 
> 
> Вопрос: "Где я отупился?"
> 
> С уважением, Дмитрий
> 
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community




	У меня в /etc/modules.conf для звука (SBLive5.1) записано
следующее (кто-то в рассылке посказал):

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss

alias char-major-226 off
alias char-major-97 off
alias block-major-33 off
alias block-major-34 off


	Всё, включая midi, играется.
	Вообще-то, судя по конфигу, у Вас  midi секвенсер настроен и
банк загружается для OSS, а не для ALSA (alias midi snd-seq-oss;
post-install snd-seq-oss sfxload /etc/midi/8mbgmsfx.sf2)

	С уважением,
	Сергей Лизогуб


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] alsa и midi
  2003-12-03 16:26 ` Sergey Lizogub
@ 2003-12-04  7:18   ` Dmitriy Shcherbakov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitriy Shcherbakov @ 2003-12-04  7:18 UTC (permalink / raw)
  To: community


>	Всё, включая midi, играется.
>
А мне не помогло :( Музыка воспроизводится, а midi не хочет. Тоже пишет, 
что
Drum set 24 is undefined
No instrument mapped to tone bank 0 и т.д.

>	Вообще-то, судя по конфигу, у Вас  midi секвенсер настроен и
>банк загружается для OSS, а не для ALSA (alias midi snd-seq-oss;
>post-install snd-seq-oss sfxload /etc/midi/8mbgmsfx.sf2)
>  
>
А где у Вас грузятся банки?
Конфиг я с atmsk.ru сдирал. И там говорят, что у них работает...
Конечно, мне тоже никто не мешает говорить :) , но все таки хочется 
чего-то большого чистого и настоящего.

С уважением, Дмитрий




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-04  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-03 14:35 [Comm] alsa и midi Dmitriy Shcherbakov
2003-12-03 16:26 ` Sergey Lizogub
2003-12-04  7:18   ` Dmitriy Shcherbakov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git