Skip to content

Can playAdvertisement method can be called at any time like a playFolderTrack method, not just when there is music playing? #163

Answered by Makuna
caibimiaokong asked this question in Q&A
Discussion options

You must be logged in to vote

(please use the discussion area for asking questions)

This is a question that is best asked towards those who create the actual chip.

I don't think calling playAdvertisment() when an advertisement is still playing was meant to be supported. Make sure your not doing that,

Calling playFolderTrack will reset all the prev/next track to the referenced folder and track you provide. The chip doesn't remember that you interrupted a music track, you would have to track and manage that.

The sort of things you are doing would probably best be done with two boards, one for ambient sound and one for your event sounds.

NOTE: It is better to wait for the notification that the specific song has played th…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@caibimiaokong
Comment options

@Makuna
Comment options

Answer selected by caibimiaokong
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #162 on February 11, 2024 19:16.