Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.2 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.2 KB

Prelude in C

An implementation of Bach's Prelude in C, BWV 846.

Goals

  • Expore making music with programming
  • Learn about audio APIs
  • Learn how to write a multiplatform C program
  • It would be nice if it actually sounds good

Design

  • The music is defined as an array of integers that are MML note numbers. For more details, see the source code of prelude.c or consult a BSD man page for the speaker device.
  • I want to port it to every free operating system I can get my hands on.
  • No third-party libraries. I actually want to learn the platform-specific APIs.
  • It's in a file called prelude.c!

How to run it

./configure
make
./prelude