iirc, for the very project the decoding is done outside of Pd anyhow (on specialized hardware), so the problem of [unpackOSC] not knowing what to do with a blob is a minor issue here. (and the use of specialized hardware is the reason why data (low-resolution fixed-point numbers) should actually be packed in a blob rather than floating-point).
The decoding should be done on a microcontrollerboard and in puredata
too. The audio data will be sent over ethernet to the target device, there it should be decoded and played back. The problem lies at the ethernet layer, where only a 10Mbit/s wire is available. At a Samplingrate of 44100Hz and a word width of 32bit are only about 7 channels (without overhead,...) possible. So it would be fine to reduce the resolution from 32bit floating point to maybe 16bit or even 8bit fixed point (while 32bit floating point is still selectable in case of better hardware). Sending 16bit or 8bit samples over OSC (without losing the gained bit width (OSC-data-types are at least 32bit)) will require an arbitrary alignment of the bits within each OSC-data-argument, where BLOB comes into play.
i still think (see above) that even [packOSC] cannot provide a consistent interface to pack blobs into an osc message that is sufficiently more simple to use than manually constructing OSC messages.
Thanks
Wolfgang
Sorry if this is a dumb question ... but why would you want to do this in PD, why not use a hardware solution as it would be much faster? Something like Cobranet, ie digital audio over Cat5:
http://www.audioscience.com/internet/products/sound_cards/asi54xx.htm
Daniel Wilcox wrote:
Sorry if this is a dumb question ... but why would you want to do this in PD, why not use a hardware solution as it would be much faster? Something like Cobranet, ie digital audio over Cat5:
http://www.audioscience.com/internet/products/sound_cards/asi54xx.htm
hmm, why would anyone use Pd for making music when you can have real instruments: http://www.youtube.com/watch?v=2EXzfpS6WK4
seriously, for several dozens of channels, most cobranet devices are ridiculously expensive.
fgamsdr IOhannes
On Mon, 2009-05-11 at 16:00 +0200, IOhannes m zmoelnig wrote:
Daniel Wilcox wrote:
Sorry if this is a dumb question ... but why would you want to do this in PD, why not use a hardware solution as it would be much faster? Something like Cobranet, ie digital audio over Cat5:
http://www.audioscience.com/internet/products/sound_cards/asi54xx.htm
hmm, why would anyone use Pd for making music when you can have real instruments: http://www.youtube.com/watch?v=2EXzfpS6WK4
Hah. Mabey because we just love wasting our time with computers?
seriously, for several dozens of channels, most cobranet devices are ridiculously expensive.
Mabey he has a budget? If so then perhaps paying for a drop in solution is not such a bad idea ... I'm all for doing it myself, but not when the time and effort aren't worth it in the end. My friend is using Cobranet for one of our projects where the Pd computer is almost a kilometer away (by cable length) ...
I also did another project where a bunch of serial devices needed to be connected to server about 20m away. Initially I was thinking about using some sort of industrial-style ethernet client-server setup using multiple computers, etc but in the end I just used a few USB 2.0 over Cat5 boxes. Much easier to access the devices "directly".
Just a small thought.
Dan Wilcox danomatika.com robotcowboy.com