Skip to content
onelife edited this page May 16, 2018 · 1 revision

SFEMP3Shield

SFEMP3Shield is forked from Sparkfun-MP3-Player-Shield-Arduino-Library with audio recording (OGG format) function.

Audio Recording

Plugin Files (*.053)

  • *.053 files are converted from *.plg by vs_plg_to_bin.pl
  • en[AA]k[B]q5.053 files are profiles used by audio recording function
    • AA: Sampling rate
    • B: Number of channels, 1 or 2

Run Example "OggPlayer"

  • The example is tested on Arduino_MP3_shield_board_with_TF_card board
  • Install "SdFat" library
  • Copy SFEMP3Shield library to Arduino libraries directory
  • (Option) Copy plugin "patches.053" to SD card root directory, which is required by "vs_init" function
  • Copy "en[AA]k[B]q5.053" to SD card root directory
  • Compile and run the example
  • Open "Serial Monitor" with "No line ending" and "115200 baud"
    • Send 'c' to start recording sound
    • Send 's' to stop
    • Send 'l' to list playable files
    • Send the file index number (e.g. 00001) to play
Clone this wiki locally