Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fluid.ampslice~ helpfile improvements #174

Open
rconstanzo opened this issue Mar 31, 2022 · 6 comments
Open

fluid.ampslice~ helpfile improvements #174

rconstanzo opened this issue Mar 31, 2022 · 6 comments
Labels
documentation Improvements or additions to documentation suggestion Possible enhancement
Milestone

Comments

@rconstanzo
Copy link

rconstanzo commented Mar 31, 2022

I was hoping the new fluid...feature~ objects would take care of this, but since the fluid.ampslice~ object only spits out the differential curve, having something like (a much tidier version of) this in the main fluid.ampslice~ helpfile would be very useful for tweaking the parameters:
Screenshot 2022-03-31 at 1 59 13 pm

Having fluid.ampfeature~ helps a bit as you can now see the differential, but in a way that makes all the parameters more confusing as the relationship between the parameter and the differential is not immediately obvious (rather, it impacts the differential in a way that is potentially counterintuitive to getting appropriate settings).

I may, for example, determine from the following changes that fastrampdown directly controls the "offset" of the differential:
Screenshot 2022-03-31 at 2 16 17 pm

Screenshot 2022-03-31 at 2 16 21 pm

This is obviously the case here, but it's not "what that parameter does".

@rconstanzo
Copy link
Author

Actually in looking at @tedmoore's handy documentation for fluid.ampslice~ (link), having an interactive overlay would be good solution for tweaking things.

Screenshot 2022-05-13 at 9 40 54 pm

@rconstanzo
Copy link
Author

rconstanzo commented May 13, 2022

Also this tab is super confusing.
Screenshot 2022-05-13 at 9 48 09 pm

I was staring at the blue square for a while wondering the significance, then thinking it relates to the text description to its right.

This should be, at most, a subpatch called p simpleKick or something so it doesn't distract.

Also these steps aren't really a good explanation. Step 4 makes it seem like the solution to the jitteriness is to add a bigger lockout, which can help, but better results can be gotten by having appropriate (or better) on/off thresholds (@onthreshold 25 @offthreshold 0). Basically step 4 is teaching "the wrong lesson" IMO.

Lastly, the delay~ 44100 1 is super surplus to requirements here. The latency of fluid.ampslice~ can never be greater than 0 (why does it even have an attrui for latency actually?). It also makes the patch look like there's 1 second of delay compensation being applied, when in fact the latency in this specific example is actually 0.

@tedmoore
Copy link
Member

I'll let @jamesb93 respond to the Max-specific stuff, but I'll jump in just to say that this is really nice:

Screenshot 2022-05-13 at 9 40 54 pm

Do you have Max drawing all of this in real-time? It would be really great for teaching! Can you share it with us? The images you reference on learn.flucoma.org (link) were made using FluidWaveform in SuperCollider, but nothing in real-time.

@jamesb93
Copy link
Member

I'll let @jamesb93 respond to the Max-specific stuff, but I'll jump in just to say that this is really nice:

Screenshot 2022-05-13 at 9 40 54 pm

Do you have Max drawing all of this in real-time? It would be really great for teaching! Can you share it with us? The images you reference on learn.flucoma.org (link) were made using FluidWaveform in SuperCollider, but nothing in real-time.

I think it's just overlayed multisliders so its definitely possible to recreate. @rconstanzo if you have it I can incorporate it.

@rconstanzo
Copy link
Author

Pfft,
live.scope~ > multisliders in every possible way!

But yes @tedmoore, that is realtime. I want to say for that screenshot I did some smoothing on each of the outputs so it "looks better", though perhaps not as accurate. It will also likely get a bit messy with getattrs everywhere to translate stuff since fluid.ampfeature~ doesn't natively output the actual curves.

Here's a code snippet:
Screenshot 2022-05-22 at 3 07 44 pm


