Re: [PD] bcr2000 and midi-feedback
> The problem is that pd sends it's send-symbol, even if the fader is > moved as a result of the receive-symbol. This means that the bcr get's > the value right back, with a small delay, which causes the whole to be > very reluctent to accept movements from the bcr. I had to solve a similar problem in a few patches with my bcr2000, so I wrote a few small "helper" abstractions. I wanted to be able to move the controller and have it update a UI element in pd, and vice versa -- and I needed them to be in sync all the time. You can get these two abstractions here: http://noisybox.net/computers/pd/ctrl_sync.pd http://noisybox.net/computers/pd/nrpn_sync.pd They basically encapsulate the logic around spigot as Luigi suggested. Input the signal from a UI element (slider/ui/etc) into the top and feed back the control output back to the UI element. They're simple, so you should hopefully be able to extend them easily. They're a little stupid in that they assume a control range with 0 at the low end...but they helped clean up some patches and keep things in sync. -jason ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] bcr2000 and midi-feedback
kristof lauwers wrote: > You can set the value of the slider without having it sent back with > a 'set' message Thanks alot, exactly what I was looking for. -- peace, love & harmony Atte http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] bcr2000 and midi-feedback
thats cool i didn know/never used that Am 22.07.2008 um 15:50 schrieb kristof lauwers: Hi, You can set the value of the slider without having it sent back with a 'set' message [ctlin 1] | [/127] | [set $1( | [s rec] cheers, Kristof [EMAIL PROTECTED] http://kristoflauwers.domainepublic.net http://myspace.com/xofxof At 15:31 2008-07-22, you wrote: Hi I have assigned a knob on my bcr2000 to a vertical slider in pd. Under the sliders properties, I have set send-symbol and receive-symbol to "send" and "rec". I then have [ctlin 1] | [/ 127] | [s rec] [r send] | [* 127] | [ctlout 1] This basically works, the upper one is receiving from the bcr and moving the fader in pd, the lower one is updating the display on the bcr when the knob is moved in pd. The problem is that pd sends it's send-symbol, even if the fader is moved as a result of the receive-symbol. This means that the bcr get's the value right back, with a small delay, which causes the whole to be very reluctent to accept movements from the bcr. I could make some logic that doesn't send the value back if it was received from midi, but thought I'd ask if there was a simpler solution? For instance is it possible to have pd's knobs *not* send it's send-symbol if the fader was moved as a result of a receive-symbol? -- peace, love & harmony Atte http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list >---< Luigi Rensinghoff [EMAIL PROTECTED] skype:gigischinke ichat:gigicarlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] bcr2000 and midi-feedback
Atte André Jensen wrote: > Hi > > This basically works, the upper one is receiving from the bcr and moving > the fader in pd, the lower one is updating the display on the bcr when > the knob is moved in pd. > > The problem is that pd sends it's send-symbol, even if the fader is i doubt that Pd sends it's send-symbol > moved as a result of the receive-symbol. This means that the bcr get's > the value right back, with a small delay, which causes the whole to be > very reluctent to accept movements from the bcr. > > I could make some logic that doesn't send the value back if it was > received from midi, but thought I'd ask if there was a simpler solution? > For instance is it possible to have pd's knobs *not* send it's > send-symbol if the fader was moved as a result of a receive-symbol? > anyhow, under the link below [1] is the abstraction that we use in our CUBEmixer-application in order to interact with midi (using behringer-sh!t) among other things. use it like [ctlin 1] | [sendreceive send] | [ctlout 0] [r bla] | [ \ the abstraction depends on iemlib2 in order to have settable sends/receives but if you don't want this, just replace it by ordinary [s]/[r]. fgmasdr. IOhannes [1] https://iem.svn.sourceforge.net/svnroot/iem/spatialization/CUBEmixer/trunk/lib/abs/sendreceive.pd ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] bcr2000 and midi-feedback
Am 22.07.2008 um 15:31 schrieb Atte André Jensen: Hi I have assigned a knob on my bcr2000 to a vertical slider in pd. Under the sliders properties, I have set send-symbol and receive-symbol to "send" and "rec". I then have [ctlin 1] | [/ 127] | [s rec] [r send] | [* 127] | [ctlout 1] This basically works, the upper one is receiving from the bcr and moving the fader in pd, the lower one is updating the display on the bcr when the knob is moved in pd. The problem is that pd sends it's send-symbol, even if the fader is moved as a result of the receive-symbol. This means that the bcr get's the value right back, with a small delay, which causes the whole to be very reluctent to accept movements from the bcr. I could make some logic that doesn't send the value back if it was received from midi, but thought I'd ask if there was a simpler solution? i cant think of any probably you need to pit the send and receive out of the slider and do something with "t b b" and "spigot"... but that would be what you call the "logic" cheers luigi For instance is it possible to have pd's knobs *not* send it's send-symbol if the fader was moved as a result of a receive-symbol? -- peace, love & harmony Atte http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list >---< Luigi Rensinghoff [EMAIL PROTECTED] skype:gigischinke ichat:gigicarlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] bcr2000 and midi-feedback
Hi, You can set the value of the slider without having it sent back with a 'set' message [ctlin 1] | [/127] | [set $1( | [s rec] cheers, Kristof [EMAIL PROTECTED] http://kristoflauwers.domainepublic.net http://myspace.com/xofxof At 15:31 2008-07-22, you wrote: >Hi > >I have assigned a knob on my bcr2000 to a vertical slider in pd. Under >the sliders properties, I have set send-symbol and receive-symbol to >"send" and "rec". I then have > >[ctlin 1] >| >[/ 127] >| >[s rec] > > >[r send] >| >[* 127] >| >[ctlout 1] > >This basically works, the upper one is receiving from the bcr and moving >the fader in pd, the lower one is updating the display on the bcr when >the knob is moved in pd. > >The problem is that pd sends it's send-symbol, even if the fader is >moved as a result of the receive-symbol. This means that the bcr get's >the value right back, with a small delay, which causes the whole to be >very reluctent to accept movements from the bcr. > >I could make some logic that doesn't send the value back if it was >received from midi, but thought I'd ask if there was a simpler solution? >For instance is it possible to have pd's knobs *not* send it's >send-symbol if the fader was moved as a result of a receive-symbol? > >-- >peace, love & harmony >Atte > >http://atte.dk | http://myspace.com/attejensen >http://anagrammer.dk | http://modlys.dk > >___ >Pd-list@iem.at mailing list >UNSUBSCRIBE and account-management -> >http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] bcr2000 and midi-feedback
Hi I have assigned a knob on my bcr2000 to a vertical slider in pd. Under the sliders properties, I have set send-symbol and receive-symbol to "send" and "rec". I then have [ctlin 1] | [/ 127] | [s rec] [r send] | [* 127] | [ctlout 1] This basically works, the upper one is receiving from the bcr and moving the fader in pd, the lower one is updating the display on the bcr when the knob is moved in pd. The problem is that pd sends it's send-symbol, even if the fader is moved as a result of the receive-symbol. This means that the bcr get's the value right back, with a small delay, which causes the whole to be very reluctent to accept movements from the bcr. I could make some logic that doesn't send the value back if it was received from midi, but thought I'd ask if there was a simpler solution? For instance is it possible to have pd's knobs *not* send it's send-symbol if the fader was moved as a result of a receive-symbol? -- peace, love & harmony Atte http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list