WM8960-Audio-HAT
The drivers of [WM8960 Audio HAT] for Raspberry Pi
File Explorer
- asound.conf
- builddtbo.sh
- dkms.conf
- install.sh
- LICENSE
- Makefile
- README.md
- uninstall.sh
- wm8960-soundcard
- wm8960-soundcard.c
- wm8960-soundcard.dtbo
- wm8960-soundcard.dts
- wm8960-soundcard.service
- wm8960.c
- wm8960.h
- wm8960_asound.state
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
aplay
View Details ▼
aplay
Sound player for ALSA soundcard driver.
aplay {{path/to/file}}
Play a specific file (sampling rate, bit depth, etc. will be automatically determined for the file format):
aplay {{[-d|--duration]}} 10 {{[-r|--rate]}} 2500 {{path/to/file}}
Play the first 10 seconds of a specific file at 2500 Hz:
aplay {{[-c|--channels]}} 1 {{[-t|--file-type]}} raw {{[-r|--rate]}} 22050 {{[-f|--format]}} mu_law {{path/to/file}}
Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law `.au` file:
arecord
View Details ▼
arecord
Sound recorder for ALSA soundcard driver.
arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{path/to/file.wav}}
Record a snippet in "CD" quality (finish with `<Ctrl c>` when done):
arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{[-d|--duration]}} {{10}} {{path/to/file.wav}}
Record a snippet in "CD" quality, with a fixed duration of 10 seconds:
arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{[-t|--file-type]}} raw | lame -r - {{path/to/file.mp3}}
Record a snippet and save it as an MP3 (finish with `<Ctrl c>` when done):
reboot
View Details ▼
reboot
Reboot the system.
reboot
Reboot the system:
sudo reboot
Reboot immediately:
reboot {{[-p|--poweroff]}}
Power off the system (same as `poweroff`):
