on init
declare $new_id
end on
on note
ignore_event($EVENT_ID)
$new_id := play_note($EVENT_NOTE, $EVENT_VELOCITY, 0, 500000)
change_vol($new_id, -100000, 0)
change_vol($new_id, 0, 0)
wait(600000)
$new_id := play_note($EVENT_NOTE, $EVENT_VELOCITY, 0, 500000)
change_vol($new_id, -100000, 0)
wait(1)
change_vol($new_id, 0, 0)
end on
Take a look at this script. When you press a key, two notes will fire. Both events will start at -100db, but will immediately raise to 0db. The only difference is that the second event waits a single microsecond before raising the volume. The thing is, there's no way you should be able to tell the difference; 1 millisecond would be hard to identify, let alone 1 microsecond. But what ends up happening is that the second event sounds like it has a smooth ~50 millisecond attack. Am I missing something?
If you test the script yourself, make sure you have no volume AHDSR.