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.
3 Remarks on NOTES
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: 3 Remarks on NOTES
Your remarks have been added to the PDF-manual. Thanks
Re: 3 Remarks on NOTES
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...
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...
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: 3 Remarks on NOTES
Your remarks on NOTES TEMPO have been added to the PDF-manual.
Re: 3 Remarks on NOTES
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...
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...
- Attachments
-
- Remarks.docx
- (14.11 KiB) Downloaded 219 times
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: 3 Remarks on NOTES
OK, the manual has been updated. See page 60