Record audio and store to SD card

I’m going with this project: record audio via 3.5mm jack and store to SD card, then slowly upload these files to remote server. I would use digital signal to start/stop recording.

The question is I should use Arduino Yun with custom root build or use Raspberry Pi? All I need the stability. Is there any projects that is similar to this before?

Thanks in advance!