Bug #83
Sam Play not working
Start date:
01/26/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Sam Play (sample number) stops the program. The compilation does not throw any errors. The Browser does not show an error. The program end message does not appear. The output console (f12) shows the message in the attached screengrab.
Files
Related issues
Updated by Neil Ives about 4 years ago
Anonymous wrote:
I see no attachment. Also, do you have sample code?
sam play 1
Updated by Baptiste Pillot about 4 years ago
- source : https://www.amos2.fr/ide/Amos2/Ide/Program/450
- run (Chrome only) : https://www.amos2.fr/run/tickleman/83/
- result : does nothing
- browser output :
[warning x2] howler.js:2432 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu setupAudioContext @ howler.js:2432 [error] errors.js:275 Uncaught TypeError: Cannot read property 'indexOf' of undefined at Errors.getErrorFromNumber (errors.js:275) at doUpdate (aoz.js:578)
Updated by Francois Lionet about 4 years ago
- Status changed from New to Resolved
- Target version set to 0.9.4
Cannot get the crash in the current version, I assume it is corrected! Please test with your example and sounds...
Updated by Baptiste Pillot about 4 years ago
- Status changed from Resolved to Feedback
The program is still stopped. Got this on 0.9.6's console (see source + run on #83#note-4) :
Error : Uncaught TypeError: Cannot read property 'substring' of undefined at getError (errors.js:309) at Errors.getError (errors.js:273) at doUpdate (aoz.js:434)
Updated by Brian Flanagan over 3 years ago
- Status changed from Feedback to Resolved
This bug has been fixed. (I believe quite some time ago.)
Yes, I tested to verify. ;-)