-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Note Ed.NOTE_EIGHTH has typo and is defined as:
"Ed.NOTE_EIGHT": 250,
Documentation is correct, it lists Ed.NOTE_EIGHTH.
https://meetedison.com/content/EdPy-app-documentation-guide.pdf
It is problem when man uses on-line editor (https://www.edpyapp.com), the smart assistant suggests Ed.NOTE_EIGHTH but compiler later reports error that Ed.NOTE_EIGHTH has no value defined...
Demo:
#-------------Setup----------------
import Ed
Ed.EdisonVersion = Ed.V2
Ed.DistanceUnits = Ed.CM
Ed.Tempo = Ed.TEMPO_MEDIUM
#--------Your code below-----------
Ed.PlayTone(Ed.NOTE_C_7, Ed.NOTE_EIGHT) # this can be compiled but value is wrong
while Ed.ReadMusicEnd() == Ed.MUSIC_NOT_FINISHED: pass
Ed.TimeWait(1, Ed.TIME_SECONDS)
Ed.PlayTone(Ed.NOTE_C_7, Ed.NOTE_EIGHTH) # this is correct but compiler reports error
while Ed.ReadMusicEnd() == Ed.MUSIC_NOT_FINISHED: pass
Ed.TimeWait(1, Ed.TIME_SECONDS)
Metadata
Metadata
Assignees
Labels
No labels