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
  • 1 year ago
  • 26 minutes ago
  • 3 years ago

Installs

  • Total 2K
  • Win 1K
  • OS X 540
  • Linux 300
Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9
Windows 0 2 0 2 1 0 3 0 0 1 1 1 0 0 0 1 0 0 0 1 0 2 0 0 0 1 0 0 0 1 0 0 2 1 1 0 0 0 3 0 1 0 2 0 2 2
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 1 0 2 1 0 0 0 1 0 0 0
Linux 0 0 0 0 0 0 2 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 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”}