Skip to main content
Article
100%
HD

In recent years, transformer models—those massive AI systems—have started to make noise in music too. A research team tested GPTs, the same models that write text, to craft complex soundscapes from textual or visual prompts. The workflow begins with a module that translates the input (a sentence or an image) into a “sound recipe,” like “rain patter + footsteps on gravel.” Then the model generates the actual audio, layering sounds coherently. To add flexibility, the scientists incorporated a granular synthesizer: a digital tool that chops audio into tiny grains and recombines them, preventing obvious loops. The outcome is a fluid, detail‑rich soundscape ready for games, films, or art installations. This GPT‑plus‑granular synthesis combo opens fresh possibilities for sound designers, who can now prototype ideas that were once labor‑intensive. In the future, we might see interfaces where you simply describe the desired atmosphere and AI turns it into an immersive audio environment, making sound creation more accessible and creative.

Bonus
100%
HD

Transformers, introduced by Vaswani et al. (2017), rely on self‑attention mechanisms that let the model weigh the importance of each token relative to all others. When trained on large audio‑text corpora, they learn correlations between linguistic descriptions and spectral features. For GPT‑based sound design, the pipeline includes a prompt‑engineering stage where text or image is converted into a sequence of audio‑descriptive tokens, often using a predefined timbre vocabulary (e.g., "FM synth", "white noise", "plate reverb"). The model then generates an intermediate mel‑spectrogram representation, which is turned into waveform via a neural vocoder (e.g., WaveGlow or HiFi‑GAN). Granular synthesis, on the other hand, works at the sample level: the produced audio is segmented into grains of 10‑50 ms, each with pitch, amplitude, and envelope parameters. A random or rule‑based recombination algorithm (e.g., Markov chain) rearranges these grains, creating endless variations without loop artifacts. Combining these technologies overcomes traditional parametric synthesis limits, offering greater creative freedom and more natural sound quality. Moreover, controlling granularity and transformer attention parameters opens the door to real‑time co‑creation systems, where musicians and designers interact with AI via graphical interfaces or MIDI controllers, receiving immediate, customized audio feedback.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Authors:
Grzegorz Samson
Date Published:
Original Article www.mdpi.com
Fact-check verified on 26/04/2026
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti