on init
declare const GRAIN_BLIP_EVT_STORAGE := 1
declare const EVENT_STATE.RELEASE := 2
declare const GRAIN_EVENT_PAR0 := 4
end on
on note
if get_event_par_arr(EVENT_ID, EVENT_PAR_CUSTOM,GRAIN_BLIP_EVT_STORAGE) # 0
set_event_par(get_event_par_arr(EVENT_ID, EVENT_PAR_CUSTOM,GRAIN_BLIP_EVT_STORAGE), EVENT_PAR_3, ENGINE_UPTIME) //PROBLEM
set_event_par_arr(get_event_par_arr(EVENT_ID, EVENT_PAR_CUSTOM,GRAIN_BLIP_EVT_STORAGE), EVENT_PAR_CUSTOM, EVENT_STATE.RELEASE, GRAIN_EVENT_PAR0)
set_event_par(EVENT_ID, ENGINE_PAR_VOLUME, ENGINE_UPTIME)
end if
end on
https://discord.com/channels/752870396599992341/752874062211973151/1095652214204289074