Audio Object

Purpose:

returns the handle of a new audio object control

Syntax:

aud = audio()

aud.methodname

where methodname is one of the following

 

seek
valuefunction
duration
durationquiet
samplerate
channels
mp3towav
mp3topcm
play
wavtomp3
pcmtowav
pcmtomp3
tone
pause
resume
stop
start
record
read
recordflag
database
schedule
yminlimit
ymaxlimit
recordflag
 
 
mark1
mark2

 

Comments:

The default sample rate is 44100

Example:

aud = audio() // audio class , using default 41000 hz
aud = Audio(8000) // default is 44100 , using 8000 instead