Import singingstream.maxpat's saved presets on startup
to-the-sun opened this issue · 0 comments
Repository
https://github.com/to-the-sun/amanuensis
Details
As of right now, singingstream.maxpat saves a file called singingstream.json with all of the specs for each stream, including pitches, channel, calibration, etc. but it does not actually load this information yet when it starts up. For this file to be useful this will need to be implemented, the idea being that it will save your settings so you don't have to reset them every time.
The first thing that comes to mind is simply sending import singingStream.json
to dict ---specs
on load, as you can see selected in the screenshot,
but then a lot of ordering issues begin to rear their ugly heads. Other things are happening on load as well, such as information put forth about audio drivers and human interface devices. It needs to be made sure that dict ---specs
is updated before those events try to access it.
The cleanest way to do it would be to instead simply load the .json file implicitly using the functionality of the object itself, i.e. naming it dict singingStream.json
instead. This however would mean renaming it everywhere it appears in the program, which is dozens of places. Ideally though, this is what needs to be done.
Components
As you can see from the search (control+F) in the above screenshot it occurs in singingstream.maxpat 27 times. If you open Amanuensis.maxpat and search for it there as well, you can come across all the rest of its uses (I think it was 38 times?). A tedious task, but not such a difficult one.
Deadline
There is no deadline, but we can discuss how long it might take to execute.
Communication
Reply to this post or contact me through Github for more details.