Differences between version 14 and predecessor to the previous major change of AlsaNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 14 | Last edited on Tuesday, June 15, 2004 3:29:36 pm | by JohnMcPherson | Revert |
Older page: | version 13 | Last edited on Monday, March 29, 2004 9:05:02 am | by JohnMcPherson | Revert |
@@ -6,40 +6,17 @@
* The sound card drivers (currently version 1.0.0rc2) downloadable from http://www.alsa-project.org appear to work ok with older alsa libraries (version 0.9.6 of alsa-base, alsa-utils, etc) that are currently in Debian Testing & Unstable.
-!!! Playing MIDI files on a SBLive! sound card
-You can
load "sound fonts" (wave table samples
for the midi sequencer) into the sound
card's memory
, and then use those to play MIDI files
. (Your ALSA drivers must have been built with
the --with-sequencer=yes configure
option.)
+!!! Soundblaster SB16 module
+On my LinuxKernel2.6 system, I couldn't
load the alsa module
for the [ISA] SB16
card,
+no matter what I did
. Eventually, I discovered it loaded fine if I disabled
the "isapnp"
+
option for the module
. Eg in /etc/modprobe.conf, I had
-1) You need the "sfxload" program. If you use Debian Woody, it is in the awe-drv package, otherwise grab it from http://mitglied.lycos.de/iwai/awesfx
-.4.4.tar.bz2
-and compile. (It is released under the [GPL]). It is designed for the SB AWE32 and AEW64, but works with SBLive cards too.
-This was recently (March 2004) added to Debian Unstable as the "awesfx" package.
-
-2) Load a "soundfont". The CDROM that came with your soundcard has some... for example, "./sfxload 8mbgmsfx.sf2". You can check that it is loaded into the soundcard's memory by doing "cat /proc/asound/card0/wavetableD1":
- Device: Emu10k1
- Ports: 4
- Addresses: 65:0 65:1 65:2 65:3
- Use Counter:
- Max Voices: 64
- Allocated Voices:
- Memory Size: 134217728
- Memory Available: 126786844
- Allocated Blocks: 527
- !SoundFonts: 1
- Instruments: 1849
- Samples: 526
- Locked Instruments: 1849
- Locked Samples: 526
-
-3) Use the "playmidi" program (debian: apt-get install playmidi), using the "-a" option to tell it to be AWE-compatible:
- $ playmidi -a /path/to/midi/file.mid
-
-
-Make sure the volume for the sequencer isn't muted; in "alsamixer", you are looking for the slider named "Music".
-
-!!Software playback of MIDI files
-You can always install the "timidity" package - this is a software synthesizer that reads midi files and sends "normal" PCM data to the soundcard, just like an MP3 or OGG playing program would. Be warned that timidity is a large download as it has lots of samples.
+ options snd
-sb16 isapnp=
+It seemed to be defaulting to trying to use isapnp but that didn't work, whether or not
+I enabled kernel isapnp support and bios PNP support.
!!! Compiling [ALSA] on RedHatLinux
@@ -47,8 +24,10 @@
touch include/linux/workqueue.h
between __./configure__ and make(1) on __alsa-driver__.
+
+
!!! Compiling [ALSA] on RedHatLinux using the FreshRpms [SRPM]
You probably want to set up your own __.rpmmacros__ file first, as per [RPMNotes]. Remember to specify the target architecture and the card (see the [ALSA soundcard matrix|http://www.alsa-project.org/alsa-doc/] to find yours) to compile for, eg.
@@ -129,4 +108,41 @@
pcm.mixer0 {
type hw
card 0
}
+
+
+
+
+!!! Playing MIDI files on a SBLive! sound card
+(note - this isn't really ALSA specific)
+
+You can load "sound fonts" (wave table samples for the midi sequencer) into the sound card's memory, and then use those to play MIDI files. (Your ALSA drivers must have been built with the --with-sequencer=yes configure option.)
+
+1) You need the "sfxload" program. If you use Debian Woody, it is in the awe-drv package, otherwise grab it from http://mitglied.lycos.de/iwai/awesfx-0.4.4.tar.bz2
+and compile. (It is released under the [GPL]). It is designed for the SB AWE32 and AEW64, but works with SBLive cards too.
+This was recently (March 2004) added to Debian Unstable as the "awesfx" package.
+
+2) Load a "soundfont". The CDROM that came with your soundcard has some... for example, "./sfxload 8mbgmsfx.sf2". You can check that it is loaded into the soundcard's memory by doing "cat /proc/asound/card0/wavetableD1":
+ Device: Emu10k1
+ Ports: 4
+ Addresses: 65:0 65:1 65:2 65:3
+ Use Counter: 0
+ Max Voices: 64
+ Allocated Voices: 0
+ Memory Size: 134217728
+ Memory Available: 126786844
+ Allocated Blocks: 527
+ !SoundFonts: 1
+ Instruments: 1849
+ Samples: 526
+ Locked Instruments: 1849
+ Locked Samples: 526
+
+3) Use the "playmidi" program (debian: apt-get install playmidi), using the "-a" option to tell it to be AWE-compatible:
+ $ playmidi -a /path/to/midi/file.mid
+
+
+Make sure the volume for the sequencer isn't muted; in "alsamixer", you are looking for the slider named "Music".
+
+!!Software playback of MIDI files
+You can always install the "timidity" package - this is a software synthesizer that reads midi files and sends "normal" PCM data to the soundcard, just like an MP3 or OGG playing program would. Be warned that timidity is a large download as it has lots of samples.