APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Sound after sound file post and replies

Return to the Sound after sound file thread
Login to post to this thread

Play sounds
Apostolos Michaloudis
28 Posts

Is there a way to play an audio file after a previous one has finished ?


Replies to Play sounds

Re: Play sounds -
Francisco Esquembre
228 Posts

Hi,

If you are using the Javascript flavor of EjsS, read this post:

http://www.opensourcephysics.org/bulletinboard/TDetails.cfm?TID=3348&PID=84076

Use then the OnEnded action of the first sound to play another sound.

Paco



Re: Re: Play sounds -
Apostolos Michaloudis
28 Posts

ok thank you very much!



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book