play -v 0.1 /opt/licq/share/licq/sounds/icq/Message.wav
play -v 0.1 /opt/licq/share/licq/sounds/icq/Message.wav
-v volume Change amplitude (floating point); less than 1.0 decreases, greater than 1.0 increases. Note: we perceive volume loga- rithmically, not linearly. Note: see the stat effect.
documented on: 2001.01.11
Aumix is a tty-based, interactive method of controlling a sound card mixer. It lets you adjust the input levels from the CD, microphone, and board synthesizers, as well as the output volume. Aumix can adjust audio mixers from the command line, from a script, or interactively at the console or terminal with an ncurses-based interface. Install aumix if you need to control an audio mixer. If you want to use Aumix's GUI, you'll need to install ncurses and gpm for mouse support.
Aumix-X11 is a gtk-based, interactive method of controlling a sound card mixer. It lets you adjust the input levels from the CD, microphone, and board synthesizers, as well as the output volume. Aumix can adjust audio mixers from the command line, from a script, or interactively at the console or terminal with an ncurses-based interface. Install aumix if you need to control an audio mixer from X11.
A sound mixer applet for KDE. kmix allows you to control the volumes of your sound card from a KDE panel applet.
Dockapp mixer for OSS or ALSA. Allows toggling record source, muting individual channels, adjusting volume and balance, all in a compact dockapp size, with TV-like on-screen-display for volume levels. Supports mousewheel to adjust current channel volume, and can be controlled remotely with SIGUSR1 / SIGUSR2 to adjust the volume, too. Can use a configuration file to control some of the features.
Cdparanoia (Paranoia III) reads digital audio directly from a CD, then writes the data to a file or pipe in WAV, AIFC or raw 16 bit linear PCM format. Cdparanoia's strength lies in its ability to handle a variety of hardware, including inexpensive drives prone to misalignment, frame jitter and loss of streaming during atomic reads. Cdparanoia is also good at reading and repairing data from damaged CDs.
Newsgroups: gmane.linux.debian.user Date: Thu, 3 Aug 2006 16:21:01 +0200
> I want to generate beeping sounds in a program.
I'm not sure I understand what you want to do, but it sounds like you want to playback digital audio samples.
If so, what you probably want is something like libao2 and libao-dev.
CJ van den Berg
> No, I don't want to play back anything: I want to *generate* a beeping > sound. The type depends upon the occasion.
So you actually want to synthesize the beep? Is that right?
If you really do want just a beep you could synthesize the sine wave yourself pretty easily. The one and only source code example in the libao coincidentally does exactly that.
> Right now I use Nas, which has good support from Jon Trulson. But that > is meant really as a network sound server and not made for playing back > to a particular sound card.
The libao alsa driver (alsa09), which I assume you would be using, allows you to specify which device (ie. sound card) you want to use. The oss driver will too.
> E.g. if it is 11:30 I want to produce 5 beeps for maritime chimes. If > the dialup line goes down I want to produce 9 beeps. > > I would prefer to produce the beeps for a particular soundcard, for the > user that is logged on to a monotor that uses that card.
A few lines of tweaking to that example I linked above should do exactly what you want.
CJ van den Berg
> > No, I don't want to play back anything: I want to *generate* a beeping > > sound. The type depends upon the occasion.
I missed the original message, but how about the beep package?
andrew@basement:~$ apt-cache show beep Package: beep Priority: optional Section: sound
Description: advanced pc-speaker beeper
beep does what you'd expect: it beeps. But unlike printf "\a" beep allows you to control pitch, duration, and repetitions. Its job is to live inside shell/perl scripts and allow more granularity than one has otherwise. It is controlled completely through command line options. It's not supposed to be complex, and it isn't - but it makes system monitoring (or whatever else it gets hacked into) much more informative.
Tag: interface::commandline, made-of::lang:c, role::sw:utility, works-with::audio
Andrew Sackville-West
Newsgroups: comp.os.linux.misc Date: Sun, 16 Feb 2003 21:51:38 GMT
> Does anyone know of any good sound editors for Linux? There's a > program called "Cool Edit 2000" for windows, which has all kinds of > useful features for editing wave files. However, I have not come across > anything good for Linux.
Here's a few in no particular order:
John Thompson @attglobal.net
You'll probably find that none of them can quite match cooledit yet, but they are reapidly closing the gap.
I recommend that you try:
Erik de Castro Lopo
Newsgroups: comp.os.linux.misc > I would like to do some processing on audio data...
Sound-HOWTO Source for any of the soundcard programs linux/soundcard.h for all the ioctl() calls
Laura Halliday
The Linux Soundapps Site at http://sound.condorow.net
Dave Phillips
Linux > Audio > Editors
aRts — Analog Realtime Synthesizer aRts simulates a complete "modular analog synthesizer" on your - digital - computer.
File Size: 653 Kb
Dr Fermi tabulator The FermiTab tabulator program is a program to convert an ASCII file containing music notated in tablature to a MIDI file.
File Size: 28 Kb
DrumPatterns DrumPatterns is a free, open source, web oriented drum patterns generator.
File Size: 229
Freebirth Freebirth is a free software bass synthesizer/ step sequencer/ sample player for the linux operating system.
File Size: 2400 Kb
gsyn gsynth is designed to be an extensible, modular synthesizer.
File Size: 62 Kb
id3ed id3 tag editor for mp3 files.
File Size: 31 Kb
id3tool id3tool is a command line utility for easy manipulation of the ID3 tags present in MPEG Layer 3 audio files.
File Size: N/A
Jazz` JAZZ` is a full featured, audio capable midi sequencer for Linux and Windows.
File Size: 2854 Kb
juice Juice is a frontend for mpg123 and other players.
File Size: 126 Kb
Krabber Krabber is a front-end for several text based applications.
File Size: 669 KB
xmmsao is (at this point) an xmms output plugin that uses the ao audio output library. The great benefit of this is that, whether your sound system is OSS, ALSA, ESD, or aRts, the sound will work. You can (pressing stop in-between) switch among those, and the plugin will adapt. It is ideal for users who switch regularly between desktop environments or for admins who are tired of fielding "why doesn't xmms-esd work in KDE?" questions.
xmmsao should support most effect plugins. As this plugin outputs to a generic library, an output plugin which operates closer to the actual output system may be preferable in some cases.
/usr/lib/xmms/Output/libaoout.so /usr/share/doc/xmmsao-0.6 /usr/share/doc/xmmsao-0.6/COPYING
Newsgroups: comp.unix.programmer Date: 2001-07-10 05:39:32 PST
> I am suppose to program with the .au sound files. Could anyone tell me > where I can find any specifications for this sound file format and other > sound file formats?
This should get you started:
Fredrik Roubert
There is open source software package named sox, which converts various sound formats and applies some effects on them.
Its documentation is good enough source of information. I didn't look into its code, but I thing it can worth reading too.
Apart it, there is various libaudiofile, libsndfile etc, which have uniform API to variety of formats, typically including Sun audio.
Victor Wagner
AU is more than one file format. The data can be stored as 8, 16, 24 or 32 bit PCM values, samples encoded as A law, mu-law and about 2 dozen other compression formats.
Your best bet is to use a library which abstracts away all the complexity. I suggest libsndfile:
http:/www.zip.com.au/~erikd/libsndfile/
There are other as well.
Erik
View this article only Newsgroups: comp.multimedia Date: 1996/01/03
hello,
i am trying to find out what the specifics of the header is for the au sound file format. i know it has components made up of sampling rate, number of channels, etc. but i would like to have specifics. i have raw input datat that i'd like to convert to a sound file by adding the appropriate header but need header specifics in order to do so.
On a Sun, you can do a "man 3 audio_hdr" to find the following info…
AUDIO_HDR(3) Audio Library AUDIO_HDR(3)
header is defined in <multimedia/audio_hdr.h> as follows: typedef struct { unsigned sample_rate; /* samples per second */ unsigned samples_per_unit; /* samples per unit */ unsigned bytes_per_unit; /* bytes per sample unit */ unsigned channels; /* # of interleaved channels */ unsigned encoding; /* data encoding format */ unsigned data_size; /* length of data (advisory) */ } Audio_hdr;
David Oseas
cat /dev/urandom > /dev/dsp
for white noise.
documented on: 5/06/2007, h3g3m0n
My personal favorite is
$ dd if=/dev/random of=/dev/audio # or /dev/dsp on Linux
Of course, if there are other users on your system, this will get them rather torked off at you if they need to use pgp or ssh.
And if there aren't other users, /dev/random will probably produce its output slowly enough that you won't actually hear anything. This is the case, at least, under Linux 2.4, where /dev/random is relatively random. However, /dev/urandom works fine.