This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:blox:examples-audio [2024/08/26 12:45] admin created |
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 log sensor data, either for immediate review, or logged to SD Card for long term analysis | + | 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 |
---- | ---- | ||
- | ===== 6.4.6.1 Notifications via onboard beeper, using RTTTL melodies | + | ===== 6.4.6.1 Notifications via onboard beeper ===== |
+ | |||
+ | BLOX provides a couple default noises you can use to signify events with an audible notification using the "Play Notification" | ||
{{docs: | {{docs: | ||
- | ===== 6.4.6.2 Notifications via onboard beeper, using built in Notifications | + | ===== 6.4.6.2 Notifications via onboard beeper, using RTTTL melodies |
+ | |||
+ | BLOX can also play custom melodies provided in RTTTL format | ||
{{docs: | {{docs: | ||
- | ===== 6.4.6.3 HD Audio output via I2S DAC Module ===== | + | 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.4 I2S Audio: Play audio files from SD Card ===== | + | Find some examples on |
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
- | ===== 6.4.6.5 I2S Audio: | + | Simply paste the RTTTL string into the "Play RTTTL Melody" |
- | ===== 6.4.6.6 I2S Audio: Use text to speech ===== | ||
+ | ---- |