语言

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.

 

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
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