Skip to content

Instantly share code, notes, and snippets.

View knandersen's full-sized avatar

Kevin Nørby Andersen knandersen

View GitHub Profile
## Enables you to quit and release UART by Ctrl+a+q
bind q quit
@knandersen
knandersen / morphagene_directory.py
Last active May 12, 2021 03:16
Takes an input directory containing wave files and splices them together into a morphagene reel
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
USAGE:
morphagene_directory.py -d <inputdirectory> -o <outputfile>'
Script will go through <inputdirectory> and splice all wave-files
together in alphabetic order and place a marker in between.
Requires all wave-files in directory to have the same number of channels and bitrate!
@knandersen
knandersen / morphagene_ableton.py
Last active August 23, 2024 01:55 — forked from ferrihydrite/morphagene_audacity.py
Allows you to use Ableton projects and exports as reels for the Make Noise Morphagene eurorack module. Since a few people have found the script not working or difficulty getting python to work, I have created a web-based tool: https://knandersen.github.io/morphaweb/
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
USAGE:
morphagene_ableton.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