Skip to content

Instantly share code, notes, and snippets.

View ferrihydrite's full-sized avatar

ferrihydrite

  • Purdue University
View GitHub Profile
@ferrihydrite
ferrihydrite / morphagene_ableton3.py
Last active April 29, 2023 07:59 — forked from knandersen/morphagene_ableton.py
Allows you to use Ableton projects and exports as reels for the Make Noise Morphagene eurorack module.
# -*- coding: utf-8 -*-
"""
USAGE:
morphagene_ableton3.py -w <inputwavfile> -l <inputlabels> -o <outputfile>'
Instructions in Ableton:
Insert locators as splice markers in your project (Create > Add Locator)
Export Audio/Video with
Sample Rate: 48000 Hz
Encode PCM: enabled
ClrHome
Menu("WHAT FORMULA<S>?","SLOPE",A,"PYTHAGOREAN",B,"QUADRATIC",C,"DIST./MAGNIT.",D,"MIDPOINT",E,"AREAS/OTHER",F,"EXIT",G
Lbl A
ClrHome
Disp "((ENTER COORDS))"
Disp "","-X1-"
Input A
Disp "","-Y1-"
Input B
Disp "","-X2-"