ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sound

by airtoxin ST2/ST3

Sublime-Text plugin to play event sounds

Details

  • 3 1.2.3
    3 O 1.2.1
    1.0.0
  • github.​com
  • github.​com
  • 9 months ago
  • 43 minutes ago
  • 3 years ago

Installs

  • Total 2K
  • Win 909
  • OS X 511
  • Linux 271
Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9
Windows 1 0 0 4 1 2 0 2 0 1 1 0 1 2 5 0 0 1 0 1 3 0 0 0 5 1 3 4 6 0 0 0 1 1 0 0 0 0 1 2 0 1 2 0 0 1
OS X 0 1 0 0 0 0 0 0 0 0 0 0 3 1 0 0 0 1 1 1 0 0 0 0 1 3 3 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1
Linux 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 3 0 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime-Sound

Sublime-Text plugin to play event sounds. Fun :smile:

Supported Platforms

osx linux windows
Sublime Text 2 :small_red_triangle: :small_red_triangle: :x:
Sublime Text 3 :o: :o: :o:

If you use ST2 Build 2091(29 July 2011) or more newer one, we cannot play any sounds because of its change of threading policy.:cry:

Installation

You can install from Package Control.

Package Control: Install Package > Select Sound

Event Lists

  • on_new: played when new file buffer is created.
  • on_load: played when the file is finished loading.
  • on_save: played when file view has been saved.
  • on_close: played when a file view is closed.
  • on_clone: played when a file view is cloned from an existing one.
  • on_modify: played when a file view is changed.

Command List

These commands can select from Command Palette.

  • Toggle sound: play/mute sound
  • Change soundset: change active soundset
  • Install soundset: install new soundsets from Sublime-SoundSets
  • Uninstall soundset: remove installed soundsets
  • Add soundset: add custom sounds manualy

Custom Sounds

You can customize playing sounds by replace file. (only supports wav file now)

Replace wav file on Preference > Package Settings > Sound > Open sounds > soundset name > event_name directory.

If you put some files in a event_name directory, this plugin randomly choice a file and play on each event triggered.

Settings

  • min_span{0<Inf}
  • volume{1~100}: only osx support
  • soundset{“soundset name”}