Open MaxThroughput opened 1 year ago
Thanks Max, I'm very glad you managed to get this working - I will have a think about your comments but I am reluctant to just dive in and change things…
I really wanted to put this together to explore having a single set of source that will build on all the popular platforms, and Windows, with no changes and without having to play Install And Hope with the dependencies…
I suspect that things have changed in the dependencies since I pushed it. I will investigate; I mean this is what weekends are for right? :)
Making the parameters a bit more human friendly is a great idea - a quick and simple (ho ho) approach might be to add a front end that "just" converts named parameters into numbers...
Hm; I have just tried to rebuild from the source on macos with the latest dependencies… and it does still work for me... I wouldn't bother doing this if you have got things working; I would just get on with doing some music! however if you hit similar problems it might be worth trying this:-
Go to your vcpkg directory (/Users/jolyon/src/vcpkg for me) and go:-
git pull
git clean -dfx
This should ensure you have the latest dependencies for the next throw of the dice… sorry build…
Then rebuild matriarch_global_settings… it could be that something unpleasant snuck into your vcpkg repositories!
I see this output spinning past:-
Installing 82/88 boost-lexical-cast:x64-osx...
Building boost-lexical-cast[core]:x64-osx...
-- Downloading https://github.com/boostorg/lexical_cast/archive/boost-1.80.0.tar.gz -> boostorg-lexical_cast-boost-1.80.0.tar.gz...
-- Extracting source /Users/jolyon/src/vcpkg/downloads/boostorg-lexical_cast-boost-1.80.0.tar.gz
-- Using source at /Users/jolyon/src/vcpkg/buildtrees/boost-lexical-cast/src/ost-1.80.0-99d7ad0762.clean
-- Copying headers
-- Copying headers done
Happy Mooging!
MacOS Notes: vcpkg is a requirement for rtmidi as the version available from homebrew does not include the rtmidi-config files. Boost library should be installed from homebrew, as vcpkg results in unfound dependencies
Update CMakeLists.txt: set(CMAKE_PREFIX_PATH "/vcpkg/packages/rtmidi_x64-osx/share/rtmidi") set(CMAKE_PREFIX_PATH "/vcpkg/packages/spdlog_x64-osx/share/spdlog")
Update matriarch_global_settings.cpp:
include "/vcpkg/packages/rtmidi_x64-osx/include/rtmidi/RtMidi.h"
Update moog_params.h
include "/vcpkg/packages/rtmidi_x64-osx/include/rtmidi/RtMidi.h"
After compiling these are the commands: ./matriarch_global_settings -q 25 -q 1 //This queries matriarch for sysex parameter 25 and 1 (Delay Sequence Change and Tuning Scale respectively) ./matriarch_global_settings -s "25 = 1" //Sets matriarch sysex parameter 25 to value 1 (Delay Sequence Change to ON)
Thanks @jolyon-wright . The app is working nicely. I may expand on this to list the names of parameters from the manual for ease of read/write.