Hi All,
I'm very sorry, this has almost certainly been brought up more than
once, and I'm very bad at this, I've been playing around with Pd for
a while just for non-critical applications like making fun little
noise machines and stuff, but I though I'd give a serious project a
go, and I have - but it's not going well...I'm trying to filter some
sysexdata, and I'm trying to keep my patch to only the standard
modules, although if there is one which will do this straight up then
I'll probably happily take it!
So the input I'm getting in goes along the lines of: 240 2 0 0
0...247, I've managed to package up all the incoming stream of data
from the Sysex in (on OS X) so that bit is fine - I'm trying to
filter the information based on some of the content - specifically
the third item in the list (and then later the 5th item, but the
problem and process is the same.)
In the example, each of the messages at the top represents some
incoming data The message 240 2 0 0 0 247 should print to trk1 on the
console, if you press the message twice, it does what it should,
however if you press on 240 2 7 0 0 247 then it should output the
same to the console under trk8 - but it doesn't first time out it
prints it to trk1, then after that it goes to trk8.
I'm sure this is a simple thing and I'm just doing this plain wrong,
can someone perhaps give me a few pointers and let me know where I'm
going wrong!
Thanks in advance!
Doug
Hey Doug,
Lots of race hazards going on there because you missed using triggers.
Also, sending the same value over so many sends-receive links causes problems.
See a slightly better way of doing this using select instead of route and a matrix of on/off values for the spigots
a.
On Tue, 1 Apr 2008 23:17:22 +0100 Douglas Rouxel douglas_rouxel@yahoo.co.uk wrote:
Hi All,
I'm very sorry, this has almost certainly been brought up more than
once, and I'm very bad at this, I've been playing around with Pd for
a while just for non-critical applications like making fun little
noise machines and stuff, but I though I'd give a serious project a
go, and I have - but it's not going well...I'm trying to filter some
sysexdata, and I'm trying to keep my patch to only the standard
modules, although if there is one which will do this straight up then
I'll probably happily take it!So the input I'm getting in goes along the lines of: 240 2 0 0
0...247, I've managed to package up all the incoming stream of data
from the Sysex in (on OS X) so that bit is fine - I'm trying to
filter the information based on some of the content - specifically
the third item in the list (and then later the 5th item, but the
problem and process is the same.)In the example, each of the messages at the top represents some
incoming data The message 240 2 0 0 0 247 should print to trk1 on the
console, if you press the message twice, it does what it should,
however if you press on 240 2 7 0 0 247 then it should output the
same to the console under trk8 - but it doesn't first time out it
prints it to trk1, then after that it goes to trk8.I'm sure this is a simple thing and I'm just doing this plain wrong,
can someone perhaps give me a few pointers and let me know where I'm
going wrong!Thanks in advance!
Doug
your problem is that you're sending the messages before you open the spigot object. why do you need all the $1? if you want to send something locally I suggest $0. (although you still can replace the $0 with $1, but then it will only work if you pass a $1-argument.) best, marius.
Douglas Rouxel wrote:
Hi All,
I'm very sorry, this has almost certainly been brought up more than once, and I'm very bad at this, I've been playing around with Pd for a while just for non-critical applications like making fun little noise machines and stuff, but I though I'd give a serious project a go, and I have - but it's not going well...I'm trying to filter some sysexdata, and I'm trying to keep my patch to only the standard modules, although if there is one which will do this straight up then I'll probably happily take it!
So the input I'm getting in goes along the lines of: 240 2 0 0 0...247, I've managed to package up all the incoming stream of data from the Sysex in (on OS X) so that bit is fine - I'm trying to filter the information based on some of the content - specifically the third item in the list (and then later the 5th item, but the problem and process is the same.)
In the example, each of the messages at the top represents some incoming data The message 240 2 0 0 0 247 should print to trk1 on the console, if you press the message twice, it does what it should, however if you press on 240 2 7 0 0 247 then it should output the same to the console under trk8 - but it doesn't first time out it prints it to trk1, then after that it goes to trk8.
I'm sure this is a simple thing and I'm just doing this plain wrong, can someone perhaps give me a few pointers and let me know where I'm going wrong!
Thanks in advance!
Doug
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
sorry, wrong patch marius.
marius schebella wrote:
your problem is that you're sending the messages before you open the spigot object. why do you need all the $1? if you want to send something locally I suggest $0. (although you still can replace the $0 with $1, but then it will only work if you pass a $1-argument.) best, marius.
Douglas Rouxel wrote:
Hi All,
I'm very sorry, this has almost certainly been brought up more than once, and I'm very bad at this, I've been playing around with Pd for a while just for non-critical applications like making fun little noise machines and stuff, but I though I'd give a serious project a go, and I have - but it's not going well...I'm trying to filter some sysexdata, and I'm trying to keep my patch to only the standard modules, although if there is one which will do this straight up then I'll probably happily take it!
So the input I'm getting in goes along the lines of: 240 2 0 0 0...247, I've managed to package up all the incoming stream of data from the Sysex in (on OS X) so that bit is fine - I'm trying to filter the information based on some of the content - specifically the third item in the list (and then later the 5th item, but the problem and process is the same.)
In the example, each of the messages at the top represents some incoming data The message 240 2 0 0 0 247 should print to trk1 on the console, if you press the message twice, it does what it should, however if you press on 240 2 7 0 0 247 then it should output the same to the console under trk8 - but it doesn't first time out it prints it to trk1, then after that it goes to trk8.
I'm sure this is a simple thing and I'm just doing this plain wrong, can someone perhaps give me a few pointers and let me know where I'm going wrong!
Thanks in advance!
Doug
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
An way that uses even less objects.
Doctor the list to copy the channel number at the head then use [route]
On Tue, 1 Apr 2008 23:17:22 +0100 Douglas Rouxel douglas_rouxel@yahoo.co.uk wrote:
Hi All,
I'm very sorry, this has almost certainly been brought up more than
once, and I'm very bad at this, I've been playing around with Pd for
a while just for non-critical applications like making fun little
noise machines and stuff, but I though I'd give a serious project a
go, and I have - but it's not going well...I'm trying to filter some
sysexdata, and I'm trying to keep my patch to only the standard
modules, although if there is one which will do this straight up then
I'll probably happily take it!So the input I'm getting in goes along the lines of: 240 2 0 0
0...247, I've managed to package up all the incoming stream of data
from the Sysex in (on OS X) so that bit is fine - I'm trying to
filter the information based on some of the content - specifically
the third item in the list (and then later the 5th item, but the
problem and process is the same.)In the example, each of the messages at the top represents some
incoming data The message 240 2 0 0 0 247 should print to trk1 on the
console, if you press the message twice, it does what it should,
however if you press on 240 2 7 0 0 247 then it should output the
same to the console under trk8 - but it doesn't first time out it
prints it to trk1, then after that it goes to trk8.I'm sure this is a simple thing and I'm just doing this plain wrong,
can someone perhaps give me a few pointers and let me know where I'm
going wrong!Thanks in advance!
Doug
Thanks very much to everyone who has helped with this! I'm going to
use a couple of the suggestions, for the track filtering it only
needs to filter 8 ways staticaly, so the most simple one will be gret
there, but later on I want to filter dynamically moving between the
parts I want to filter, so I'll use one of the more complex ones
which I can adjust easily.
Cheers!
Doug
On 2 Apr 2008, at 10:19, Frank Barknecht wrote:
Hallo, Andy Farnell hat gesagt: // Andy Farnell wrote:
An way that uses even less objects.
And even less. ;)
Ciao
Frank Barknecht _
______footils.org__<alltrackfiltertestbed4.pd>________________________ _______________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Hallo, Douglas Rouxel hat gesagt: // Douglas Rouxel wrote:
Thanks very much to everyone who has helped with this! I'm going to
use a couple of the suggestions, for the track filtering it only
needs to filter 8 ways staticaly, so the most simple one will be gret
there, but later on I want to filter dynamically moving between the
parts I want to filter, so I'll use one of the more complex ones
which I can adjust easily.
You can set the dollarsymbol in the message box dynamically, see the help patch for messages for details.
Frank