project image

TransientMangler

Nov 2019

Real-Time pitch down effect for drums

  • Bachelor
  • Music Information Retrieval
  • C++

TransientMangler is a pitch down VST and LV2 plugin for drums. It mimiks the time warping function of Ableton in real-time. This project is a bachelor group project in collaboration with Bram Giesen and Haider Raja.

The plugin works by playing the input signal at a slower rate than normal which lowers the pitch. When a new note (or a transient) is detected the signal jumps forward so it is caught up with the current samples. This jumping forward preserves the groove of the real-time input. However, because the signal is streched, the envelope of the notes are also stretched. To compensate this, an envelope generator reshapes the envelope of the pitched down note.

My role was to find a way to detect the begining of a new note and implement it in code. This introduced me to onset detection and the field of Music Information Retrieval.

The audio example below shows the transientMangler manipulating the pitch and envelope of a drum loop.

This project served as inspiration for my bachelor graduation project PedalMangler and my bachelor thesis Onset Effects.

Code on Gitlab