Skip to content

Stop Sound ​

Category: Sound

An event content that stops a sound currently playing via Play Sound. Use it to create tense silent scenes, cancel an ME midway, or stop all sound effects at once — i.e., when "silence" is the effect.

If you just want to overwrite the BGM, this event content is unnecessary

Playing a new BGM via Play Sound automatically stops the previous BGM. This event content is needed when you want "complete silence".

If you just want to change to a different BGM when the map changes, running Play Sound (with MAP_BGM selected) on the new map is more natural.

Property List ​

Item (tscn label)Input formDescription
TypeSelectionThe type of sound to stop (SOUND / BGM / ME)
Fade-out TimeNumber (seconds)Time taken to fade out (disabled when SOUND is selected; 0 means instant stop)

Details of Each Property ​

Type ​

Select one of three types of sound to stop.

SOUND (sound effect) ​

  • Behavior: Stops all currently playing sound effects at once
  • Fade-out: Not available (instant stop only; the Fade-out Time field is disabled)
  • Note: Sounds currently used as BGM / ME are excluded (to prevent stopping them if the same sound file is used as BGM / ME)

BGM (background music) ​

  • Behavior: Stops the currently selected BGM
  • Fade-out: Gradually stop by specifying Fade-out Time
  • Note: After stopping, silence continues until the next BGM is played

ME (Music Effect) ​

  • Behavior: Stops the currently selected ME
  • Fade-out: Gradually stop by specifying Fade-out Time
  • Note: Use when you want to interrupt an ME midway (normally MEs stop automatically after playback, so this is only used for mid-playback cancellation)

Different from Play Sound's five types

Play Sound has five Types including MAP_BGM / MAP_ME, but this event content has only three. Since stop operates on internal sound types (SOUND / BGM / ME), map-linked concepts are not needed at stop time.

Fade-out Time ​

Specifies the time to fade out, in seconds.

  • 0: Instant stop (no fade)
  • 1.0, etc.: Gradually lower the volume over the specified seconds, then stop
  • Disabled when SOUND is selected (SOUND is instant stop only)

Runtime Behavior ​

When this event content is executed, the following processing is performed:

1. Stop processing based on Type ​

If SOUND is specified ​

The internal _sound_player.stop(SOUND) is called, stopping all currently playing sound effects at once. However, sound keys currently used as BGM / ME are excluded (protected).

If BGM / ME is specified ​

  • Fade-out Time = 0: Instant stop via _sound_player.stop(type), with selected_key reset to empty
  • Fade-out Time > 0: Set to fade-out state via _sound_player.set_fade(type, 2, time); _process gradually lowers the volume and stops when complete

2. No waiting before moving to the next event content ​

This event content has no wait property. The next event content runs at the same time as the stop processing starts (the fade-out continues in the background).

Typical Usage Flows ​

Flow 1: Stop BGM instantly (silent scene) ​

Cut the BGM in an important scene to create tension:

  1. Stop Sound (this event content) (Type: BGM, Fade-out Time 0)
  2. Show Text <- "It's quiet..."
  3. Play Sound (SOUND, sound effect) <- Only footsteps echo in silence

Flow 2: Gradually fade out BGM ​

Quietly bring the end of a scene:

  1. Show Text <- "...it's over"
  2. Stop Sound (this event content) (Type: BGM, Fade-out Time 3.0)
  3. Fade Out Screen (black, time 2.0, wait ON)

Flow 3: Cancel an ME midway ​

Cut the victory fanfare short:

  1. Play Sound (Type: ME, Sound: victory.ogg)
  2. Show Text <- "Wait!"
  3. Stop Sound (this event content) (Type: ME, Fade-out Time 0.3)
  4. Show Text <- "There are still enemies left!"

Flow 4: Stop all sound effects at once ​

Stop all looping sound effects:

  1. Stop Sound (this event content) (Type: SOUND) <- Fade-out Time is not input (disabled)

Flow 5: Stop BGM -> screen effect -> restore BGM ​

Dramatic scene transition:

  1. Stop Sound (this event content) (Type: BGM, Fade-out Time 1.0) <- Gradually stop BGM
  2. Fade Out Screen (black, time 1.0, wait ON)
  3. Wait (time 1.5) <- Silence in between
  4. Play Sound (Type: BGM, new track, fade-in 2.0)
  5. Fade In Screen (black, time 1.0, wait ON)

Flow 6: Moving to a map with no BGM set ​

Auto-stop BGM on map change:

  1. Play Sound (Type: MAP_BGM) <- Silent if not set on the map
  2. (No need to use this event content; BGM stops automatically)

Typical Combinations ​

See Combination Pattern Collection for the overall picture.

Stop BGM -> fade out screen ​

Produce silence before a scene change:

  1. Stop Sound (this event content) (BGM, Fade-out Time)
  2. Fade Out Screen

Silence effect + sound effect ​

Emphasize a specific sound in silence:

  1. Stop Sound (this event content) (BGM stop)
  2. Play Sound (SOUND, sound effect)

Cancel ME + another effect ​

Cut the fanfare short:

  1. Play Sound (ME)
  2. (An event happens)
  3. Stop Sound (this event content) (ME)

Clean up all sound effects ​

Stop all looping SEs:

  1. Stop Sound (this event content) (SOUND)
Related event contentUse
Play SoundThe pair of this event content (starts playback)
Fade Out ScreenCombine BGM stop with a screen effect
WaitExplicitly create a silent interval
Change MapAuto-switch BGM on map change
PageRelated content
System Tab (Editor)Master volume settings for BGM / SE / ME
Event Content ListList of all event contents

Notes ​

Often unnecessary thanks to Play Sound's BGM overwrite ​

Playing a new BGM via Play Sound automatically stops the previous BGM. This event content is only needed when you want "complete silence".

SOUND stop targets all currently playing sound effects ​

Specifying Type: SOUND stops all currently playing sound effects at once. You cannot stop just a single specific one (though sound keys used as BGM / ME are protected).

SOUND has no Fade-out Time ​

Selecting SOUND disables Fade-out Time. SOUND cannot fade; it only stops instantly.

No wait property ​

This event content has no Is Wait property. The next event content runs at the same time the stop processing begins (the fade-out continues in the background). To wait for the stop to complete, specify a manual duration via Wait.

BGM / ME play only one track at a time ​

Playing BGM / ME via Play Sound always selects exactly one track at a time. This event content stops that selected track.

ME normally stops on its own ​

ME (Music Effect) automatically stops when playback completes, and the BGM resumes automatically. Explicitly stopping an ME with this event content is only used when you want to cancel it midway.

Automatic stop of MAP_BGM / MAP_ME ​

If you specify MAP_BGM / MAP_ME in Play Sound and the current map has no such setting, it stops automatically. If you want to switch sound automatically on map change, use MAP_BGM / MAP_ME instead of this event content.