MaxScore addNote args

Florent Ghys's icon

Hi,
I've been using the great MaxScore by Nick Didkovsky but can't figure out what are the third and fourth arguments of the addNote message.
First is duration, second is pitch but the others seem not to be referenced in the MaxScore help.
Ideas ?
thanks

Georg Hajdu's icon

The addNote message consists of duration (1. = quarter note), pitch (60.0 = middle C), velocity (either 0. - 1. or 0. - 127.) and hold time (the amount of time the note will actually sound; use this for legato [hold time > duration]), non legato, tenuto, staccato, etc).

I hope this helps.
A tutorial is under way and will be available sometime this year.

Georg

Florent Ghys's icon

Thanks a lot !
This helps.
Look forward to see the tutorial.

I can't find a way to add notes to different staff at the same time in real time.
It would be great if the addNote message had also a staff number argument.

Florent