For this assignment I implemented a patch that harmonizes incoming audio. This patch was realized with the gizmo~ object in Max; gizmo~ operates within the context of a pfft~ object, analyzing the results of the FFT operation in order to re-synthesize audio that has been shifted spectrally.
The patch allows audio to be harmonized with the following intervals adhering to just intonation tuning: M/m3, P5, & M/m7. A simple UI allows the user to mix the incoming audio with it’s harmonization, to select the quality of the 3rd and 7th intervals, and to mute the 5th.
The embedded video demonstrates real-time manipulation of the patch processing a monophonic recording of a cello.
The code for this patch can be found at the following link: https://drive.google.com/drive/u/0/folders/1O0wm-jHsYGvnDhIR8q4OJUjityO-iqMK