I present you with the first pre-release of a new VS1010 program collection, the VS1010 RecPlayExample.
The RecPlayExample shows an example of an Voice / MP3 player that can also record voice files in 8 kHz IMA ADPCM WAV format to SD cards. If connect to a PC through USB, the player shows up as a High-Speed USB disk. The demo software is intended to be run on the VS1010 Developer Board, where it uses buttons B0 through B3, as well as the Green LED1 and Red LED3.
Instructions on use are below:
Code: Select all
RecPlayExample is collection of programs that can play back MP3 music files
and WAV voice files, and record WAV voice files at 8 kHz IMA ADPCM WAV files
at 32 kbit/s. The example is designed to run on the VS1010 Developer Board.
To use, copy all .dlx files in this package to your S:SYS folder, then
create a S:CONFIG.TXT file with the three following lines:
TreePlayer2
RecADPCM
@
The software has four modes. Button B0 switches between modes 0-3. Mode 4 is
activated by connecting the board to a PC through USB.
1) Voice playback mode (.WAV files)
2) MP3 playback mode (.MP3 files)
3) Voice recording mode (.WAV files)
4) Computer file copy USB mode
1) Voice playback mode, indicated by Green Led LED1:
When in pause mode, LED1 is lit, when playing LED1 blinks.
Control buttons are:
- B0 short: Next mode
- B1 short: Pause on/off
- B2 short: Previous file
- B2 long: Volume up
- B3 short: Next file
- B3 long: Volume down
If the board is connected to a PC through UART, USB mode is activated.
2) MP3 playback mode, indicated by Green Led LED1:
When in pause mode, LED1 is lit, when playing LED1 blinks.
Control buttons are the same as in Voice playback mode.
If the board is connected to a PC through UART, USB mode is activated.
3) Voice recording mode, indicated by Green and Red Leds LED1 & LED3.
Voice recorder starts in pause / monitoring mode.
Control buttons are:
- B0 short: Next mode
- B1 short: Record / Stop
viewtopic.php?f=15&t=2430
I hope this piece of software is useful, or at least a good starting point for your own projects!
Kind regards,
- Henrik