This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:blox:examples-audio [2024/08/26 13:29] admin |
docs:blox:examples-audio [2024/08/26 14:19] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 6.4.6 Audio ====== | + | ====== 6.4.6 Audio: Onboard Beeper |
BLOX can be used to to play notifications via the Onboard beeper, or more complicated projects can be done via external I2S Audio decoder modules | BLOX can be used to to play notifications via the Onboard beeper, or more complicated projects can be done via external I2S Audio decoder modules | ||
Line 5: | Line 5: | ||
---- | ---- | ||
- | ===== 6.4.6.1 Notifications via onboard beeper, using RTTTL melodies | + | ===== 6.4.6.1 Notifications via onboard beeper ===== |
- | {{docs: | + | BLOX provides a couple default noises you can use to signify events with an audible notification using the "Play Notification" |
- | + | ||
- | ===== 6.4.6.2 Notifications via onboard beeper, using built in Notifications ===== | + | |
{{docs: | {{docs: | ||
- | ===== 6.4.6.3 HD Audio output | + | ===== 6.4.6.2 Notifications |
- | ==== 6.4.6.3.1 Jumpers on the PCM5102a Module ==== | + | BLOX can also play custom melodies provided in RTTTL format |
- | ==== 6.4.6.3.2 Wiring PCM5102a Module ==== | + | {{docs: |
- | {{:docs: | + | RTTTL stands for Ringing Tone Text Transfer Language, a simple text-based format used to encode monophonic ringtones for mobile phones, particularly for older models before the advent of polyphonic and MP3 ringtones. |
+ | It was in use for a very long time, so there are thousands of RTTTL melodies available online: | ||
- | ==== 6.4.6.3.3 Configure PCM5102a Module ==== | + | Find some examples on |
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
- | {{: | + | Simply paste the RTTTL string into the "Play RTTTL Melody" |
- | ===== 6.4.6.4 I2S Audio: Play audio files from SD Card ===== | ||
- | |||
- | ===== 6.4.6.5 I2S Audio: Play audio via stream URL ===== | ||
- | |||
- | ===== 6.4.6.6 I2S Audio: Use text to speech ===== | ||
+ | ---- |