Based on an epia-p700-10l pico-itx board from via (24 pages)
Summary of Contents for K-Team KoreSound
Page 1
Koresound user Manual Version 0.1 july 2004...
Page 2
• All effort have been made to ensure the accuracy of the content of this manual. However, should any error be detected, please inform K-Team S.A. • The above notwithstanding K-Team can assume no responsibility for any error in this manual. K-Team S.A.
1 Introduction The KoreSound board is a KoreBot extension that provides audio playback and recording capabilities. It offers one audio stereo output and two audio stereo inputs. This document presents how to use KoreSound. K-Team S.A.
2 KoreSound Hardware Overview KoreSound can be used in application that requires sound playback and recording (such as MP3 player, speech synthesis and recognition). The hardware is quite simple and provides one audio output (OUT) and two audio inputs (IN1 and IN2).
The KoreBot connection is pretty straightforward, the boards should be simply stacked together. The KoreBot will provide the +3.3V power supply to KoreSound. Hardware Protection 2.3.1 Electrostatic Discharge Protection As any electronic device, the KoreSound may be damaged by Electrostatic Discharge. K-Team S.A.
3 KoreSound Software Overview This chapter presents how to use KoreSound from a KoreBot using the Linux Operating System. It requires: • a KoreBot (with a KoreConnect or a KoreSDK) • a KoreSound • a terminal emulator software (such as minicom or HyperTerminal) •...
This section shows how to access to the sound driver from your standard Linux application. The examples given are in standard C and use the stan- dard C library. It requires some knowledge about the file functions on Linux. K-Team S.A.
1 and selects the input 1 for recording. 3.4.2 Sound device I/O controls The I/O control are useful to read and to change the settings of the sound device. Only the sampling rate can be changed. Supported I/O control commands: K-Team S.A.
The I/O control are useful read and changes the settings of the mixer device. The mixer device is only used for I/O control. It allows to obtain information about the channels and to change output volume level, bass level, treble level and inputs level. Supported I/O control commands: K-Team S.A.
Page 12
/* change the input 1 level to 80% */ level = 80; ioctl(mixer_fd , MIXER_WRITE( SOUND_MIXER_LINE1 ) , &level ); /* read the level of the input 1 */ ioctl(mixer_fd , MIXER_READ( SOUND_MIXER_LINE1 ) , &level ); printf("input 1 level %u\n" , level ); K-Team S.A.
Page 13
K-Team SA 1028 Préverenges Ch de Vuasset, CP 111 Switzerland...
Need help?
Do you have a question about the KoreSound and is the answer not in the manual?
Questions and answers