Project

General

Profile

Actions

Bug #803

closed

Sounds play intermittently. (Approximately every other time they're called.)

Added by Brian Flanagan about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
07/15/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Tested in 1.0.0 (B8) u15 on 7/15/2021 in macOS.

Example: The sound should play each time you hit a key, but only does about half the time:

#manifest: "aoz"
load asset "Blip_2.wav",1
// Volume Audio range = 0 to 100%
vol=100 : st=5

Print Manifest$
Repeat
    Locate 0,1 : Print Using "Volume: ###";vol-st
    volume audio 1,vol-st
    play audio 1
    vol=vol-st
    Wait Key
Until vol <=0
Print "Done!"
Actions

Also available in: Atom PDF