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
  • 12 months ago
  • 7 minutes ago
  • 3 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

Sublime-Sound ST2ST3

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”}