Audio Programming
$14.95
Minimum price
$24.95
Suggested price

Audio Programming

The Beginner Level

About the Book

Learn the different sound synthesis methods and how to implement them in C++. Also learn Audio Engineering terminology.

  • Share this book

  • Categories

    • Computers and Programming
    • C and C++
    • Computer Science
    • Music
    • Game Development
    • Games
  • Feedback

    Email the Author(s)

About the Author

Håkan Blomqvist
Håkan Blomqvist

Håkan Blomqvist has programmed computers for utilities, sound and graphics since 1985 (has a background in the Commodore Amiga demoscene). He is based in Sweden. The span of his engineering experience covers a multitude of disciplines, ranging from the board level analog and digital hardware design, and assembly programming, all the way to C/C++ design and software architecture. Most of the projects he has done has been for UNIX and GNU/Linux systems and most of the projects today in modern C++. There are millions of users around the world, running software he has developed. From fortune 500, to goverments, to banks and so on.


When not writing books, Håkan enjoys doing sound design on his Waldorf Iridium desktop synthesizer and ASM Hydrasynth Deluxe synthesizer.

Table of Contents

  • Introduction
    • Why C++20?
    • So what is the definition of synthesis?
    • What was the first Sound Synthesizer?
    • What is sound?
    • What is Timbre?
    • Synthesis Chapters in the book
  • The Physics of string, wind and percussion Instruments
    • Strings
    • Wind
    • Percussion
  • Additive Synthesis
    • Additive Synthesis in C++
    • Additive Synthesis with a KAWAI K5
  • Subtractive Synthesis
    • Subtractive Synthesis in C++
    • Subtractive Synthesis with a Sequential Circuits Prophet 5
  • Formant Synthesis
    • Formant Synthesis in C++
    • Formant Synthesis with a Yamaha FS1R
  • Granular Synthesis
    • Granular Synthesis in C++
    • Granular Synthesis with a Portal by Output
  • Frequency Modulation (FM) Synthesis
    • Frequency Modulation (FM) Synthesis in C++
    • Frequency Modulation (FM) Synthesis with a Yamaha DX7
  • Linear Arithmetic Synthesis
    • Linear Arithmetic Synthesis in C++
    • Linear Arithmetic Synthesis with a Roland D-50
  • Phase Distortion Synthesis
    • Phase Distortion Synthesis in C++
    • Phase Distortion Synthesis with a Casio CZ-1000
  • Scanned Synthesis
    • Scanned Synthesis in C++
    • Scanned Synthesis with a Qu-Bit Scanned
  • Vector Synthesis
    • Vector Synthesis in C++
    • Vector Synthesis with a Sequential Circuits Prophet VS
  • Virtual Analog (VA) Synthesis
    • Virtual Analog (VA) Synthesis in C++
    • Virtual Analog (VA) Synthesis with a Access Virus TI
  • Wavetable Synthesis
    • Wavetable Synthesis in C++
    • Wavetable Synthesis with a PPG wave 2.2
  • Physical Modeling
    • Physical Modeling in C++
    • Physical Modeling with a Aodyo Anyma Phi
  • In the Rearview Mirror
  • Appendix A: C++20 Code
  • Appendix B: C++20 Code in Hex
  • Appendix C: Audio Engineering Terminology (0 - 9 - A - Z)

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$11,595,069writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub