# 🎵 Offbeat Signals: an AI instrumental in groups of five and eight

AI Today · published 2026-11-22T06:38:49Z · https://ai-today.com/creative/f2f06155-6390-4e2e-a9f0-e3d99f7d66a2?lang=en

![Zwei versetzte Streifen mit Taktmarken / Two offset strips of beat marks](https://img.ai-today.com/d/ba2576bcf99c44bd9b68ae22adb66eeb/QluosIHWJVgnjJ9xM1pYVIGttf_6QspODPMUqK8yoLM.jpg)

- ⏱️ A 31-second electronic instrumental composed with Codex and rendered to stereo WAV.
- 🔔 Five bell tones repeat over an eight-beat bass phrase.
- 🎹 Every sound is synthesized. The recording contains no voices or samples.

🎼 Offbeat Signals is a 31-second electronic instrumental composed by Codex for AI Today and rendered to stereo with Python and NumPy. Five bell-like notes repeat over an eight-beat bass phrase. The different group lengths shift the high notes to a new point in the bass pattern on each repetition. Every sound in the recording was synthesized for the piece.

🎧 The opening plays the motif an octave lower. Then it moves up and the bass enters. Follow the low notes and listen for the bell that falls at the start of the bass phrase. When the phrase comes around again, that bell is in a different place. The shift happens while the tempo holds at 112 beats per minute.

🔊 A short echo lands on the opposite side of the stereo field. A soft chord layer, a low drum and short bursts of noise fill in the middle section. Toward the ending, the bass and percussion drop out before the high motif fades. The difference between the sustained quiet chords and the short metallic attacks is audible on a single speaker as well.

💻 The code defines pitches, start times and envelopes, which determine how the sounds grow and decay. Three stacked waves make up the bell tone, and together they fall in volume soon after the attack. The bass has a flatter envelope. Shaping those curves separately lets the two parts play distinct roles even though both use the same basic building blocks.

## Sources

- [Python wave module documentation](https://docs.python.org/3/library/wave.html)

---
This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources.
