Welcome to SonoraFX! This extension acts as a high-level audio control layer for your Fusion games, granting you professional features like pitch sweeps, volume LFOs (tremolo), ADSR envelopes, seamless crossfading, playlists, and smart dynamic free-channel allocation.
SonoraFX does not replace Fusion's internal sound player; instead, it supercharges it! You tell SonoraFX what you want to do (e.g., "Play sound on Channel 0"), and it automatically manages channel states, pitch curves, and LFOs, firing clean trigger events back to Fusion's native sound actions.
* SonoraFX: On Any Play Command -> Sound : Play sample GetPlaySoundName$( "SonoraFX", TriggeredChannel( "SonoraFX" ) ), TriggeredLoops( "SonoraFX" ) times, on channel #TriggeredChannel( "SonoraFX" ), volume TriggeredVolume( "SonoraFX" ), pan TriggeredPan( "SonoraFX" ), frequency TriggeredFrequency( "SonoraFX" ) * SonoraFX: On Any Frequency Change Command -> Sound : Set frequency of channel #TriggeredChannel( "SonoraFX" ) to TriggeredFrequency( "SonoraFX" ) * SonoraFX: On Any Volume Change Command -> Sound : Set volume of channel #TriggeredChannel( "SonoraFX" ) to TriggeredVolume( "SonoraFX" ) * SonoraFX: On Any Stop Command -> Sound : Stop channel #TriggeredChannel( "SonoraFX" ) * SonoraFX: On Any Pause Command -> Sound : Pause channel #TriggeredChannel( "SonoraFX" ) * SonoraFX: On Any Resume Command -> Sound : Resume channel #TriggeredChannel( "SonoraFX" )
When you trigger Play Audio on Channel 0, SonoraFX automatically finds the lowest available free channel (from 1 to 48). If a background music track is playing on Channel 48 (or any other channel), SonoraFX detects it and leaves your music completely untouched!