|
From: ki.ber.kom.uni.st <ki...@ko...> - 2008-03-23 04:00:36
|
hi, i'm playing with osc messages and alternative gui. i realised that i need just few information in real time (everything else is configuration for real time sessions). these are: * current position in time of the cycle * number of cycles in particular loop * velocity/volume of the loop * state (play, record, overdub, substitute...) and that's what you can see in the attached image with current position in time at the outer edge (in this example around 75% of total time of the cycle), following the number of cycles (in this example 3 of them being in the second one), with around 80% of the velocity and being in 'play' state... the original drawing is PyQt4 widget 100x100 px big and this screenshot is after scaled to 200%. imho it's quite visible even in the default size but when playing guitar i rather have it at least at 200%. i'm interested if you guys have some other information which you would like to see when actually looping.. i hope i'll have something working soon to show it in action.... at the moment the all rings/circles are in their own classes so they are controllable through ipython interactive session, easy to scale/zoom and/or change colors... other states are also finished (record, overdub, replace, substitute, insert, multiply)... i'm about to finish osc sending/receiving.. everything works perfect so far but i can't see anything in the documentation where i would be able to get the number of loops in the session.. it's not a big problem as i will control how many of them are there but still think it would be good to have it as information which is available through osc... i probably could do that with: liblo.send(target, '/set', 'select_next_loop', 0.) till it goes back to 0 but that would be ugly + it doesn't work for me... i don't know why... when i do: liblo.send(target, '/set', 'selected_loop_num', 0.) liblo.send(target, '/set', 'selected_loop_num', 1.) etc. it works fine.... |