Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.75 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.75 KB

Simple Project: Drum learning app

This a project for making a learning app for drum students.

Heads up! This project is folded here and is being continued on bitbucket!

C/C++

At the moment there are the functions play_from_file (which plays an existing WAVE file) and record_to_file (which records from Default Audio Input and writes it to Disk as WAVE file). It can be compiled with gcc -o test main.c -lsndfile -lportaudio -include audioio.c.

Dependencies

You need

Prototypes in Python

At the moment you can load the Python script interactive.py and you'll get in a loop where you can

  • record audio (via PortAudio)
  • play this back (via PortAudio)
  • real-time spectogram plotting
  • time-stretch it (simple, pitch-changing, by just interpolating the audio signal)
  • writing it to hard disk

Dependencies

At the moment you need

Time Stretch Tests

In the folder time_stretch_tests there are tests for time stretching. The original file ionisation_orig.mp3 is a small excerpt from Edgar Varèses Ionisation. The stretched files are twice as long, i.e. half tempo. (The files have been converted to mp3 afterwards via lame infile.wav outfile.mp3 -V2.)