• ultrasonic

    Hello there,

    I'm stuck with an apparently simple problem but I didn't find topics online relevant to rounding.

    I'm using sigmund~ for pitch detection in form of MIDI numbers. I want to round up values from 55.95 to 56 etc but I don't find how to do that. [int] just cuts the decimals above a value so for 55.95 I would get 55 instead of 56.
    Any ideas? I would be glad to hear some advice.

    Best
    Jurgen

    posted in technical issues read more
  • ultrasonic

    I want to understand how a Lua script may be executed in Pd so I was looking for the Pd-lua object. But I can't really find it. Claudius Maximus' link to the goto10 repository generated an error message:

    SSL received a record that exceeded the maximum permissible length.

    (Error code: ssl_error_rx_record_too_long)

    Pd-lua is not included in Pd-extended for OS X, is it? I also can't find a OS X compiled version here in the 'extra' folder.

    posted in technical issues read more
  • ultrasonic

    Hi,
    has anybody worked yet with MS Kinect? There's this page with various packages to use the device in different environments

    http://openkinect.org/wiki/Getting_Started

    On paper it should be a breeze to use with Pd (I'm thinking of Mac) but I'm yet hesitating to spend the money.

    Jurgen

    posted in technical issues read more
  • ultrasonic

    There is no post at all about TC code that Pd would receive. Does anybody about anything that exists in this respect? Already MIDI clock via [midirealtimein] is PC only so I'm 'worried' about MTC on the Mac... I was sending MTC from a generator over IAC into Pd - attaching a [print] to [midiin] displays loads of data and actually I believe Pd crashes - the flow of data continues even if I remove the MTC generator (Logic btw) and CPU load rises to +90% on both processors before I pull the plug.
    So what is happening here? I do not need MTC as such, if there's another way to retrieve TC it would sure be cool, I should say necessary for a lot of things.

    Jurgen

    posted in technical issues read more
  • ultrasonic

    Hi,
    the MacBook Pro comes with an IR remote control that is Apple configured to a a few things in iTunes and Keynote. When opening the device in [hid] there are only 2 buttons actively receiving data, the + and - switches. That is kind of poor and I do not believe I can activate the others, I mean Apple Inc. monopolizes them for their own warez.

    Now I am wondering if anybody has tried 3rd party 'universal' remote controls for TV, DVD player etc. that are on sale in supermarkets. Being 'universal' there should be a chance that they have no manufacturer's limitation in-built. And some of them have a host of controls...
    Anyone ever had any success? Please let me know here.

    Best
    Jurgen

    posted in I/O hardware diyread more
  • ultrasonic

    Hi,
    strange enough there is no [hidin] object available in the hid library for OS X, I wonder which other object would be recommendable to use under OS X.6
    I'm asking because 'nothing works', although I attribute this for the time being to a cheapo no-name game controller that I was offered.
    Any experience / advice for using a game controller under OS X would be very much appreciated.

    Cheers
    Jurgen

    posted in technical issues read more
  • ultrasonic

    The object [midirealtimein] when used under OS X generates the error message that it works under MSW only and doesn't receive any data under OS X for real. Is there any other way to receive MIDI clock into Pd running OS X?
    For the sake of curiosity is there a way to receive MTC - although I don't need it right now.

    Best
    Jurgen

    posted in technical issues read more
  • ultrasonic

    I'm sending MIDI data over the IAC driver from various apps but Pd remains inactive. I tried both [notein] and the raw [midiin] with [midiparse] without any data reaching Pd. I have MIDI Monitor running which reports data flowing over the bus.
    Does anybody make MIDI IN work and if so how?
    Strange enough [midiin] reports '2' on the right outlet which stands for port#.
    From memory it was working a year ago but I didn't save any patches AND I was using OS X.4 then. I assume I forget something...

    OS X.6.3
    Pd extended .41.4

    Best wishes
    Jurgen

    posted in technical issues read more
  • ultrasonic

    Hi,
    a general question here. In many patches I download I find that the authors use $0 (zero) labels for send-symbol in GUIs, like $0-1 etc. I do not understand this preference.
    I know, one can give almost any name to labels. But just why do several people use these?

    Just curious...

    posted in technical issues read more
  • ultrasonic

    Hi,

    when I attempt to connect I get a "your banned from this forum" message which must be ip address related - because I get it even before I log in with my id.
    When I circumvent the censors (I live in China) and use different ways and a different ip address I do not get the "banned" message and everything is cool.
    I emailed to the admin and didn't get a reply. I don't see any reason to do more or less complicated things to get to this forum and participate, so I want the ban on my ip address lifted.
    So who's in charge? How does someone ban me and then doesn't reply to my protests? I do not understand and I'd be glad to hear from an admin here just what is going on.

    Best
    Jurgen

    posted in this forum read more
  • ultrasonic

    This abstraction requires PD extended - it allows to route an audio signal to different outputs, nothing more. The abs here is a 4 way switch that can easily expanded to more.

    The [osc~] is a test signal. The 4 physical [dac~] are there to easily see that it works right on the audio interface but can be easily replaced by different [outlet~] or a different signal processing.

    Inside the abs is a radio button that gives an example how the switch is operated by remote. You can replace this by a MIDI or a whoknowswhat controller.

    Perhaps a banal thing but it took me quite a moment to figure it out. Also I can't think of anything more elegant. If you have a different solution, please post it as a reply. We're all learning, aren't we :-)

    Best
    Jurgen

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

    posted in abstract~ read more
  • ultrasonic

    Hi,

    I noticed that when I route all MIDI CC data through a router that MIDI switches (value off=0 on=127) are inversed in value. Without the router the values are correct. I guess the attached example is self explanatory.
    The purpose is clear I guess, I want to use a single [ctlin] and then [route] the values according to their controller number. It works fine with faders and knobs - only switch values are inversed. If you have a MIDI controller (I use an Akai MPD) you would see the reversed behavior.

    My fault? I'd be glad if someone could try out and help me understand...

    Jurgen

    http://www.pdpatchrepo.info/hurleur/route_inverse_MIDI_switch_value?.pd

    posted in technical issues read more
  • ultrasonic

    Hi all,

    already the standard vanilla commands about list processing don't help me to understand how to use them in connection with 'composing music' as generating and modifying note numbers. Now I have sighted the overwhelming 'list-abs' library with a breathtaking assortment of commands. Ok they may be designed for graphics processing at times but a list of floats is a list of floats and one can do with it whatever one wants.

    My question is if there is any example floating around where list commands are used to generate / compose musical notes. I can imagine a MIDI in where the incoming note info is assembled into lists of floats which are then processed in some - however remote - meaningful way to output something that is different from the input, either a modified MIDI out or as an otherwise processed sound. I have no shadow where to start doing this, so I'm looking for something that puts me on track.

    posted in technical issues read more
  • ultrasonic

    Hi,

    All of these objects don't work anymore and I could swear I've seen a post on this forum that explains how to replace them, I believe using [expr~] objects. I can't find that post, the search function here doesn't like non-alphabetical characters. And the help file for expr~ doesn't make it much clearer to me.

    Can someone point me to that post - alternatively an explanation how to replace those audio operators? Much appreciated...

    posted in technical issues read more
  • ultrasonic

    Hi,

    if I understand it correctly Pd for some reasons ignores midi note off messages and assumes instead that any midi note event with a velocity = 0 is a note off.
    Now I happen to have to work in a space where they have a midi master keyboard that sends note off velocity and obviously my stuff doesn't work any more as my patches cannot detect a note off, all note events have velocity values associated to the message. I don't know how to work around this.

    Does anybody know how to convince Pd to recognize a midi note off with a velocity value? The keyboard in question is an awful chinese brand 'thing' without any user control to switch the transmission off. But that's not the point, I assume many other midi master keyboards send note off velocity as well.

    J

    posted in technical issues read more
  • ultrasonic

    Hi,
    I almost feel ashamed to look for solutions on the forum here. The issue is apparently simple, I want to make a countdown timer with minutes and seconds, at 00 00 the timer stops. What happens is, if I update my minute counter at 00 the [f] that stores the minute value changes one second 'too soon' , the sequence of remaining time goes

    01:02
    01:01
    00:00
    00:59 ...

    If I change the same [f] at 59 seconds all goes well - however the timer stops one second too late, at -1 second and displays 59. I've been playing around with this for some time, but my thinking goes in circles.
    I attach both counters, one that changes at 00 and the other which changes at 59. They're in the same patch.

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

    posted in technical issues read more
  • ultrasonic

    Hi all,

    a canvas created by the 'put' pulldown or <shift><ctrl>c has send- and receive-symbol options in the properties. I wouldn't figure out how it works. I would like to send colors by messages to the canvas put my trial-and-error approach so far only renders error messages.
    Further, how can such a canvas send any data? It can't be clicked and it has no connections.

    Jurgen

    posted in technical issues read more
  • ultrasonic

    Hi,
    I apologize to ask for a total beginner's question relative to Fedora here. But where else to ask...

    I downloaded and installed the latest version of pd extended for Fedora core 6/Planet CCRMA. I blindly assumed that this installer would create an application like the OS X installer. So I ran the install from the terminal and I saw all the libraries flashing by. In the folder where I had downloaded the archive there was a new locked folder "pd" with a bin that I assume holds the applications properly spoken. However these files do not open,there's "pd", "pdsend", "pdreceive" and "cyclist". All libs are in the folder that the readme file inside the installer indicates, so that should be correct.
    All example files are identified by Fedora as executables, but they wouldn't open as well, even when I ask to open it with the 'pd' file inside that bin folder I mentioned earlier.

    What am I missing? I don't even know what "core" in the installer file means. There is no help desk about pd on CCRMA. The only files there are from 1999 and suggest to open the application form the terminal window. I tried to do so, I got a Libjack error message 'cannot open shared object' and that was the end of that.

    Anybody knows what I'm missing? I do not know if I could (and should) download an Ubuntu installer. I do not know HOW different the Linux distris are from each other...

    Best
    Jurgen

    posted in technical issues read more
  • ultrasonic

    Hi,

    as you may have guessed from this and my previous post I'm still in the process to figure out the basics.
    Doing so I attempt to open example patches and patches I find uploaded on the pd community site.
    In more than 1 out of 2 cases the patch wouldn't generate sound but rather error messages of which this is by far the most common

    error: inlet: expected ' ' but got 'float'

    I do not understand under which circumstances such an error message occurs. What I really do not understand how would someone upload a patch that has obvious error in it? My only answer is that the patch in question runs well in the developer's environment but not in mine. But that scares me more : How can patches not be portable from one machine to another?

    Hmm I'm scratching my head. I'd be thankful for any clues.

    Best
    Jurgen

    posted in technical issues read more
  • ultrasonic

    Hi,

    in several posts here AND in several patches lives the apparently resonant filter "moog~" object. However attempting to create the object it generates with desperate consistency the "... couldn't create" error message. The same holds true when I open a patch that contains it.
    Has it been taken out of current version of .40.3 extended? Or does it require a manual installation and the source file is somewhere on a secret server? :-)

    Any advice would be wildly appreciated.

    Best
    Jurgen

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!