Music Shield - stopFile Function

Ardiuno Compatible shields

Moderators: violet, jessie, cory.j.fowler

Post Reply
dincay
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Tue Oct 11, 2011 6:04 pm

Music Shield - stopFile Function

Post by dincay » Sun Jun 17, 2012 11:04 pm

I can successfully play files with Music Shield.
What I want to do is stop playing of one song and start another.

I can do this by putting playFile() function in AvailableProcessorTime() function but I think this causes lots of nested playFile() functions for long time of using.

I think a proper stopFile() function will help me a lot.
However when I check the playFile() function I cannot understand how a proper stopFile() function can be written, because I am not sure which operations at the end of playFile() functions is required.

Tobe
Pre-kindergarten
Pre-kindergarten
Posts: 37
Joined: Tue Jan 17, 2012 11:04 am
Are you a staff member of seeedstudio?: yes
Which products/projects are your favorite?: Seeeduino

Re: Music Shield - stopFile Function

Post by Tobe » Wed Jun 20, 2012 4:25 pm

Hi dincay,
Here is the new library of the music shield,It can contral the music by software now,there has the readme file,if you don't how to use it,you can read that.
http://seeedstudio.com/wiki/File:Librar ... 120619.zip

vapernowyou
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Mon May 14, 2018 4:23 pm

Re: Music Shield - stopFile Function

Post by vapernowyou » Mon Aug 20, 2018 12:34 pm

Thank you for sharing the article. I think there will be users to it, I love music, This is my song: Let me love you ringtone download You should also refer to more good free music here: ringtone

Post Reply