-
-
Save creyn/3f7026b8e275a1f138fb85cd21885d5a to your computer and use it in GitHub Desktop.
Droga Programisty : Szybkie Palce : funkcja Dzwiek
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Funkcja odtwarzajaca plik z efektem dzwiekowym z katalogu 'dzwieki' | |
function Dzwiek(dzwiek) { | |
// dzwieki ze strony https://freesound.org/ | |
new Audio('dzwieki/' + dzwiek + '.mp3').play(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment