Neural Audio Theory
By Eduardo J. Barrios
Neural Audio Theory is an open educational reference for both people making music with AI and people engineering the systems behind it.
Choose your learning pathβ
Create music with AI: User Guidesβ
Choose this path if your goal is to make, troubleshoot, finish, or release AI-assisted music. It uses plain language and assumes no machine-learning background.
Start here: AI Music in Plain Language β Prompt Engineering β Production Workflow
Build and study neural audio systems: Engineering Docsβ
Choose this path if your goal is to understand, build, train, integrate, or evaluate neural audio systems. It assumes comfort with software concepts and introduces the required mathematics along the way.
Start here: Digital Audio Basics β Music Representations β Signal Processing Basics
Technical claims follow the guide's Reliability and Sourcing standard, which distinguishes documented facts, observations, inference, and unknowns.
Both paths describe the same field from different levels of abstraction. You can switch between them whenever a practical question needs a technical explanationβor an engineering concept needs a musical example.
What You Will Learnβ
This handbook covers the full landscape of AI music β from foundational audio theory to production workflows to cutting-edge research:
Foundationsβ
- Audio Fundamentals β digital audio, psychoacoustics, music theory, and codecs
- Concepts β embeddings, latent spaces, neural codecs, text-audio alignment, and music representations
Engineeringβ
- Mathematics β FFT, mel spectrograms, attention math, loss functions, and signal processing
- Architecture β transformers, diffusion models, VAEs, GANs, and U-Nets for audio
- Training β dataset curation, augmentation, training strategies, and evaluation metrics
Systemsβ
- Model Zoo β MusicLM, MusicGen, Stable Audio, Jukebox, Suno, and Udio
- Advanced Topics β multimodal generation, real-time inference, fine-tuning, and controllable generation
Practiceβ
- Producer Handbook β workflows, troubleshooting, genre prompting, mixing, stem separation, and vocal synthesis
- Prompt Engineering Guide β conditioning embeddings and prompt structure
- Tools & Ecosystem β DAW integration, open-source tools, and API patterns
Referenceβ
- Ethics & Legal β copyright, training data rights, and responsible use
- Glossary β comprehensive AβZ reference of AI music terminology
Core Engineering Viewβ
Most AI music systems follow a practical pipeline:
- Data preparation: normalize, segment, and annotate large music/audio corpora
- Representation: transform audio into spectrograms, codec tokens, or latents
- Modeling: train sequence or diffusion networks with conditional inputs
- Inference control: steer generation with prompts, structure tags, and guidance scales
- Post-processing: mixing, mastering, and quality assurance
- Evaluation: combine objective metrics and human listening tests
If You Just Want to Make AI Musicβ
If your main goal is creating songs quickly, start with the beginner page:
It translates the same engineering foundations into plain language while staying technically accurate, so you can move from "just prompting" to more consistent, controllable outputs.
Then dive into the Producer Handbook for practical workflows, genre-specific prompting tips, and mixing techniques for AI-generated audio.
Example Mathematical Building Blocksβ
Continuous Fourier transform for a signal :
Cosine similarity for embedding vectors and :
Use the sidebar to explore all sections for a full engineering-level understanding.