1 / 12

Real-Time Music generation

Discover the intricacies of real-time music generation: from storing instructions to dynamic data loading caveats. Learn its applications, differences from streamed audio, and scenarios of usage. Visual presentation with insightful content.

blanchea
Download Presentation

Real-Time Music generation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Real-Time Music generation A very greatly awesomely good presentation by Alex Zazzaro.

  2. What is real-time music generation? • Music stored as instructions and commands. • Interpreted and played during runtime.

  3. Streamed audio • Prerecorded music. • The waveform is sent straight to the speakers. • MP3 files (for example). • Anything can be recorded.

  4. Caveats to streamed audio • Cannot read from disc while streaming from disc. • No dynamic data loading during game play. • Stream would need to reside in ram to do so. • Streams are large, ram is limited.

  5. How real-time music generation is different • For decent quality, an uncompressed stream needs 44,100 bytes for each second of audio. • 88,200 bytes per second if you want 16-bit audio! • Real-time generated music stores only instructions, such as notes and note lengths.

  6. Scenario • Trumpet playing 5 notes over 5 seconds.

  7. Scenario – Streamed Audio • 215kB (220500 bytes) • 44,100 bytes per second, for 5 seconds.

  8. Scenario – Real-Time • 10 bytes • One byte for note, one byte for note duration; for 5 notes.

  9. How it works (1/2) • Recording of an instrument playing one note. • The recording is played at different pitches. • Multiple recordings of the same instrument can be used.

  10. How it works (2/2) • 1 channel can play only play 1 note at a time. • To play N notes simultaneously, you need N channels. • Each channel needs its own set of instructions.

  11. What uses real-time music generation? • Systems with limited memory. • Cartridge-based systems. • Systems that can only make beeping noises. • Games where the music is interactive. • Games that just simply feel like using it.

  12. Credits • Songs used • Battle Theme – Mario Kart • Nell’s Theme – Advance Wars • Main Theme – Professor Layton and the Curious Village • Alma’s Moon Walk – Hanjuku Hero IV • Rocket Belt – PilotWings

More Related