Record function in music shield V2

Hi,

I have been using the music shield V2, and library from the following link,
viewtopic.php?f=23&t=4887

The play function now is ok. but from the code, there is no “record” API provided for calling. please see the following codes from the program.

How can I call the record function by programming in Arduino Mega board? Thanks!

/class for the music player**/
class MusicPlayer
{
public:
void begin(void);

void playOne(char *songName);
boolean addToPlaylist(char *songName);
void scanAndPlayAll(void);
void attachDigitOperation(int pinNum, void (*userFunc)(void), int mode);
void attachAnalogOperation(int pinNum, void (*userFunc)(void));

void setVolume(unsigned char volume) { vs1053.setVolume(volume, volume); _volume = volume;}
void adjustVolume(boolean UpOrDown, unsigned char NumSteps = 6);
void setPlayMode(playMode_t playmode) { _playmode = playmode;}
boolean deleteSong(char *songName);
void keyEnable(void) { Key_Disable = 0;}
void keyDisable(void) { Key_Disable = 1;}
void analogControlEnable(void) { Analog_Enable = 1;}
void digitalControlEnable(void) { Digital_Enable = 1;}

void play(void);
void opPlay(void) { playingState = PS_PLAY;}
void opPause(void) { playingState = PS_PAUSE;}
void opStop(void) { playingState = PS_IDLE;}
void opVolumeUp() {ctrlState = CS_UP;}
void opVolumeDown(void) { ctrlState = CS_DOWN;}
void opNextSong(void) { ctrlState = CS_NEXT;}
void opPreviousSong(void) { ctrlState = CS_PREV;}
void opFastForward() {ctrlState = CS_NEXT_LONG;}
void opFastRewind() {ctrlState = CS_PREV_LONG;}
void _hardtime_update(void);

When it comes to record music, I often use DRmare Audio Capture to help me. It is a powerful tool that can record and download audios and music from many sources on your computer. The audios it gets are with high audio quality and you can edit for the recorded audio files as you like. Then you can play the audios on other devices offline.

Hi There

our music shield V2 cannot support record function, which only can play music :smiley: