From 11cf727bfbe71874a5f5c77aa83ae4145754f98c Mon Sep 17 00:00:00 2001 From: C1ff Date: Tue, 3 Feb 2015 12:48:12 -0600 Subject: Added more sounds to noteblocks, see the documentation on http://mesecons.net for more information --- mesecons_noteblock/init.lua | 9 +++++++++ mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg | Bin 0 -> 17855 bytes .../sounds/mesecons_noteblock_asharp2.ogg | Bin 0 -> 16522 bytes mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg | Bin 0 -> 14834 bytes mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg | Bin 0 -> 27910 bytes .../sounds/mesecons_noteblock_csharp2.ogg | Bin 0 -> 27427 bytes mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg | Bin 0 -> 26664 bytes .../sounds/mesecons_noteblock_dsharp2.ogg | Bin 0 -> 25870 bytes mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg | Bin 0 -> 24258 bytes mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg | Bin 0 -> 23477 bytes .../sounds/mesecons_noteblock_fsharp2.ogg | Bin 0 -> 22038 bytes mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg | Bin 0 -> 20640 bytes .../sounds/mesecons_noteblock_gsharp2.ogg | Bin 0 -> 19215 bytes 13 files changed, 9 insertions(+) create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg create mode 100644 mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua index d63b93e..6321882 100644 --- a/mesecons_noteblock/init.lua +++ b/mesecons_noteblock/init.lua @@ -61,9 +61,15 @@ mesecon.noteblock_play = function (pos, param2) if block_below_name == "default:glass" then soundname="mesecons_noteblock_hihat" end + if block_below_name == "default:steelblock" then + soundname=soundname.."2" -- Go up an octave. + end if block_below_name == "default:stone" then soundname="mesecons_noteblock_kick" end + if block_below_name == "default:lava_source" then + soundname="fire_large" + end if block_below_name == "default:chest" then soundname="mesecons_noteblock_snare" end @@ -73,6 +79,9 @@ mesecon.noteblock_play = function (pos, param2) if block_below_name == "default:wood" then soundname="mesecons_noteblock_litecrash" end + if block_below_name == "default:coalblock" then + soundname="tnt_explode" + end minetest.sound_play(soundname, {pos = pos, gain = 1.0, max_hear_distance = 32,}) end diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg new file mode 100644 index 0000000..1113500 Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg new file mode 100644 index 0000000..fda84eb Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg new file mode 100644 index 0000000..35a742f Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg new file mode 100644 index 0000000..8468541 Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg new file mode 100644 index 0000000..8d76cda Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg new file mode 100644 index 0000000..f1ded77 Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg new file mode 100644 index 0000000..45f199c Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg new file mode 100644 index 0000000..0dd495c Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg new file mode 100644 index 0000000..3d5931b Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg new file mode 100644 index 0000000..edc06d6 Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg new file mode 100644 index 0000000..a798206 Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg differ diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg new file mode 100644 index 0000000..94ccdfe Binary files /dev/null and b/mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg differ -- cgit v1.2.3