Retro Sound
Play Retro Sounds and Tones on a 3.5mm Audio Jack
- Overview
- Driver
- Tethered Samples
- Standalone Samples
Connect amplified speakers to the 3.5mm jack for all kind of fun sounds and tones. The modules has filters to smooth out output and also has control over left and right channels with individual PMW and timers. This is not an MP3 player, but it can sound an alarm, play a melody, and generate cool sounds!
Key features • Frequency Range 200Hz to 10Khz | Resources PID: 0x070006 |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
PlayBeep(f, d) | Play beep, (f: frequency, d: duration in ms). |
PlaySound(f, d, c) | Play sound, (f: frequency, d: duration in ms, c: duty cycle). |
PlayMelody(a1) | Play melody. a1 is a float array, (odd elements: frequency, even elements: duration). |
StopMelody() | Stop melody. |
DVer() | This driver version. |
The Code!
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
- MicroBlocks
loading...
loading...
loading...
loading...
loading...
This sample project runs on a MicroBlocks-enabled device that is tethered to this module. Note that this tethered module needs to have the official DUELink firmware and its module driver. See MicroBlocks page to learn more.
Click the button below to open, edit, and run the project directly on MicroBlocks' website.
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
loading...
See Arduino page for more info.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Retro Sound | GDL-SORETROSND-A | $14.95 |