• KMETE

    What do you think about usb audio adapter?
    is something like this will work fine? is it better from the built in audio output ?

    any other small usb audio adapter recommended? (plug and play)

    what is the best choice for this list?

    1. link1
    2. link2
    3. link3
      thanks

    posted in technical issues read more
  • KMETE

    I have a patch in pd playing an audio files. the audio itself is not distorted and I'm output it at unity gain (multiple it by 1 before connect it to the DAC

    the output sound using the pi 4 audio jack out is completely distorted. I needed to multiple the audio file be 0.05 instead of by 1 in order to have ok sound (that is not distorted)
    Clearly something is wrong. What shall I do in order to fix that? Maybe it is something in the pi audio out configurations?

    Thanks

    posted in technical issues read more
  • KMETE

    @whale-av said:

    @KMETE Interesting...

    PS.... looking at the problem a little harder..... it seems that the scroll bars are probably present, but off screen..... so reduce the size of the window so that you can access them.
    Right-click the patch window (above the Pd menu bar) and "resize" and drag the window to reduce its size........ and they should then be on-screen.

    Where is the resize button? I can't find it - could you perhaps screen shot it?

    posted in technical issues read more
  • KMETE

    my pd patch is larger then my screen size (need to scroll down and to the right in order to see the full patch)
    However, when the patch is open in the pi I have no option to scroll in order to see the full patch.
    How can I fix this?

    PXL_20221027_125718688.jpg

    posted in technical issues read more
  • KMETE

    @FFW
    I will try asap. (without the Pi now)

    I have another two question. One is related to Raspberry Pi.

    1. Is it possible to load mp3 files instead of wav file or the tableread~ object can read only wav?

    2. when I'm transferring audio files to the Pi (to the Documents folder for example) - Do they stored on the sd card? or on the internal Pi memory?

    Thanks

    posted in technical issues read more
  • KMETE

    I run again to check the status and I'm getting lots of errors now:

    PXL_20221024_182152308.jpg

    posted in technical issues read more
  • KMETE

    @FFW
    Thanks. No error now but the patch is not playing when I reboot my Pi.
    Here is the command line after running: sudo systemctl status my_puredata.service

    PXL_20221024_181628463.jpg

    When I opened the same patch "mypatch.pd" with gut (I double clicked the pd patch) the sound is indeed coming out and everything is working.
    Can you see where is my mistake?

    Thanks

    posted in technical issues read more
  • KMETE

    So here is the script I try to run with "sudo systemctl enable my_puredata.service"

    PXL_20221024_174648665.jpg

    I got the following error:

    PXL_20221024_174743000.jpg

    Do you see where my mistake is?

    Thanks

    posted in technical issues read more
  • KMETE

    @FFW said:

    @KMETE
    /usr/bin/puredata is the path to the executable, you can check it with

    whereis puredata
    

    I've got 3 paths to that. How can I know which one is the correct one?

    PXL_20221024_173932134.jpg

    posted in technical issues read more
  • KMETE

    @FFW said:

    -nogui is mandatory (I just test) as the systemctl process has no right on X server to start a GUI

    Where do I add the -nogui command? inside the "MY PureData service" script?

    posted in technical issues read more
  • KMETE

    I have change the path in yellow to be the correct path where my pd patch is located.

    What about the lines in purple and blue? Do I need to change them as well? because I did not.
    If so - how can I know to what I should change them?

    Thanks

    Screen Shot 2022-10-23 at 8.55.55.png

    posted in technical issues read more
  • KMETE

    @FFW said:

    then run
    sudo systemctl enable my_puredata.service to enable autorun at rpi start
    and
    sudo systemctl start my_puredata.service to launch it just now

    when I run the last line of code it should autostart my pure data patch if I did everything the right way? because it did not start my patch..

    posted in technical issues read more
  • KMETE

    *edit: I have found it inside the lxesession folder .
    *How can I find how and where my pd patch is starting and cancel it? :/ I don't want to write your script before I'm cancelling my autostart of the patch I have already made in the past.

    posted in technical issues read more
  • KMETE

    @ddw_music
    Thanks it is working now! is it possible to decide the size of the grains? in ms?

    posted in technical issues read more
  • KMETE

    @FFW
    Thanks for your help!
    my pd patch is already autostart. I don't remember how I did it, I think via the 'lxsession' as I found in that thread .
    How can I disabled my way of autostart my pd patch?

    just to make sure I understand your script -
    It will autostart my patch when first powering the pi as well restart it when it crashed?


    Another question I regarding opening the pd patch without gui. Do you think is needed? it can help with something? if so - I can I load the pd patch without gui?

    Thanks!

    posted in technical issues read more
  • KMETE

    @whale-av said:

    https://stackoverflow.com/questions/696839/how-do-i-write-a-bash-script-to-restart-a-process-if-it-dies

    this is a little above my head.. How can I make it work for my pd patch?
    there is more than 1 answer in that thread. Could you please direct me to one of them?

    Thanks

    posted in technical issues read more
  • KMETE

    @alexandros
    So I've did the following: a delay of 2000 ms to the bang object that read the file to the buffer and a delay of 4000 ms to the dsp 1 object. It solved the problem.

    Thanks!

    another question I have (might need to open a new topic?) :

    In case that pure data patch is crashing(which have happen to me before) - Is it possible to reboot the Pi? so if pure data crashing automatically Pi will reboot.

    posted in technical issues read more
  • KMETE

    @ddw_music
    Thanks! what do you mean by load your file? I have put my audio file named 003.wav inside the pd-grains folder ( where the 3 files are located) and then I changed the name of the sound file object like in the attached screenshot. No sound is coming out.

    Screen Shot 2022-10-22 at 13.49.39.png

    posted in technical issues read more
  • KMETE

    Some updates:
    I disconnected the loading at the top of the patch (which is connected to ';pd dsp 1' and to 'delay 100'

    When doing so the patch is open without crashing but this is not my wish. I would like it to work with the loadbang message so the patch will start as soon the pi is started.

    posted in technical issues read more
  • KMETE

    I have the following patch that is working on my Mac.
    I upload it to my Pi 2 and when I try to open it pd crashing and close itself.
    Can someone see what the issue might be?

    Main_ver4.pd
    Screen Shot 2022-10-22 at 11.43.54.png

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!