📄 readme
字号:
___________________________________________________________________
README
This is a short readme explaining the srec/splay test application.
___________________________________________________________________
To record use srec [options] destFile
Options:
-t seconds
Number of seconds to record (required)
-b bits
Sample size in bits. The default is 16. (For mw8731, only 16-bit is allowed)
-s frequency
Sampling frequency in Hz. The default is 8000. (For mw8731, use either 8000
or 44100)
-S
Use this option to select stereo recording; the default (without -S) is mono
-L
Use this option to select LINE-IN as the recording source; the default (without
-L) is MIC-IN
-l
For loop back test
To playback use splay [options] sourceFile
Options:
-t seconds
Number of seconds to play
-b bits
Sample size in bits. The default is 16. (For mw8731, only 16-bit is allowed)
-s frequency
Sampling frequency in Hz. The default is 8000. (For mw8731, use either 8000
or 44100)
-S
Use this option to select stereo recording; the default (without -S) is mono
___________________________________________________________________
Examples:
# ./srec -t 5 -b 16 -s 44100 file.pcm
This records a 44.1kHz, 16 bit/sample PCM for 5 seconds and stores in file.pcm
# ./splay -b 16 -s 8000 file.pcm
This plays back file.pcm as a 8kHz, 16 bit/sample PCM file.
___________________________________________________________________
Notes:
1) You will not hear the correct playback since file.pcm is a 44.1kHz PCM.
2) No need to specify time when using splay when you want to playback the whole PCM.
3) splay and srec are in fact the same executable with a different name. See the Makefile
for more information.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -