diff --git a/sound.load.md b/sound.load.md new file mode 100644 index 0000000..4629960 --- /dev/null +++ b/sound.load.md @@ -0,0 +1,17 @@ +# sound.load(filename) +Carrega un so en format WAV des del fitxer especificat i el torna com a identificador numèric. + +### Paràmetres +* filename — Fitxer WAV a carregar. + +### Torna +L'identificador numèric del so carregat. + +### Exemple +``` +local s = sound.load("explosion.wav") +``` + +### Vore també +* [sound.play](sound.play) +* [sound.free](sound.free)