|-d <dsp>||Set the DSP audio device.|
Set the Mixer device.
Directly underneath are the Record, Stop and Playback buttons and underneath that is the track selection which comprises a display of the current track number, Previous Track and Next Track buttons, and the Erase track button. Using the right mouse button on the Previous and Next track buttons changes the volume.
Arranged from top to bottom on the right hand side of the interface are controls for selecting the Input Source (either Mic, Line or CD), the Sample Rate (either 8000, 11025, 22050 or 44100), the Mono / Stereo toggle and the 8-bit / 16-bit toggle.
All files are stored in the directory $HOME/.wmrecord. Recordings are listed "rec01.wav" ... "rec99.wav", while the configuration file is called "wmrecordrc".
WMRecord uses the OSS (Open Sound System) as its interface to the audio hardware. WMRecord also assumes that samples are little-endian. As such, this means that WMRecord is probably limited to the x86 architecture.
There is no processing of the recorded audio. This means that there is no noise filtering, and data is written to disk uncompressed.
8-bit data does not appear to be recorded correctly.
There is no more space on the interface for new buttons. *sigh*
The interface is based on an excellent dockapp called WMTune, with the input source icons being taken from another excellent app called WMMixer. Well, Im not too good at drawing fiddly little things and these applications look great. The sources for WMTune (and other dockapps for that matter) also came with a general purpose dockapp library which I have also used for creating the window and copying pixmaps around. I think that this should be packaged up into a separate library for WindowMaker / Afterstep as it really cuts down the number of hoops you have to jump through in order to please Xlib.
- Find a better way to update the configuration file. Normally I would have left all updates until the program received a signal or a DestroyNotify event but this does not seem to achieve the desired effect in WindowMaker.
- Implement a method for selecting the dsp and mixer devices without the need for command line switches.
- Fix the playback timing bug: the playback counter updates more rapidly than the rate at which the recording is being output, unless high quality settings are specified.
- Allow a user to impose a maximum recording time.
- A configure script or Imake setup, perhaps?
Malcolm Cowe <email@example.com>
|Linux||WMRECORD (1)||4th October 1999|