-
Notifications
You must be signed in to change notification settings - Fork 3
/
aubio.cmd
24 lines (16 loc) · 979 Bytes
/
aubio.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
Rem this is the cmd file for aubio-beat-osc
Rem need to be adapted depend on the running OS, this one is for Win
Rem will receive these parameters on entry " beat -c " + OSCIP + " " + root.modules.osc.parameters.oscInput.localPort.get() + ' "/WLEDAudioSync/beat/BPM"' +
Rem " -d " + aubioDevices[i].value +
Rem " -b " + aubioBuffer;
Rem which will give " beat -c 127.0.0.1 12000 /WLEDAudioSync/beat/BPM -d 1 -b 128" for example
if exist "%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTBeat\" GOTO :folder
%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTBeat-Windows.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :end
:folder
%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTBeat\WLEDAudioSyncRTBeat-Windows.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
if exist "%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTBeat-Windows.exe" del "%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTBeat-Windows.exe"
GOTO :end
:end
exit