5.1 Code Configuration

Two projects are available to accompany this application note:
  • AVR42777 Digital Sound Recorder: uses raw data on an SD card for storing the recorded data.
  • AVR42777 Parrot: uses a serial DataFlash for data storage.
Both use the same peripheral setup to implement recording and playback.

Optionally, the sampling frequency can be changed in order to either increase the sound quality (sampling frequency increased) or increase the amount of possible recording time (sampling frequency decreased). To do this, simply change the hash define "SAMPLE_FREQ" at the top of the main file (this will be either voice_recorder.c or parrot.c depending on which project has been chosen).