Page 1 of 1

3 Remarks on NOTES

Posted: Wed May 22, 2024 2:40 pm
by smbstarv
1. The instrument choice ("nn:") only takes effect AFTER the next note (or rest).
2. The playing time (notes-length) is based on tempo 120. If the tempo changes, the duration must be corrected by the factor 120/tempo.
3. The notesplaying condition does not indicate whether the music has ended, but whether the notes stop command has been given.

Re: 3 Remarks on NOTES

Posted: Thu May 23, 2024 1:04 pm
by Dutchman
Your remarks have been added to the PDF-manual. Thanks

Re: 3 Remarks on NOTES

Posted: Fri May 24, 2024 11:11 am
by smbstarv
Two other remarks on NOTES.
1. The command NOTES TEMPO nn must preceed the NOTES SET m$ command.
If this condition is met, the NOTES_LENGTH() value is correct.
My 2nd remarks on my previous post is only correct if this condition is not met.
2. Unlike Volumechange, there is no possibility to change TEMPO inside a musical composition.
If you want to change TEMPO inside a composition, this can only be done by either...
2.1 splitting the composition into two, and have them seamlessly one after the other.
NOTES TEMPO tempo_1
NOTES SET m1$
NOTES PLAY
PAUSE NOTES_LENGTH()*120/tempo_1

NOTES TEMPO tempo_2
NOTES SET m2$
NOTES PLAY
etc...
2.2 or calculate the exact timelapse (txj between start and the moment to change tempo.
NOTES TEMPO tempo 1
NOTES SET m1$
NOTES PLAY
PAUSE tx
NOTES TEMPO tempo 2
PAUSE (NOTES_LENGTH()*120/tempo 1 - tx)
etc...

Re: 3 Remarks on NOTES

Posted: Sun May 26, 2024 1:46 pm
by Dutchman
Your remarks on NOTES TEMPO have been added to the PDF-manual.

Re: 3 Remarks on NOTES

Posted: Mon May 27, 2024 12:57 pm
by smbstarv
Sorry Dutchman !
Because of new insights ("voortschrijdend inzicht" ) I'd like to withdraw my latest partly erroneous remarks on NOTES.

Instead i prefer these.
NOTES TEMPO nnn sets the tempo for the music (new or loaded) to be played by the subsequent NOTES PLAY command.
NOTES TEMPO, when issued during the play of music, will have immediate effect on the current tempo.
NOTESLENGTH() gives the length of the composition m$ played with NOTES TEMPO last set before the NOTES SET m$ was issued.
However NOTES TEMPO nnn does not effect NOTELENGTH() of a loaded *.mid file.
Unlike Volume change there is no possibility to change tempo inside a musical composition.
If you still want to do so: either...
. Split the composition m$ into m1$ and m2$, and play them seamlessly one after the other,
NOTES TEMPO tempo_1
NOTES SET m1$
NOTES PLAY
PAUSE NOTES_LENGTH()
NOTES TEMPO tempo_2
NOTES SET m2$
NOTES PLAY
etc...

. Or calculate the exact timelapse (txj between start and the moment to change tempo.
NOTES TEMPO tempo 1
NOTES SET m1$
NOTES PLAY
PAUSE tx
NOTES TEMPO tempo 2
PAUSE (NOTES_LENGTH() - tx) * temp_1 / tempo_2)
etc...

Re: 3 Remarks on NOTES

Posted: Tue May 28, 2024 10:06 am
by Dutchman
OK, the manual has been updated. See page 60