Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 29 20:55

    jcelerier on master

    [exec] Fix that position change… (compare)

  • Sep 29 03:48

    jcelerier on master

    [install] Add unordered_dense (compare)

  • Sep 29 03:40

    jcelerier on master

    Fix typos in src/ subdir Found… (compare)

  • Sep 29 03:40
    jcelerier closed #796
  • Sep 29 03:40
    jcelerier commented #796
  • Sep 29 03:24
    luzpaz opened #796
  • Sep 28 23:40

    jcelerier on master

    [install] Fix missing headers i… (compare)

  • Sep 27 03:34

    jcelerier on master

    [expr] Add a 'contains' operator (compare)

  • Sep 21 16:47

    jcelerier on master

    [scenario] Fix that play from h… (compare)

  • Sep 13 06:50
    avilleret commented #785
  • Sep 12 14:20
    maybites commented #785
  • Sep 06 15:21

    jcelerier on master

    [dmx] Add support for DMX USB P… (compare)

  • Aug 30 08:18

    jcelerier on master

    [midi] Small optimization on mi… (compare)

  • Aug 28 09:47

    jcelerier on master

    [ci] Update smallfun (compare)

  • Aug 28 08:28

    jcelerier on master

    [ci] Update smallfun (compare)

  • Aug 26 10:23

    jcelerier on master

    [graph] PMR not supported, try … (compare)

  • Aug 26 08:14

    jcelerier on master

    [exec] Reduce allocations great… (compare)

  • Aug 22 18:06

    jcelerier on master

    [faust] mono fixes (compare)

  • Aug 21 07:41

    jcelerier on master

    [code] Packed struct: use #prag… (compare)

  • Aug 20 21:43

    jcelerier on master

    [geom] Various geometry improve… (compare)

djiamnot
@djiamnot:matrix.org
[m]
😱, that's a customised SC3
Thibaud Keller
@thibaudk
yes
djiamnot
@djiamnot:matrix.org
[m]
wow. That's hardcore!
Thibaud Keller
@thibaudk
it's @pchdev 's handy work
we have discussed it on the supercollider page
but i am starting to wonder if merging it is feasible in the near future
djiamnot
@djiamnot:matrix.org
[m]
oh, interesting! Some good points raised there, it's true
Thibaud Keller
@thibaudk
for a quick demo of the quarck using OSC, you can have a look at https://www.youtube.com/watch?v=6a01Ij_sYNc
djiamnot
@djiamnot:matrix.org
[m]
ok, that's cool!
what's unclear now, is how to use the "learn" feature
Thibaud Keller
@thibaudk
in score you mean ?
djiamnot
@djiamnot:matrix.org
[m]
yes, in score
like you do on that video
Thibaud Keller
@thibaudk
first add a devices, select the osc protocol (not OSCQuery)
you can change the name of the device. The ports have the same defaults as the quarcks so you don't have to change them
djiamnot
@djiamnot:matrix.org
[m]
yes, I did that, but is there something to do on the SC side?
Thibaud Keller
@thibaudk
yes
once the device is created, right click and select learn (the window appears)
the in SC
evaluate ~yourDevice.exposeOSC();
replacing ~yourDevice with the one you created in SC
when evlauating exposeOSC() all deffault values are sent to score once for learning
here is a little code example
djiamnot
@djiamnot:matrix.org
[m]
right! I confirm that this is the way!
this is getting very exciting!
Thibaud Keller
@thibaudk
(
d = OSSIA_Device("supercollider");
n = OSSIA_Node(d, "MonNode");

d.exposeOSC();

v = OSSIA_Parameter(n, "MonVec", OSSIA_vec3f, [[-pi, -pi, -pi], [pi, pi, pi]], [0, 0, 0]);
//v.unit_(OSSIA_orientation.euler);
v.unit_(OSSIA_position.cart3D);
r = OSSIA_Parameter(n, "MonRange", OSSIA_vec2f, [[-30, -19], [10, 27]]);
// r.unit_(OSSIA_position.cart2D);
f = OSSIA_Parameter(n, "MonFloat", Float, [-6.3, 99.5]);
h = OSSIA_Parameter(n, "MonInt", Integer, [ 0, 64 ]);
b = OSSIA_Parameter(n, "MonBool", Boolean, critical:true);
g = OSSIA_Parameter(n, "MonPrint", String, default_value: "imprimer des choses");
n.gui();
)
the quarck also includes a simple gui library, that can be called on a parameter or on a node (to show GUI of all direct children)
here it is called on the node with n.gui()
changing the unit will also change some widgets (in the comments)
djiamnot
@djiamnot:matrix.org
[m]
very cool!
djiamnot
@djiamnot:matrix.org
[m]
thank @thibaudk ! It all works as expected!
Thibaud Keller
@thibaudk
cool, hope it suits you needs !
djiamnot
@djiamnot:matrix.org
[m]
(almost: I get an empty window when call gui() on a OSSIA_Node)
yes, it's a good start! getting my feet wet but I'm very enthusiastic about the potential
Thibaud Keller
@thibaudk

(almost: I get an empty window when call gui() on a OSSIA_Node)

the gui method will create widgets for the node's children, if the node is empty, the window will be too

I should probably prevent this tho, thanks for pointing it out
djiamnot
@djiamnot:matrix.org
[m]
oh, good point. I did not pay attention to this detail! Of course, it makes sense! Thanks for the clarification
Jean-Michaël Celerier
@jcelerier
hi @x37v, actually the echo thing should be fixed in feature/async_protocols
(sorry about the lag with the PR, I had a lot of bugfixes to push on score, now I'm on libossia until the end of the week !)
I'll try to make another round of testing
but if you can try this example, I think that it maps to what you want : https://github.com/ossia/libossia/blob/feature/async_protocols/examples/Network/OSCQuery_bridge.cpp
@thibaudk for the SC patches I think that you should rebase on top of current SC master branch prior to anything
git remote add supercollider  https://github.com/supercollider/supercollider
git fetch supercollider
git rebase supercollider/master
should do the trick (hopefully you won't have conflicts :))
Thibaud Keller
@thibaudk
thanks @jcelerier , I should it's been a while
Alex Norman
@x37v
@jcelerier oh great, so you have oscquery in async_protocols now! Last week I think you said it wasn't in there. I'll give this a go! thanks
Jean-Michaël Celerier
@jcelerier
well, it's only partially there
Alex Norman
@x37v
oh, whats missing?
Jean-Michaël Celerier
@jcelerier
it's not yet been refactored to use the new socket mechanism (which allows to choose udp, unix domain sockets, and other transport-level protocols) indepedently