1. A primer on predictive coding and network modeling 2. Setting the stage: Cocktail parties, auditory streaming, mismatch negativity, and stimulus specific adaptation. 3. Neural adaptation and forward masking along the auditory pathway 4. Animal studies of deviance detection along the auditory pathway 5. Auditory cortical event-related potentials in the human brain 6. Development and maturation aspects of predictive coding 7. Role of event-related potentials and brain rhythms in predictive coding 8. Predictive coding in autism spectrum disorder, attention-deficit/hyperactivity disorder and dyslexia 9. Predictive coding in aging, tinnitus, MCI and Alzheimer's disease 10. Brain networks involved in deviance and novelty detection. Are they sensory modality specific? 11. Predictive coding in music, speech, and language 12. Network changes underlying neural disorders. Relation to the MMN networks Appendix. A primer on cortical auditory evoked potentials and magnetic fields