You can add, edit and remove sound effect (SFX) resources using the audio manager accessible via
Naninovel -> Resources -> Audio or just store the audio clips at
You can use any audio formats supported by Unity.
Sound effects playback behavior can be configured using
Naninovel -> Configuration -> Audio context menu; for available options see configuration guide.
; Plays an SFX with the name `Explosion` once @sfx Explosion ; Plays an SFX with the name `Rain` in a loop @sfx Rain loop:true ; Changes volume of all the played SFX tracks to 75% over 2.5 seconds and disables looping for all of them @sfx volume:0.75 loop:false time:2.5
Sound effect tracks are not looped by default. When sfx track name is not specified in
@sfx command, all the currently played tracks will be affected. When invoked for a track that is already playing, the playback won't be affected (track won't start playing from the start), but the specified parameters (volume and whether the track is looped) will be applied.
To stop a playing sound effect (no matter looped or not), use
@stopSfx command followed by clip name. When clip name is not specified, the command will stop all the currently played SFX tracks.
; Stop playing an SFX with the name `Rain`, fading-out for 15 seconds. @stopSfx Rain time:15 ; Stops all the currently played sound effect tracks @stopSfx