Languages

Menu
Sites
Language
How to play sequence of short sounds continuously

Hi, guys.

I am working on metronome style game, who knows how to play sequece of short sound continuously ?

Is it ok that I will use the w3c html5 audio player or jPlayer library ?

Help me, please.

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
Raghavendra Reddy Shiva
Hello Adal San You can use the HTML audio tag for playing the sound continously. Use the "loop" attribute. Using this attribute, you can enable the player to automatically seek back to the beginning once it reaches the end of file. <audio src="audiofile.mp3" controls loop></audio> However, you can also use the jQuery player for the loop playback. Thanks,
Adal San
Thanks for your help, Raghavendra