From c59173a377c5ee55b56fe4cc1d9d973c272c1f24 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 13 Aug 2021 22:41:19 +1000 Subject: [PATCH] credit where credit is due --- doc/sound-credits.md | 7 +++++++ readme.md | 6 +++++- src/Audio.c | 3 ++- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 doc/sound-credits.md diff --git a/doc/sound-credits.md b/doc/sound-credits.md new file mode 100644 index 000000000..8cce5320b --- /dev/null +++ b/doc/sound-credits.md @@ -0,0 +1,7 @@ +Sources + +https://old.reddit.com/r/Minecraft/comments/3zxucv/where_did_the_sound_in_minecraft_come_from/ +https://web.archive.org/web/20100830062601/http://minecraft.net/credits.jsp +https://web.archive.org/web/20100124101348/http://www.freesound.org/usersAttribution.php?id=1045860&format=html +https://web.archive.org/web/20100613143900/http://www.freesound.org/usersAttribution.php?id=584268 +https://freesound.org/people/C418/downloaded_sounds/?page=7#sound \ No newline at end of file diff --git a/readme.md b/readme.md index 18a8a233e..dc7629b47 100644 --- a/readme.md +++ b/readme.md @@ -183,4 +183,8 @@ Further information (e.g. style) for the game's source code can be found in the * [GCC](https://gcc.gnu.org/) - Compiles client for linux * [MinGW-w64](http://mingw-w64.org/doku.php) - Compiles client for windows * [Clang](https://clang.llvm.org/) - Compiles client for macOS -* [Emscripten](https://emscripten.org/) - Compiles client for web \ No newline at end of file +* [Emscripten](https://emscripten.org/) - Compiles client for web + +## Sound Credits +ClassiCube uses sounds from [Freesound.org](https://freesound.org)
+Full credits are listed in [doc/sound-credits.md](doc/sound-credits.md) \ No newline at end of file diff --git a/src/Audio.c b/src/Audio.c index a14f064a5..92c070e4d 100644 --- a/src/Audio.c +++ b/src/Audio.c @@ -993,6 +993,8 @@ static void Sounds_Play(cc_uint8 type, struct Soundboard* board) { snd = *snd_; volume = Audio_SoundsVolume; + /* https://minecraft.fandom.com/wiki/Block_of_Gold#Sounds */ + /* https://minecraft.fandom.com/wiki/Grass#Sounds */ if (board == &digBoard) { if (type == SOUND_METAL) snd.sampleRate = (snd.sampleRate * 6) / 5; else snd.sampleRate = (snd.sampleRate * 4) / 5; @@ -1089,7 +1091,6 @@ EMSCRIPTEN_KEEPALIVE void Audio_SoundReady(const char* name, int channels, int s return; } } - Platform_Log1("IDK %c", name); } static void InitWebSounds(void) {