- This topic has 14 replies, 3 voices, and was last updated 7 months ago by
riya.
-
AuthorPosts
-
2025-03-28 at 3:40 pm #80963
riya
CustomerMy team working with project containing text to match audio file mp3 player. we like to match the text by auto scrolling with voice over. But in puzzle we were not able to get time the exact playback time of current audio file. Is there any way to get the playback time for the audio file?
Thanks in advance.2025-03-28 at 4:11 pm #80964kdv
Participanthttps://www.soft8soft.com/docs/manual/en/puzzles/Sound.html#get_playback_time
https://www.soft8soft.com/docs/manual/en/puzzles/Sound.html#get_durationPuzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2025-03-28 at 4:22 pm #80965riya
CustomerThanks for your reply @kdv .
I tried the above i can be able to get only the full duration of the audio file from get duration puzzle. I am not able to get the exact playback time of the audio file from get playback time puzzle. Is it any way to check the playback time of audio file (current time stamps) ? or after 5s or 10s of audio file time?2025-03-28 at 4:31 pm #80967kdv
Participantlooks like the puzzle is not working at all

Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2025-03-28 at 5:18 pm #80970riya
Customer@kdv Thank you
2025-03-29 at 10:37 am #80984
Alexander KovelenovStaff2025-03-29 at 10:44 am #80985riya
Customer@Alexander kovelenov Thanks for replying.
My team tried in “Music ” too even in Music playback rate is not working. Is there any chance in future update Play back rate will work for sounds/Music?2025-03-29 at 12:07 pm #80986kdv
Participantit’s possible with
Audio()

Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2025-03-31 at 4:44 pm #81000riya
Customer@kdv I tried above code. It’s not working for me. I have a mp3 file playing with sounds like attached puzzle. In console playback time is not working like above example. Am i doing anything wrong with above example ?
Attachments:
2025-03-31 at 4:54 pm #81002kdv
ParticipantAm i doing anything wrong with above example ?
I suppose you are using the standard “exec script” puzzle. it cannot access variables directly from another puzzle instance.
With the the standard “exec script” puzzle it should look this way

Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2025-03-31 at 7:26 pm #81004riya
Customer@kdv If i created the mp3 files like attached file in create list. Is there any different way to exec an Audio script?
Attachments:
2025-03-31 at 10:00 pm #81007kdv
ParticipantI don’t see how your question is related to the playback time reading
Try “music” instead.
btw, it was good and working advice

Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2025-03-31 at 10:16 pm #81009riya
Customer@kdv Instead of single mp3 player like the example you shared environment.mp3. My team playing n mp3 files for n steps. we created a list using variable. Each mp3 player will play according to steps in given text .so we like to get exact current mp3 playback time for each step. Instead of single player mp3 player like environment.mp3.Is there a way to initialize a variable in EXEC SCRIPT to play the file from sounds folder containing n number of mp3 files?
2025-03-31 at 10:18 pm #81010kdv
Participantsee the post above. use “music”. it’s working.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2025-03-31 at 10:35 pm #81011riya
Customer@Kdv Its working. Thank you so much for your help.
-
AuthorPosts
- You must be logged in to reply to this topic.


