Difference between revisions of "Audio"

From ElphelWiki
Jump to: navigation, search
(Test Audio Playback)
Line 34: Line 34:
  
 
With most audio devices you should hear the audio file play through the headphones without any further configurations.
 
With most audio devices you should hear the audio file play through the headphones without any further configurations.
 +
 +
==Alsamixer==
 +
[[Image:Xterm.jpeg|thumb|200px]]
 +
 +
Alsamixer is a graphical audio mixer that you be used with just the console.
 +
 +
===Installation===
 +
Download: [[Image:Alsamixer.tgz]]
 +
 +
Download the tgz archive and transfer it to the camera with FTP to /tmp
 +
Next, login via telnet/ssh/console to camera and execute:
 +
 +
cd /
 +
tar -xzf  /tmp/alsamixer.tgz
 +
 +
===Usage===
 +
For using alsamixer set terminal type after each relogin via console
 +
 +
for color output:
 +
export TERM=xterm
 +
alsamixer
 +
 +
for black/white output:
 +
export TERM=vt220
 +
alsamixer
 +
 +
 +
Once alsamixer is running you can use the arrow keys to navigate, turn volume up/down and use some F keys for switching between playback/recording and settings.

Revision as of 01:15, 22 September 2010

Parts to try

Approved parts

THE T.BONE MICPLUG USB : http://www.thomann.de/gb/the_tbone_micplug_usb.htm
T.Bone MicPlug USB

The T.Bone MicPlug USB - USB interface with mic preamp and internal A/D converter (16bit, 44.1/48kHz), internal 48V phantom power, headphone output, professional preamp with adjustable gain, USB powered, includes USB cable.

Audio USB interface (with XLR-mic pre amp)

Microphones

Software

Detect Devices

USB hardware is hot-plugable and should function just seconds after it was inserted.

To test whether a USB audio device was detected execute the following in the console:

aplay -l 

you should get a list of connected the devices similar to this:

**** List of PLAYBACK Hardware Devices ****
card 0: default [USB  AUDIO  ], device 0: USB Audio [USB Audio]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

Test Audio Playback

Most USB audio hardware comes with a built in headphones jack or any other way of audio output. Once the device has been detected as described above you can connect your headphones.

Download File:Tone.wav and transfer the wav file to the camera using FTP then execute in the directory where the file is uploaded to (/tmp might be a good place)

aplay tone.wav

With most audio devices you should hear the audio file play through the headphones without any further configurations.

Alsamixer

Xterm.jpeg

Alsamixer is a graphical audio mixer that you be used with just the console.

Installation

Download: File:Alsamixer.tgz

Download the tgz archive and transfer it to the camera with FTP to /tmp Next, login via telnet/ssh/console to camera and execute:

cd /
tar -xzf  /tmp/alsamixer.tgz

Usage

For using alsamixer set terminal type after each relogin via console

for color output:

export TERM=xterm
alsamixer

for black/white output:

export TERM=vt220
alsamixer


Once alsamixer is running you can use the arrow keys to navigate, turn volume up/down and use some F keys for switching between playback/recording and settings.