-
Notifications
You must be signed in to change notification settings - Fork 86
sounds
Jonathan Chan edited this page Jul 31, 2018
·
1 revision
The optional sounds
directory contains WAV and/or OGG files that can be played within an application.
WAV files must be uncompressed single-chunk 16 bit pcm at 44100Hz sampling rate. OGG files must have 44100Hz sampling rate. Both stereo and mono files are supported.
Note that Android is picky about sound file names, and will not accept non-alphanumeric characters like hyphens and underscores.
For example, if test.ogg
is included in the sounds directory, it can be loaded and played as follows (requires the audio
module):
(audiofile-init)
..
(set! myid (audiofile-load "test"))
..
(audiofile-play myid)
Note that the argument to audiofile-load
has no file extension.
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip