• tym

    Hello

    I am trying to get a USB proximity sensor device to work with HID.

    So far it appears that this device only works with software that comes with it. Is there a way around this in PD. I want to use it to measure distance from it and then in turn use the numbers that it kicks out to control something else.

    I opened the HID help file and used the patch there. It recognizes a names the device but still nothing happens.

    Thanks

    posted in technical issues read more
  • tym

    I have recently bought an arduino to use with PD and I am reletively new to both!
    So im struggling with the code for the arduino and how to connect it with PD.

    Is anyone able to help?

    This is what I am tring to do.

    I want and infrared beam to be set up using the arduino so that when the beam is constant and intact there is no signal going to PD however when the beam is broken I want it to trigger a bang in PD setting off the patch I have designed. The patch when triggered plays a series of midi notes in reason. After a delay that I have set at 10 seconds (this can be changed) the patch turns itself off.

    SO I want the patch to play the music even though the beam reconnects and then stop after the set time ready for the next time it is broken.

    Alternativly i want the beam to reconnect at a set amount of time (say 10 seconds) so that it cant be triggered again untill after the music stops.

    Is there anyone doing something similar that can help me out with the arduino code. I dont really understand it properly yet.

    This is how far I have got with the arduino code but im not sure if it is right or what I have to do to get the signal to PD.

    int ledPin = 13;
    int IRpin = 2;
    char Patch[] = //i am stuck at this point
    void setup()
    {
    Serial.begin(9600);
    pinMode(ledPin, OUTPUT);
    digitalWrite(ledPin, HIGH);
    pinMode(IRpin, INPUT);

    }

    void loop()
    {
    if(digitalRead(IRpin))
    {
    digitalWrite(ledPin, HIGH);
    Serial.print(Patch);
    }
    else
    digitalWrite(ledpin, LOW);

    }

    Thanks in advance

    Tim

    posted in technical issues read more
  • tym

    Hello

    This may seem like a basic question, but is there a was of randomising a metro signal. So the metro time is random every time.

    Thanks

    posted in technical issues read more
  • tym

    hi

    thanks for that. Im afraid it doesn't work but It's not the patch i think it is my sensor. I can't seem to activate it without the software however the software is no good to me.
    Thanks anyway. I will try a different method.

    Tim

    posted in technical issues read more
  • tym

    I think I found where the Baud rate is set in the arduino code but it is already at 57600.

    Also If I change it in PD, the number in the error message changes. It changes every time I change the rate in PD.

    Any Ideas?

    Thanks

    posted in technical issues read more
  • tym

    AHH okay!

    I see, so if I get this message

    *Warning* The baud rate 1104165643 is not suported or out of range, using 9600

    would I change the baud rate in PD to say 1104165643, or would the code need changing.

    If it is in the code, could you point out where it is that I need to change things. Im still getting messages saying its not working.

    Im using the Standard Firmata 334 with a Arduino Diecimila. My PD version is PD extended test 4. If any of this effects it.

    Thanks for your help.

    Tim

    posted in technical issues read more
  • tym

    Hi

    Thanks thats a real help.

    Just one problem. Im having trouble makeing the arduino work with the patch in PD

    Im using the arduino-test patch and I have selected the serial port that is the correct one for my arduino (port 2) and it is opening it but it has a message that says

    *Warning* The baud rate 1089216512 is not suported or out of range, using 9600

    Any ideas what this means and how to solve it.

    Im not sure if im doing something wrong or I have to change some settings.

    Thanks again for your help

    Tim

    posted in technical issues read more
  • tym

    Thanks

    Ill check that out

    CHeers
    Tim

    posted in technical issues read more
  • tym

    Hello nestor

    I have pinched your Mary Patch and tried to alter it to make it do what im looking for

    Im trying to have one circle trajectory triggering a sample over and over again and another triggering an increase in delay time or feedback.

    This is what I have got so far but when I connect it to the DAC~ i get a horrible feedback loop or somehting that is very loud so beware.

    I can tell what im doing wrong with it. I think I have looked at it for too long now!

    Can you help?

    Cheers

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

    posted in technical issues read more
  • tym

    Hello nestor

    I have pinched your Mary Patch and tried to alter it to make it do what im looking for

    Im trying to have one circle trajectory triggering a sample over and over again and another triggering an increase in delay time or feedback.

    This is what I have got so far but when I connect it to the DAC~ i get a horrible feedback loop or somehting that is very loud so beware.

    I can tell what im doing wrong with it. I think I have looked at it for too long now!

    Can you help?

    Cheers

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

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!