Audio Programming in C++
Minimum price
Suggested price

Audio Programming in C++

The Beginner Level

About the Book

Learn the different sound synthesis methods and how to implement them in C++. Requires knowledge of programming in C++.

  • Additive Synthesis
  • Subtractive Synthesis
  • Formant Synthesis
  • Granular Synthesis
  • FM Synthesis
  • Linear Arithmetic Synthesis
  • Phase Distortion Synthesis
  • Scanned Synthesis
  • VA Synthesis
  • Wavetable Synthesis
  • Physical Modeling

Also, learn Audio Engineering terminology.

  • Share this book

  • Categories

    • Computers and Programming
    • C and C++
    • Computer Science
    • Game Development
  • Installments completed

    1 / 3

  • 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: Audio Engineering Terminology (0 - 9 - A - Z)
  • Appendix C: URL for Source Code

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

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.

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) and EPUB (for phones, tablets and 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 and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub