credit where credit is due

This commit is contained in:
UnknownShadow200 2021-08-13 22:41:19 +10:00
parent 775cbd1528
commit c59173a377
3 changed files with 14 additions and 2 deletions

7
doc/sound-credits.md Normal file
View File

@ -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

View File

@ -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 * [GCC](https://gcc.gnu.org/) - Compiles client for linux
* [MinGW-w64](http://mingw-w64.org/doku.php) - Compiles client for windows * [MinGW-w64](http://mingw-w64.org/doku.php) - Compiles client for windows
* [Clang](https://clang.llvm.org/) - Compiles client for macOS * [Clang](https://clang.llvm.org/) - Compiles client for macOS
* [Emscripten](https://emscripten.org/) - Compiles client for web * [Emscripten](https://emscripten.org/) - Compiles client for web
## Sound Credits
ClassiCube uses sounds from [Freesound.org](https://freesound.org)<br>
Full credits are listed in [doc/sound-credits.md](doc/sound-credits.md)

View File

@ -993,6 +993,8 @@ static void Sounds_Play(cc_uint8 type, struct Soundboard* board) {
snd = *snd_; snd = *snd_;
volume = Audio_SoundsVolume; volume = Audio_SoundsVolume;
/* https://minecraft.fandom.com/wiki/Block_of_Gold#Sounds */
/* https://minecraft.fandom.com/wiki/Grass#Sounds */
if (board == &digBoard) { if (board == &digBoard) {
if (type == SOUND_METAL) snd.sampleRate = (snd.sampleRate * 6) / 5; if (type == SOUND_METAL) snd.sampleRate = (snd.sampleRate * 6) / 5;
else snd.sampleRate = (snd.sampleRate * 4) / 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; return;
} }
} }
Platform_Log1("IDK %c", name);
} }
static void InitWebSounds(void) { static void InitWebSounds(void) {