To run unit tests, pip3 install pytest
, start Live, and run:
pytest
AbletonOSC supports dynamic reloading of the handler code modules so that it's not necessary to restart Live each time the code is modified.
To reload the codebase, send an OSC message to /live/reload
.
AbletonOSC logs events to /tmp/abletonosc.log
on macOS, or c:\temp\abletonosc.log
on Windows.
To view the Live boot log:
LOG_DIR="$HOME/Library/Application Support/Ableton/Live Reports/Usage"
LOG_FILE=$(ls -atr "$LOG_DIR"/*.log | tail -1)
echo "Log path: $LOG_FILE"
tail -5000f "$LOG_FILE" | grep AbletonOSC