Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

alsaconf(8) [suse man page]

ALSACONF(8)						      System Manager's Manual						       ALSACONF(8)

NAME
alsaconf - configuration tool for the Advanced Linux Sound Architecture SYNOPSIS
alsaconf [options] DESCRIPTION
This manual page documents briefly the alsaconf command. This manual page was written for the Debian distribution because the original program does not have a manual page. Alsaconf is a simple shell script which tries to detect the sound cards on your system and writes a suitable configuration file for ALSA. It will try to guess what GNU/Linux distribution you're running, and will act accordingly to the standards of that distribution, if spe- cific support is available. Alsaconf will write a module-init-tools (or modutils) snippet which can be then used by module-init-tools (or modutils) to load the correct parameters for your sound card. OPTIONS
Alsaconf accepts the following options: -c, --config file Specify the module config file. As default, alsaconf probes the available config file automatically. -d, --devmode mode Set the device mode for the ALSA devices (default = 0666). This option is obsolete in the recent ALSA version. -g, --gid gid Set the gid for the ALSA devices (default = 0). This option is obsolete in the recent ALSA version. -h, --help Displays this help text. -L, --log file Logging on the given file. The log is appended to the file. This option is for debugging purpose only. -l, --legacy Check only for legacy non-isapnp cards. -m, --modinfo Read module descriptions instead of reading a card database. -P, --listprobe List the supported legacy card modules. -p, --probe card-name Probe a legacy non-isapnp card and print module options. -r, --strict Set strict device mode (equiv. with -g 17 -d 0660). This option is obsolete in the recent ALSA version. -s, --sound-wav-file Use the specified wav file as a test sound. -u, --uid uid Set the uid for the ALSA devices (default = 0). This option is obsolete in the recent ALSA version. DEBIAN SPECIFIC
In Debian, the default gid of the device files is 29 (corresponding to the audio group) and the default device mode is 0660. For the ALSA base package, see also /usr/share/doc/alsa-base/ SEE ALSO
alsamixer(1), amixer(1), aplay(1), arecord(1) HOMEPAGE
http://www.alsa-project.org/ AUTHOR
The alsaconf script was written by Takashi Iwai <tiwai@suse.de>, Bernd Kaindl <bk@suse.de> and Jan Ondrej (SAL) <ondrejj@salstar.sk> This manual page was written by Jordi Mallach <jordi@debian.org>, for the Debian system (but may be used by others). February 23, 2003 ALSACONF(8)

Check Out this Related Man Page

PMIDI(1)                                                      General Commands Manual                                                     PMIDI(1)

NAME
pmidi - A midi file player for ALSA. SYNOPSIS
pmidi [ -pclient:port ] [ -l ] [ -ddelay ] file... DESCRIPTION
The pmidi command reads in the specified midi files and plays them through the ALSA sequencer. You can specify on the command line which sequencer port that you wish to use. Use the -l option to get a list of possible sequencer ports for your machine. OPTIONS -pclient:port Specify the ALSA port to send the midi file to. -l List the possible output ports that could be used. -ddelay Delay after song ends. This is used to prevent the last note of a song being chopped off early. The default is two seconds. Port numbers You can specify client:port numbers in the ALSA_OUTPUT_PORTS environment variable. You can also supply a comma (or space if quoted cor- rectly) separated list of client:port numbers. This will allow you to play midi files that use more than 16 channels. Examples pmidi song.mid song2.mid pmidi -p "64:0, 64:1" song.mid TROUBLE SHOOTING
Before you start you need to have ALSA installed and configured correctly. This man page cannot cover all general ALSA topics, but here are a few things to check when things do not seem to be working. Checking ALSA 1. First check that the correct sequencer modules are loaded for your sound card: - For a card with an external Midi connection, you need to load snd-seq-midi. - For the OPL2/3 internal synthesiser you need to load snd-synth-opl3. - For the AWE32/64 internal synthesiser you need to load snd-synth-emu8000. - For the SB Live! internal synthesiser you need to load snd-synth-emu10k1. - (Let me know of any more) 2a If you have an AWE32/64 or SB Live! you will need to load the sounds with sfxload in the same way as for the standard kernel drivers. 2b If you have the OPL3 FM synthesiser you will have to load the FM instruments with sbiload. See note below. 3. Make sure that the synth in the mixer is turned up and unmuted if appropriate. Before use Because you may have more than one sound card and each sound card may have several MIDI connections, you have to tell pmidi which one to use. First find out what the possibilities are for your system: If you run: pmidi -l it will give you a list of the possible devices that it can play to. On my system I get: Port Client name Port name 64:0 Rawmidi 0 - EMU10K1 MPU-401 (U EMU10K1 MPU - 401 (UART) 65:0 Emu10k1 WaveTable Emu10k1 Port 0 65:1 Emu10k1 WaveTable Emu10k1 Port 1 65:2 Emu10k1 WaveTable Emu10k1 Port 2 65:3 Emu10k1 WaveTable Emu10k1 Port 3 128:0 FLUID Synth (28152) Synth input port (28152) 129:0 Client-129 TiMidity port 0 129:1 Client-129 TiMidity port 1 Any of the port numbers in the first column can be used with pmidi. In the example above the first one is the external Midi port, the next four are the internal wave table synthesiser. Then there are two software synthesisers running, FluidSynth (http://www.fluidsynth.org) and Timididy. If you don't see anything listed then check that the correct ALSA modules are loaded as in the section "Checking ALSA". ENVIRONMENT
ALSA_OUTPUT_PORTS Port to use in playing midi file. SEE ALSO
playmidi(1) AUTHOR
Steve Ratcliffe <steve@parabola.demon.co.uk> Dec 20 2003 PMIDI(1)
Man Page