VS1000 Audio Module - GPIO - is playback interruptible?

Writing software that controls the system and peripherals such as displays, SD cards, Buttons, LEDs, Serial Ports etc.
Post Reply
obiquiet
User
Posts: 3
Joined: Mon 2017-02-20 1:32

VS1000 Audio Module - GPIO - is playback interruptible?

Post by obiquiet » Mon 2017-02-20 1:38

Before I try to setup the module for GPIO, I would like to know if the pin-control allows the currently playing file to be interrupted by starting to play another file. This is critical in my application.

Thank you!
-ObiQuiet

User avatar
pasi
VLSI Staff
Posts: 1416
Joined: Thu 2010-07-15 16:04

Re: VS1000 Audio Module - GPIO - is playback interruptible?

Post by pasi » Mon 2017-02-20 13:09

Yes, in the default GPIO mode, if the value indicated by the GPIO pins change to anything else than 0, and it's different than the currently playing track, the playback is canceled to play the new track.

(In the prioritized mode (one GPIO for each track) lower GPIO's have priority.)
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

obiquiet
User
Posts: 3
Joined: Mon 2017-02-20 1:32

Re: VS1000 Audio Module - GPIO - is playback interruptible?

Post by obiquiet » Mon 2017-02-20 20:07

Thank you!

kiodisplays
User
Posts: 1
Joined: Mon 2017-03-27 23:39

Re: VS1000 Audio Module - GPIO - is playback interruptible?

Post by kiodisplays » Mon 2017-03-27 23:42

Is it possible to interrupt the currently playing track? I need it to play the next track on the same input pin.

User avatar
pasi
VLSI Staff
Posts: 1416
Joined: Thu 2010-07-15 16:04

Re: VS1000 Audio Module - GPIO - is playback interruptible?

Post by pasi » Tue 2017-03-28 10:21

kiodisplays wrote:Is it possible to interrupt the currently playing track? I need it to play the next track on the same input pin.
Yes. In the GPIO-controlled version, if the value in the GPIO pins changes and is non-zero, the current track is canceled and the new track is played.

(With the priorities option each GPIO selects one song, and lower-numbered GPIO's have priority over higher-numbered. A higher number GPIO pin does not interrupt the playing of a current file, even if the lower number GPIO pin is no longer set.)
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply