Update bell

- Don't add the bell to the archive to keep it small a simplify
  licensing. Also bells seem to be rarely used with terminal emulators.
- Don't play the bell directly from the Terminal node by adding an
  AudioStreamPlayer, but make it easy to tune the "bell" signal behavior
  from the Terminal node so that only an AudioStreamPlayer node's play()
  method needs to be connected to it.
- Keep the bell.wav sound around for testing/demo.
This commit is contained in:
Leroy Hopson 2021-07-21 22:58:20 +07:00
parent d702021d02
commit 55b0a0577d
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
8 changed files with 42 additions and 30 deletions

BIN
themes/audio/bell.wav Normal file

Binary file not shown.

View file

@ -0,0 +1,21 @@
[remap]
importer="wav"
type="AudioStreamSample"
path="res://.import/bell.wav-0bb68f27c3e29a9aad676dc03d89b163.sample"
[deps]
source_file="res://themes/audio/bell.wav"
dest_files=[ "res://.import/bell.wav-0bb68f27c3e29a9aad676dc03d89b163.sample" ]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop=false
compress/mode=0