• murray

    like mDNSBonjour, but standalone and native!
    plus easier operation.

    http://github.com/murr/simplebonjour

    known to work on linux, not sure about others.

    posted in extra~ read more
  • murray

    referenced topic: http://puredata.hurleur.com/sujet-4117-oscbonjour

    Had this working for a while, however I've yet to release it--I wanted to properly document and comment the code. But I've put this off for months and figure I might as well let people take a look. Remember, this external is uncommented! It is written in java, with java libraries, for the pdj pure-data plugin.

    mDNSbonjour pure-data plugin
    add easy connectivity to your peached patch using apple's bonjour api!

    1. http://www.le-son666.com/software/pdj/
    Download pdj along with needed dependencies, compile (if necessary), and gain some understanding of how things work and where things go.

    2. http://sourceforge.net/projects/jmdns/
    Copy "jmdns.jar" to pdj directory's dist/classes.

    3. Copy "mDNSbonjour.java" (included in attached zip archive) to
    pdj directory's dist/classes.

    4. Add pdj external to your pure-data's path. (pdj directory's dist folder)

    5. Try out included test patch!

    NOTE. Test patch also utilizes the following pure-data externals: bbogart/popup, mrpeach/osc, mrpeach/net, zexy/build.

    LINUX USERS. In order for the external to listen on avahi network, you must define your system's ip in /etc/hosts that is not localhost's "127.0.0.1".

    Written by Murray Foster 2010
    mrafoster@gmail.com

    http://puredata.hurleur.com/sujet-4117-oscbonjour

    http://www.pdpatchrepo.info/hurleur/pd.png

    posted in extra~ read more
  • murray

    referenced topic: http://puredata.hurleur.com/sujet-4117-oscbonjour

    Had this working for a while, however I've yet to release it--I wanted to properly document and comment the code. But I've put this off for months and figure I might as well let people take a look. Remember, this external is uncommented! It is written in java, with java libraries, for the pdj pure-data plugin.

    mDNSbonjour pure-data plugin
    add easy connectivity to your peached patch using apple's bonjour api!

    1. http://www.le-son666.com/software/pdj/
    Download pdj along with needed dependencies, compile (if necessary), and gain some understanding of how things work and where things go.

    2. http://sourceforge.net/projects/jmdns/
    Copy "jmdns.jar" to pdj directory's dist/classes.

    3. Copy "mDNSbonjour.java" (included in attached zip archive) to
    pdj directory's dist/classes.

    4. Add pdj external to your pure-data's path. (pdj directory's dist folder)

    5. Try out included test patch!

    NOTE. Test patch also utilizes the following pure-data externals: bbogart/popup, mrpeach/osc, mrpeach/net, zexy/build.

    LINUX USERS. In order for the external to listen on avahi network, you must define your system's ip in /etc/hosts that is not localhost's "127.0.0.1".

    Written by Murray Foster 2010
    mrafoster@gmail.com

    http://puredata.hurleur.com/sujet-4117-oscbonjour

    http://www.pdpatchrepo.info/hurleur/pd.png

    posted in extra~ read more
  • murray

    is there an equivalent of the oscbonjour max/msp external for pure-data? i found a port of the same for pure-data, but the libraries it utilizes are outdated and when i attempted to update the source i didn't get very far. i was able to get the object to compile, but when i tried to create the oscbonjour object the pd console spit out:

    /home/mfoster/Desktop/bonjourosc/oscbonjour.pd_linux: /home/mfoster/Desktop/bonjourosc/oscbonjour.pd_linux: undefined symbol: _ZN8ZeroConf10NetService18resolveWithTimeoutEdb

    so i'm assuming there's some type mismatches going on in the source that i messed with.

    original outdated source: http://svn.puredata.info/svnroot/pure-data/trunk/externals/postlude/oscbonjour/

    worth it to just port it myself y'all think?

    posted in extra~ read more
  • murray

    Hey there!

    I'm in the process of building a sampler for use with my monome. I've been able to load and trigger samples however, I'm having trouble with the playback of multiple samples at once (for example, presently my patch only does as follows: hold down two buttons with an array, with sample loaded, mapped to each and it will only play either one or the other). I'm using the combination of vline~ and phasor~ and tabread4~.

    I'm under the assumption that I either need to "add" the audio ouptut of a read array to a buffer that is continuously playing realtime or find a different algorithm for my patch to be mapping samples to buttons. Currently, I'm using a select~ for the Y-axis [0-7] and a select~ for each row to trigger each individual button on the X-axis (but this feels a little brute-force).

    Any suggestions on how best to achieve this?

    posted in technical issues read more
  • murray

    http://lists.puredata.info/pipermail/pd-list/2010-12/085778.html

    "another simple workaround is to install libjack-dev for compiling and
    than re-install jackd2 if you need it.

    the reason why Pd depends on libjack-dev is that this is the debian
    policy: all applications should be built against libjack-dev (that is:
    jack1) but the default installation is jack2 (jack2 is backwards
    compatible with jack1 but not the other way round)
    this allows for most compatibility, but mightimpose some problems to the
    ordinary debian user compiling packages themselves (debian's buildfarm
    doesn't care about jackd2 not being installed)"

    I don't know why it's bothering me so much that you just shrugged off my initial advice, but beating a dead horse will help me forget about this thread.

    http://www.google.com/ > pure-data jackd2

    posted in technical issues read more
  • murray

    Well I searched the Ubuntu repo's and there is a libjack-dev package, not just a libjack-jackd2-dev package which I'm assuming is for jack2. You're not providing any information beyond that configure error, so my advice is install libjack-dev.

    posted in technical issues read more
  • murray

    I'm a Gentoo user, but check your repos for a development version of the jack libraries (like, libjack-dev or something). If they exist, installing them could solve your problem.

    posted in technical issues read more
  • murray

    And there's always Gentoo! The minimal install disc image is something around 180mb which is perfect to throw on a usb drive and boot my netbook from. Installation is completely customizable.

    posted in extra~ read more
  • murray

    So the object, now named "mDNSbonjour", is pretty much ready to go. I just have to document it. Adjusted a few things so that it's not OSC-centric at all. Basically you connect to a host bonjour server via ip/localhost, set service type such as _osc._udp and then send it a | browse (. It'll spit out a list of service names of it's right inlet and then you send it one of those service names preceded by a "resolve". Lastly it spits out an integer port number out of its left inlet. I'll get this ready to go asap!

    posted in extra~ read more
  • murray

    Development moving very quickly! "zeroconfosc" now monitors OSC services registered with Bonjour and retrieves a list of available OSC services.

    posted in extra~ read more
  • murray

    I've been fiddling around with the JmDNS libraries and have finally been able to get a simple java app going that lists new mDNS services of type _osc._udp(.local). Before I was able to, however, for some reason the libraries weren't working under Linux. It just so turns out that when creating a new JmDNS object on a Macintosh system, the real IP address of the localhost is registered, but on a Linux system it registers as "0.0.0.0". Don't ask me why this is, but I won't be complaining as the software is now playing very nicely together. :)

    EDIT: And the PDJ plugin works absolutely perfect. HARD props to Pascal Gauthier for putting this all together. It's really, really great!

    posted in extra~ read more
  • murray

    well, the last mention of it on the pd mailing list was during 2005 at version 0.0.2. the current version reflects that number so it's pretty safe to assume that it's abandoned (if not, then severely neglected and i really don't see a distinction between the two).

    posted in technical issues read more
  • murray

    Oh that's great! I'm concerned because I've just begun playing with it and that could potentially be a bummer situation. Thanks for the update on that!

    posted in extra~ read more
  • murray

    ew. could be a bit of a problem. have you tried increasing the limit and just seeing what happens? there could be more methods that rely on that constraint and i bet you'd find them pretty fast!

    posted in extra~ read more
  • murray

    the lack of documentation for these tools is totally irritating me. i'm calling it a night, but before i do i found this:
    http://www.le-son666.com/software/pdj/
    java plugin for pure-data. planning to use this and a combination of osc java libs (which i'm already way familiar with) as well as the java bonjour libraries. might take a bit longer as a result of writing this all from scratch, but c'est la vie! i'm frustrated enough i'm not even bother to give those libraries their proper names.

    posted in extra~ read more
  • murray

    Update for those who are interested... Also on the cycling'74 forums, the author of oscbonjour has this to say about the current osc-tools:

    hi guys,

    The original code for oscbonjour is available from sourceforge here:
    http://osctools.svn.sourceforge.net/viewvc/osctools/tags/osctools-08-08-2009/

    Since then I've refactored it, to be a more general purpose zeroconf toolkit. There is now 3 externals zeroconf.browse, zeroconf.resolve and zeroconf.register. You can browse/register iTunes services, local Ftp, etc... not just _osc._udp. It's also more Max5 friendly with attributes

    the code is available there:
    http://osctools.svn.sourceforge.net/viewvc/osctools/trunk/

    sorry only XCode projects will compile at the moment.

    this is a great clarification and really offers a lot of sense as to the current state of the osc-tools package (read: why the libraries clearly weren't behaving like the outdated code implied). while i'm not running macintosh (gentoo linux), i had a look at some of the source of the updated externals and it all looks pretty portable to puredata! so i'm going to give it a try tonight and see if i can figure out a way to bring zeroconf support to puredata in the next couple of days. i would very much like to implement the avahi zerconf api over apple's bonjour implementation... but i feel like there aren't a whole heck of a lot of potential linux pd/osc/avahi users and even fewer macintosh users using avahi. why this is okay is that there's a dns compatibility layer for avahi that allows apple's and avahi's api to play nicely together.

    posted in extra~ read more
  • murray

    Got it. They're not being triggered all at the same time, so I'm using a vline for every sample in a subpatch of the sampler and then the output is all getting thrown~ to the dac~

    I still need to work out a bug in my math used for mapping the buttons on my monome (on presses between rows and other distances, a seemingly random number shows up in the Pd console when debugging with print), but after I get that squared away I'll have a very barebones sampler that preloads a samplebank read from a file (thanks to a user from this forum. I'd credit, but I can't find the post I found it from) to show y'all.

    posted in technical issues read more
  • murray

    Ah. I was hoping it wouldn't come to that. But thank you!!

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!