Skip to content

Commit

Permalink
change move sound to a CC0 sound, add attribution text
Browse files Browse the repository at this point in the history
  • Loading branch information
0Xero7 committed Dec 1, 2024
1 parent 13b9145 commit c1a5e4a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class AudioPlayer {
constructor() {
this.sounds = new Map();
const context = new AudioContext();
this.addSound(context, AudioEventType.MOVE, 'static/public_sound_standard_Move.mp3');
this.addSound(context, AudioEventType.MOVE, 'static/chess_move.mp3');
}

private async addSound(context: AudioContext, eventType: AudioEventType, path: string): Promise<void> {
Expand Down
1 change: 1 addition & 0 deletions static/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<a href="https://commons.wikimedia.org/wiki/User:Cburnett" target="_blank">
Colin M.L. Burnett
</a>. Analysis by <a href="https://lczero.org" target="_blank">LCZero</a> engine.
<a href="https://freesound.org/people/simone_ds/sounds/366065/">chess pieces.wav</a> by <a href="https://freesound.org/people/simone_ds/">simone_ds</a> (<a href="http://creativecommons.org/publicdomain/zero/1.0/">CC0 licence</a>).
Source code on <a href="https://github.com/LeelaChessZero/lczero-live" target="_blank">GitHub</a>.
</div>
<script src="dist/main.js"></script>
Expand Down
Binary file added static/static/chess_move.mp3
Binary file not shown.
Binary file removed static/static/public_sound_standard_Move.mp3
Binary file not shown.

0 comments on commit c1a5e4a

Please sign in to comment.