Problem with runShellCommand and Madplay

I’m working on a small project for the holidays, using an arduino yun, a usb soundcard and madplay. The problem I’m having is that I can’t get it to work in my own sketch.

The serial print keeps looping, so the code seems to work - but it might be skipping the audio file.

#include <Process.h>

const int buttonPin = 2;

int buttonState = 0;
Process p;

void setup() {
pinMode(buttonPin, INPUT);

void loop(){
buttonState = digitalRead(buttonPin);
if (buttonState == HIGH) {
p.runShellCommand(“madplay /root/svfout.mp3”);
Serial.println(“it works!”);
else {

Using the terminal example, I can play the audio just fine. Meaning it isn’t a hardware or file problem :confused:
I’m totally stuck at the moment, so any help would be greatly appreciated!

I used this tutorial: Arduino Yún with SOUND the supereasy way – MIKAMAYHEM