잠토의 잠망경

Fundamentals of Sound: How to Make Music out of Nothing at All 본문

공부/CodeProject

Fundamentals of Sound: How to Make Music out of Nothing at All

잠수함토끼 2009. 8. 16. 19:16

Introduction

In this article, we'll look at how sound waves work and interact with each other, as well as how to represent waveforms in PCM WAVE format (*.wav). Then we'll build on that understanding to create a class that generates musical tones, which will allow us to create whole songs from scratch. Example code is included in the source download, which will generate clips from two of the most beautiful pieces of music ever written: Bach's "Minuet in G" and Salt -n- Peppa's "Push It."

음악을 midi api를 사용하지 않고 만드는 내용을 담고 있다. 소스도 심플하고 기능도 뛰어나다. ^^

Comments