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 Pathβ
User Guidesβ
For musicians, producers, and curious readers who want plain-language explanations, better prompts, practical workflows, troubleshooting, and responsible release guidance. No machine-learning background is required.
Engineering Docsβ
For developers, researchers, and technical readers who want signal processing, representations, architectures, training methods, evaluation, APIs, and system-design details.
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.