This sample will play a ".wav" file of the USB root folder. Only RIFF format.

Fork of GR-PEACH_Audio_WAV by Daiki Kato

You are viewing an older revision! See the latest version

Homepage

Audio sample for GR-PEACH. This sample will play a ".wav" file of the USB root folder. If the USER_BUTTON0 is pressed, the next song is played.

Please refer to following link about Audio/Camera Shield.
https://developer.mbed.org/teams/Renesas/wiki/Audio_Camera-shield

FormatWav file (RIFF format) ".wav"
Channel2ch
Frequencies32kHz, 44.1kHz, 48kHz, 88.2kHz and 96kHz
Quantization bit rate16bits, 24bits and 32bits



Use USB0

/media/uploads/dkato/audio_wav_usb0.png

If you use the USB0 as USB Host, please close GR-PEACH's JP3.
/media/uploads/dkato/gr-peach-c_usb2.png


You can use the USB1 connector by the procedure below.
(define 0:USB0、define 1:USB1)

USBHost\USBHost\TARGET_RENESAS\TARGET_RZ_A1H\usb_host_setting.h

#define USB_HOST_CH                           0
↓
#define USB_HOST_CH                           1


Use USB1
/media/uploads/dkato/audio_wav_usb1.png

If you use the USB1 as USB Host, please close Audio/Camera Shield's JP1. /media/uploads/dkato/audiocamerashield_jp1.jpg


All wikipages