• KMETE

    The example above is using a windows computer but the acctual patch will be on Raspberry pi

    posted in I/O hardware diyread more
  • KMETE

    And in term of orders of banging:
    First I'm choose the audio interface (area marked in red)
    then if match was detect it will set the audio settings and start the dsp.
    same bang will also bang the system to choose the port.
    Does it make sense? or i can set both audiosettings and port for arduino at the same time (sending loadbang to both system (audio device chooser and port chooser at the same time)

    port_choose2.png

    posted in I/O hardware diyread more
  • KMETE

    I did the following:
    same method to choose the audio interface, just doing it for ports.

    The only think that must be constant is the names of the ports on the Raspberry pi (in thatexample I'm using windows pc)

    This method should work?
    the name of the ports are always the same on raspberry pi?

    Any other method for setting the port?
    Do I also need to change the code in the arduino? to prompt something to the serial?

    Port_choose.zip
    port_choose.png

    posted in I/O hardware diyread more
  • KMETE

    I need my puredata comport object to open the same port of the arduino each time the patch is started

    How can I make sure it will happen?

    I have try to use the message [devicename] in order to set the device name ( I guess the name will not change every time pi or pd are restarting) but I'm getting an error:

    Screen Shot 2023-01-30 at 7.17.52.png

    posted in I/O hardware diyread more
  • KMETE

    Bad luck indeed. many hours of frustration I had now..

    In my pd patch there is no live performance rather audio track playing based on people interacting with some sensors. In that case is better if I set delay higher than 20? maybe 100?

    edit: I re-read your last post. What you are actually saying that if I don't have live use in the patch it is not matter if my delay is 5ms or 300ms(as a example)? it will not help improving pd performance (in term of cpu) ?
    What actually help my patch to perform as it should is the fact I have change the block size from 64 to 512?

    posted in technical issues read more
  • KMETE

    I run again my puredata service after reinstalling my pi os.

    Im getting this message:

    What is:

    Watchdog: signaling pd... 
    
    

    something to worry about?

    and if I'm already writing regarding the pure data service. in a case that the patch is working but for some reason the usb audio interface is stopped working. Is there anyway to make pd restarting?

    PXL_20230129_212159507.jpg

    posted in technical issues read more
  • KMETE

    Ok, so I change the usb cable and it seems to solve it! I don't belevie I got a faulty cable with a brand new audio interface!

    I still needed to change the pd block size from 64 to 512. Also the delay I put on 20 ms instead of 5 ms. How up I can go in the delay time? in order to make pi/audio interface less effort if you can say so

    posted in technical issues read more
  • KMETE

    Here is an audio example of the output of my sound card playing audio from YouTube:

    It sound the same when playing audio file via vlc an the pi.
    Pure data is not even output any sound

    Sound record (2023-01-29 23_06_44).wav

    posted in technical issues read more
  • KMETE

    Ok now Pi is recognized th interface but no sound is coming out from pd :(

    When I play an audio file via the vlc media player is completely choke and with clicks. Something is way off

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!