Add 'nosound'
19
nosound.md
Normal file
19
nosound.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# nosound()
|
||||||
|
Si hi ha só sonant, el para.
|
||||||
|
|
||||||
|
|
||||||
|
### Exemple
|
||||||
|
```
|
||||||
|
function init()
|
||||||
|
sound(440,10000)
|
||||||
|
end
|
||||||
|
|
||||||
|
function update()
|
||||||
|
print("Pulsa espai per a parar el só",0,0)
|
||||||
|
if btn(KEY_SPACE) then
|
||||||
|
nosound()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
```
|
||||||
|
### Vore també
|
||||||
|
* [sound(freq,len)](sound)
|
||||||
Reference in New Issue
Block a user