Project

General

Profile

Actions

Bug #823

open

The Play command makes no sound.

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

Status:
Resolved
Priority:
High
Target version:
Start date:
09/17/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

No error is produced, however, no sound is generated.
Problem occurs in both manifests.

For example (from page 08.01.04 of AMOS Pro manual:

Play 1,40,0 : Play 2,50,0 : Rem no delay
Wait Key
Play 1,40,15 : Play 2,50,15 : Rem delay
Rem Play a random sequence of notes
Do
  V=Rnd(15) : P=Rnd(96) : Play V,P,3
  Print V,P
  Wait 30
Loop
End

NOTE: I added the Wait 30 to make sure the program didn't run too fast.

Actions #1

Updated by Brian Flanagan about 3 years ago

  • Estimated time set to 1:00 h

Re-tested in 1.0.0 (B10) u16 (10/1)

Still produces no audio. (Tested in macOS.)

Actions #2

Updated by Brian Flanagan about 3 years ago

  • Priority changed from Normal to High

Re-tested on 21 Oct 2021 version.
It is mostly working now, but randomly freezes when in "amiga" manifest.
I think it also freezes when voice is set to 0.

It appears to be working on AOZ mode.

Modify the code with the Print before the Play so you can see when it fails:

#manifest: "amiga"
If Manifest$="amiga"
  Then delay#=3
Else
  delay#=3/60
End If

Play 1,40,0 : Play 2,50,0 : Rem no delay
Play 1,40,delay#*5 : Play 2,50,delay#*5 : Rem delay
Rem Play a random sequence of notes
Do
  Print V,P
  V=Rnd(15) : P=Rnd(96) : Play V,P,delay#
  Wait delay#
Loop
End
Actions #3

Updated by Brian Flanagan about 3 years ago

  • Status changed from New to Resolved

Adding another ticket for the secondary issue.
This particular one is fixed!

Actions

Also available in: Atom PDF