----------begin_max5_patcher----------
2622.3oc6as0bqpaE94jeEL94DO5JH5SoSaeqs+A1yYxfMx15rwHW.mK8Lm8
u8tjDXC1.AaCYm8LMyDmXIgWZ8stKs7eb+cyVneSlOy6u38Mu6t6Ot+t6rCY
F3tx2e2rsQusLIJ2trYoxW0K98YO3lpP9Vgc30xhnhhLO8pUEaxj4azIwdOk
nxKjod3pkuKpX4FU55myjKKbTkKlidviiCmS8YHFCKBYbJlvevC6SLyQfW89
sxOA89hDYQw66jtGe1rGJ+8vRTw1cDrKejPqnb59spT3IsLA93ftOO6nTyf+
482ad4gAhFK1WTnS6g8vDKOv3gVVgU8Z2Lzhnz0syLjizIKZqrPl8rLMZQh8
IQCmQwWAitJQCeH8vnDtkQ4r.6ePmI4Voy1FYWreexxNYerXjXexUv9ejVe5
kozS3VThEfmBsdr+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1KpzX4a+L.qRyqKCs5FmDiHN0Y
tMG.qwLRfaCMLUqP7bQy7o6.4peXCnqImfNfl9qPnWkoiU6Zx.piZXrrtY91
Atb89rkUJCU9E7Zx5P3fBU5gh++1QTvrvAI3t3cQv.2E1sKtwBGs1AYR3LSz
+gwYmCAew4L1HwYtlbn7kId+hGv9sEQ1WbIA+Rrd5iyL+3iEbJr6ot6hB9gF
hDLDLniWYXjo6a3DRP.OXRYLw.YrVzEmRQV4fUGL6LyguE+r6fFe9P6Vle5I
MeQGH15D8hnjSNEq1Nur6Ot4Fo1GMZQtNwzunoZETD.THnNq0lokzykf4Z7G
nRp4gnPlnVJs99mVDdiBv4Sbej1EWWlzRg1KStU+hz6u+2tXlFQmaxoff4m2
kZAzdY6veNsOKHqGvc10Zax5jvW8c3D1OG+S3hM+UtoZCGylpECtFCnPg6BD
Q36Z.gRW+g7PN3aT.N++bZi1O5aTvJYj4lzFouSAW52YfRafP54WoMTF+M+M
HfMweAB90oGhpWpZKMly4FlWRa4LB56WipsISg8p99Jh4vzd+5XzeSOeXJCs
JCycryqao2YClfuIY1MQyhVcvyo4CVBRmkGn4Kq2wz65HGPww5SOSNLXBQF.
gNY2bnKnw2Foo0KOoqD3oi.SZ9Rf8gLYX67HZ5g2S1diDoGDSiESgj0R5OEI
6ff2IQ6EiF.oMM6WmMK+EQoOBMYigYxP3HbiMyHoqFLDJ+Iwg9Sh1xmjHjOD
sRBZLr7FBk9rLwYsKyHSOgwSgqa1PzSCCGAvkQGpWrQ2jXXjtY7osp3cZHe8
7pq3fYaCDHoQtOxWvHlipCy8gpFCfxPZetQWZMj.srwvTHLbHTxeLzKFhG4S
b1LV5EhgR5QOLzfHMNbR35g.3MOM614ZWoGmzJuFpdRK7dR66ddq61ca6dZK
6ZOU3tZU26+y6+e.1N42y
-----------end_max5_patcher-----------

@jamesb93 jamesb93 added documentation Improvements or additions to documentation suggestion Possible enhancement labels Jun 6, 2022
@jamesb93 jamesb93 added this to the 1.1 milestone Jun 28, 2022
@rconstanzo
Copy link
Author

rconstanzo commented Aug 14, 2023

Here's an updated version of this test/visualization patch. It's a shame attruis don't survive getting wrapped in a subpatcher, as this version has fluid.ampfeature~ going into a gen~ thing @weefuzzy posted on the forum a while back to also get a gate output from "ampslice":

<pre><code>
----------begin_max5_patcher----------
2467.3oc2Zz0aaii74jeED9gEYAbcE+RhpcaQObub2CGvBb.2KaVDHaQaqsx
hZknSZZQ2e62PRIYJGIGmObSty.wwZFRNeObFR8syOaxb0Wj0SPuC8anyN6a
me1YVPF.m077YS1j7kE4I01gMoLO417rZ8eMYpC6etMIOSeqE47j5rEsHTUY
qxJRxykEqzqczHXVvTzDc1hOCq1u2Nvs5boVeaozMnI0Yqf4MY5v+x7WZ1Bc
lpHo5VukogdZ4lRkYkvDC4bHyRsLnZ9e7FJskCKSpR1H0xpqjEIyysjucBaT
ox6JSkY5EqWnppjV56Ogkp7b0MqxUy8XgVjEa2jU.BoUGha.py1Hq0URXIaz
NcxxRU0ljB8vTZQdV4ZY1p0ZCTQbmPZYU81hrhUFLLVPmfBz.fdkY0bzJhXL
Eb7Lt4ar4gXPc0wA.G6rKVVl2.MMQmz3bz3c3XmNWHOD.pj40p7sZIPeqHN4
uqJp0IEeU8lesBfVIS+2fQTN6ljqaTwVoOC7Y.KyCbJeNqvYkS1lloLP7FPi
Cv1v3f.LgEy8vkqTkdFFqPoJzxB8U.o0xVI1W17lUKnue94s+.86muCh86ue
9ziLBagZyFfzstbZ4WrlrIWmUaB09pDoWa9qRVuVkmhRJRQfNxXo7lxBUtpp
MniGfiCwSG7WXOitWTR7jNWwBcMPUqnRmcPO5A7yHT1LRLCiiBYQAbQjfNEb
9Dy.hGKvXZPPj.ShmhHALiWHAOpWXviPaJ+ZZxhtjUdBHmLYHQgbegLLFYVL
gKvQh.2GF.jaQweVY87rqkypWnJkc7+cRUNOwDq2Ry4q5Y1w7PQHIhwChEAz
3oGMncRQ8FkxE61pXRf7QWKyyJj8oUDgyhM9Tf8jQs9U1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fs6JQ26F368FnPr2B+w.xW7KqTkp
ptSGeF2S2aGT+FGclh8aTpwfbmFjLupiduUgizkHo2f5TxC6EbrjlvNBRS5S
50YooMGp9Si17WPZG9BRawKHsie4nMkbDzlwOMzl+BR6vWPZi8O7kii1axRK
UYE5lrYzPgMGM7Ol8drItSEfadoABIifycjMOd9l8j4aRy0H+CkuIOBe7mqT
4zWvP6GAs6D6fSuFmFeJHM6XRpvwubjlzKH5YxOidLkLv7NP4mVxq6iRh6PH
W8X68BcXnwduHG68Rbb2Wfiwe4M1+E2v9RaLzKrgoZ7y+94+WV.5B7.
-----------end_max5_patcher-----------
</code></pre>

Screenshot 2023-08-14 at 1 17 18 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation suggestion Possible enhancement
Projects
None yet
Development

No branches or pull requests

3 participants