• sisko445

    So I just picked up Enttec's DMX USB Pro, with the understanding that it was compatible with OS X and that it could be used with Pure Data. I seem to have found a Max external, but haven't found one for PD... the link on Enttec's website is just for Max, despite specific mention of PD... http://www.nullmedium.de/dev/dmxusbpro/

    Has anyone used the DMXUSBPro with Pure Data? Help!

    Many thanks...

    posted in technical issues read more
  • sisko445

    So I am a bit in over my head and I'm stuck on what I hope is an easy answer. I have four sensors collecting data on an arduino. I am trying to send that data via serial.print() on the arduino and then collect and pass all four values continuously.

    I believe that comport in PD is a good bet here, but I'm not sure how to parse the data as it comes in so I can play with the integers. Any hints would be greatly appreciated!

    My arduino code looks like:

    int thumbForcePin = 4;
    int indexFlexPin = 3;
    int middleFlexPin = 2;
    int ringFlexPin = 1;

    void setup()
    {
    Serial.begin(9600);
    }

    void loop()
    {
    delay(100);
    String data = "";

    int thumbval = analogRead(thumbForcePin);
    thumbval = constrain(thumbval, 320, 560);
    int thumblevel = map(thumbval, 320, 560, 127, 0);
    data = data + "[" + thumblevel + ";";

    int indexval = analogRead(indexFlexPin);
    indexval = constrain(indexval, 320, 560);
    int indexlevel = map(indexval, 320, 560, 127, 0);
    data = data + indexval + ";";

    int middleval = analogRead(middleFlexPin);
    middleval = constrain(middleval, 320, 560);
    int middlelevel = map(middleval, 320, 560, 127, 0);
    data = data + middlelevel + ";";

    int ringval = analogRead(ringFlexPin);
    ringval = constrain(ringval, 320, 560);
    int ringlevel = map(ringval, 320, 560, 127, 0);
    data = data + ringval + "]";

    Serial.print(data);
    }

    posted in technical issues read more
  • sisko445

    I am rather new to Pd, but I am in love with it. This is an excellent forum, too. so helpful.

    So I am trying to use my iphone as a MIDI controller. I am able to deal with accelerometer data to the extent that I can control a simple synth with all three dimensions of movement. The problem is that (perhaps in my old age) the data is VERY shaky because the device is obviously not perfectly still in any given moment.

    What is the best way to temper such a thing?

    posted in technical issues read more
  • sisko445

    @Maelstorm said:

    Try running the data through [mean_n], which gives a running average. A running average acts as a lowpass filter, so fast, shaky movements will be smoothed out a bit. The higher the argument you give, the smoother it will be, but there will also be a longer reaction time.

    Thank you, this is helpful!

    posted in technical issues read more
  • sisko445

    I would love a copy of that zip as well! Thanks in advance...

    posted in tutorials read more
Internal error.

Oops! Looks like something went wrong!