monome / crow-max-and-m4l Goto Github PK
View Code? Open in Web Editor NEWMax + M4L for crow (monome/whimsical raps)
Max + M4L for crow (monome/whimsical raps)
hi @dndrks
sorry if this could be handled more easily somewhere else...might be a simple fix but my w_synth m4l device looks like this:
i haven't experienced sonic or control errors, just a slightly wonky UI
problems
solutions
if Live is in Dark Mode, certain text elements become white instead of the specified black, which causes them to be illegible against the yellow theme of crow's UI.
fix incoming
when scripting inputs with peak
, crow returns ^^peak(input)
values -- these fail to get through [crow]'s parsing, however, resulting in peak
being sent back to the Max patcher without identifying whether its from input 1 or 2.
it looks like the issue occurs at [crow] > [p crowmax] > [p eval] > [p match-^^], which uses an [unpack s s] at the inlet -- but when it receives peak 1
, only peak
passes.
fix incoming.
^^jf_synth currently engages pullups and flips just friends into just type mode.
while it wouldn't cause a major problem to have crow's pullups engaged on an already-engaged bus (if TT was in the mix), it would be best to make this a standalone parameter on ^^command_center
it seems that a combination of quickly sending negative values to pitch
and two decimal point precision values to level
reliably crashes crow hardware. JF remains responsive, however, both to i2c messages from other devices on the bus and to panel controls.
this only happens in Max + Max for Live -- i cannot reproduce the issue in druid using the same circumstances.
to repro in Max:
pitch
values are all positive -- you can change this with the radio buttons at the bottom of the patcherlevel
argument is receiving an integer, a float with one-decimal precision, or a float with two-decimal precisionlevel
float precision doesn't matterfloat
-- things quickly crash if two decimal level
precision is used when negative pitch
values are cycling, however!!
----------begin_max5_patcher----------
1933.3ocyas0ihhDE9Y6eEULYSlIiiotRAa1W1eGSuoCMVZWcTvAvt6YmL6u
8EpCn3EfR.Y7gVygFkuuSctVmxe9vjoOG8gJYJ5OQeCMYxOeXxDykxuvjB4I
S23+QvZ+DysMciJIwekZ5L3+kp9H0bc7bon7haiUIpvT+TcT3Sq0gpfncgla
iVbGg61DsKcsJ07kRJtpdg4qJ54W+pfT9kA2W5O1p.XNcJ5eJeN9oAunCW8T
rJHE9ubJdtXFR3fmimgXz7WoYut+yj8j0gkOXZ9090COj+xLKU.AQa1jQtyT
.ai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k82ziQ6qsWohhejZi2e01oM90kR.J54a3KA3z9q6
B3JZstMvAiF0e612TwIEe+FbMci+qQPuKyLh5PPz7KmZZr5Mc48aN.JS8iCd
QmpBR2ECSt9CG3DqMM+.9DGtSWrwWYZjrGoY7x4S4NYqOPdyTne3WO7+.H14
.kA
-----------end_max5_patcher-----------
this one was difficult to nail down, but i'm feeling confident that it's the source of the crashes folks have reported with the JF M4L devices! i wonder if there's some high weirdness happening in the [crow] string parser subpatch? unsure, but happy to help test any potential solutions! also, lmk if anything needs further detail @trentgill !
cc @dndrks @whimsical-sam. this issue is moved here from the main crow issue tracker.
Query the 'correct' looking ports.
Determine what the port should look like (compare mac vs win).
Possible to attempt re-connect after dropped connection?
Possible to warn user that no device was found / dropped?
@dndrks for those not adventurous enough to set up druid, perhaps we should have a super-micro patcher that just activates the bootloader? (^^b
)
it could have a link to the update docs. or even to github.com/crow/releases/latest (?)
then directs them to run flash.sh
?
the LFO section is the most complicated, because at the time of release crow's LFO function was not syncing -- it would drift quite a bit, making accurate timing impossible. to compromise, I made an ASL action that represented an LFO which would be retriggered every bar. this was necessary at launch, but (hopefully) is needlessly complicated these days -- either way, it causes crashes:
When instantiating a [crow] object on Windows 10, Max will jump to a high CPU usage if there is no crow device attached.
The Max window repeatedly prints "serial * error reading from serial buffer".
It seems that banging the input of the serial object when there is no connected device hasn't different behaviour on mac vs windows. The high cpu usage is likely caused by the prints to the Max window, rather than an underlying issue in the serial port handling.
Maybe this is more of an ableton question but I just can't figure it out... is there any way to record the modulation produced by ins in a nondestructive way?
I have a chain of m4l lfos, modulating the remote ^^out v knobs of 3 outputs on crow. periodically crow will stop responding, and I have to unplug and plug back in the usb from crow, refresh the ^^command_center and choose crow again (which immediately causes the crow to start responding again).
Sometimes crow seems to stop responding without any manual changes, sometimes it seems to happen directly after I tweak a parameter on one of the outs (like bias) or once when I tried to create another midi track.
I'm on macOS 10.14.5, live 10.1.7, crow 1.0.2 and the latest master of this repo.
I'm not sure how I could give you log info, but if that would be helpful and you can tell me how to access it I can paste it here!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.