Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Music to Sheet Music Hugh Smith. Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into.

Similar presentations


Presentation on theme: "Digital Music to Sheet Music Hugh Smith. Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into."— Presentation transcript:

1 Digital Music to Sheet Music Hugh Smith

2 Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into use, including WAVE, MP3, Ogg Vorbis, and many others. This project hopes to take any one of these file formats, and, based on the pure audio wavelength data (what the computer must see to play the song), convert it to a sheet music ver- sion.

3 Background I need to have a good understanding of how C++ works. Also, I need to know musical composition, and how virtual music files are put together. The reason for knowing these things is so I can perform the operations stated above in the fastest time. With bigger music files, the analysis portion of this project could take a long time, so I need to be able to optimize the process. I know some previous research has been done in this area, by some TJ students and other researchers.

4 3 Parts to a WAVE file RIFF Fmt Data https://www.seas.upenn.edu/~cis520/project/sound_wave.png

5 RIFF Descriptor Chunk OffsetSizeDescriptionValue 04Chunk IDRIFF 44Chunk data size8 84RIFF typeWAVE

6 FMT – Format chunk OffsetSizeDescriptionValue 124Chunk ID“fmt” 164Chunk Data Size16 + * 202Compression codeInt 222Number of channels Int 244Sample rateHex 282Block alignHex 322Significant bits per sample Int 342Extra format bytesInt *If the file is compressed, more bytes may come after the end of the fmt chunk.

7 More FMT Info Number of Channels = 1 for mono, 2 for stereo Compression code: indicates type of compression used on the file – Can be many types: Uncompressed MPEG GSM Microsoft ADPCM Etc.

8 FMT Info Pt. 2 Sampling rate Block Align – SigBitsPerSample / NumChannels Significant Bits per Sample – 8, 16, 24, 32

9 Data – Data Chunk OffsetLengthDescriptionValue 364Chunk ID“data” 404Chunk sizeDepends on file 44*** * = The actual data of the file.

10 ABC Notation

11 Sound Waves Distortion, aliasing, sampling, ADC, DAC, noise, spectra... the list goes on.

12 Fourier Transform Returns array of values

13 The Problem The program does about 20 billion calculations.

14 The Solution

15 Conclusion What the program needs now is MPI implementation and a way to turn the Fourier Transform values into notes.

16 Bibliography http://www.sonicspot.com/guide/wavefiles.h tml http://www.sonicspot.com/guide/wavefiles.h tml https://ccrma.stanford.edu/courses/422/proj ects/WaveFormat/ https://ccrma.stanford.edu/courses/422/proj ects/WaveFormat/ http://thesession.org Elements of Computer Music


Download ppt "Digital Music to Sheet Music Hugh Smith. Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into."

Similar presentations


Ads by Google