h6. [[SoundScheduler]] h6(. » [[SoundScheduler SWI Calls|SWI Calls]] h6((. » Sound_QSchedule h2. Sound_QSchedule h5. (SWI &401C1) |_<^{width:4em}. Entry | | |<^. R0 |<^. Schedule period | |<^. |<^. –1 to synchronise with the previously scheduled event | |<^. |<^. –2 for immediate scheduling | |<^. R1 |<^. 0 to schedule a [[Sound_ControlPacked]] call, or SWI to schedule (in the form &F000000 + SWI number) | |<^. R2 |<^. SWI parameter to be passed in R0 | |<^. R3 |<^. SWI parameter to be passed in R1 | |_<^{width:4em}. Exit | | |<^. R0 |<^. 0 for successfully queued | |<^. |<^. < 0 for failure (queue full)| h4. Use This call schedules a sound SWI call. If the beat counter is enabled the schedule period is measured from the last start of a bar, otherwise it is measured from the time the call is made. A schedule time of –1 forces the new event to be queued for activation concurrently with the previously scheduled one.