• whale-av

    @oleathlobhair When you set the input and output in the Pd Media Audio settings tab there is no longer just an apply and OK button, but also a "save all settings" which should store the setup to the registry.
    If you click that button once you are set up and working properly.....do you still have the problem when you restart Pd?
    David.

    posted in technical issues read more
  • whale-av

    @oleathlobhair Are you using the computer soundcard, or an external one?
    And keep an eye on https://forum.pdpatchrepo.info/topic/14966/audio-i-o-error in case a solution is posted there....
    David.

    posted in technical issues read more
  • whale-av

    @porres You are correct about rotation.
    Just for info..... as you don't have extended..... hope it helps.....
    David.
    P.S ... and thank you for all your hard work..

    Capture.JPG

    posted in technical issues read more
  • whale-av

    @dvd01osclfo Using an [array] is probably not the best way to do it, but it does give you a graphical representation of the notes.
    You will need to increase the height of the array window if you put notes over 1000.... it will still work but it will look strange with bars outside the window.
    Try this..... huh-mod.zip

    You get one extra index with a value of zero, but the message to [random] ensures that it is ignored.
    That can be fixed of course..... but no more time right now......
    David.

    Capture.JPG

    posted in technical issues read more
  • whale-av

    @blindingSlow Hello! and welcome to the forum.
    The Pd GUI is built with a program called Wish.
    Wish is a graphical shell for the Tk/Tcl programming language.

    Inside your Pd installation folder there will be a folder "tcl" that contains all the tcl scripts that build the GUI and control its behaviour. They then tell the operating system how the windows should be drawn on the screen, so commands sent within the scripts will be different depending on which os you have.
    I think pdtk_canvas.tcl does most of the work.
    A reasonable explanation is included as a comment in the .tcl files.

    There is an external.... [sys_gui] that can send commands to the tcl proc's.
    You can change the background colour by sending the command... tk_setPalette background [tk_chooseColor] ..... as a message..... into [sys_gui]

    And myname-plugin.tcl files can be made and placed in Pd search paths to modify the tcl as Pd starts.
    E.G. cordarrows-plugin.tcl which will add arrows to cords when in edit mode.

    You can permanently change the tcl...... as in PdNext.......
    Here are some of my feeble attempts..... https://forum.pdpatchrepo.info/topic/9960/tcl-for-a-rainy-day
    https://forum.pdpatchrepo.info/topic/9991/woof-a-new-window-menu-for-vanilla-tcl
    New items can be added to the Pd menu drop down choices by modifying pd/tcl/pd_menus.tcl and pd/tcl/pd_menucommands.tcl

    I am not a programmer either, but other people on the forum will be able to help you.
    David.

    posted in technical issues read more
  • whale-av

    @SCFan32 For standard objects the Pd menu at the top of a window.......
    Click "Help" and then "List of Objects..."
    Then right-click an object for help on its use.
    The names are fairly obvious, and they are grouped by function.
    You can copy/paste them into your patch.

    For externals it is harder. I cannot find a complete list of everything available.
    Searching "Pure Data externals"...
    or "Pure data libraries"..
    ... finds them "piecemeal".
    David.

    posted in technical issues read more
  • whale-av

    @rph-r If your installation can be connected to the internet, and bela can push the data to Pd, then you can re-sync without errors. [zexy/time] would work but maybe not on the bela.
    If no internet then an old phone with a free sim card and a hotspot.
    The computer would need to be set to automatically update time from an internet time server.
    Otherwise the computer time will always drift..... and by a lot even over a month..
    David.
    P.S there might be a way to get the time into the bela from a GPS module..... then you don't need the sim card........ https://forum.arduino.cc/t/time-and-date-from-gps/686778

    posted in technical issues read more
  • whale-av

    @jamcultur Hard to tell exactly without listening, but the delays are a little longer for 3 and 4, so should create a wider (more spacious) image...... "spread" in hardware reverberators.
    David.

    posted in technical issues read more
  • whale-av

    @jamcultur Yes, the 2 audio inputs are left and right.
    [pd reference] at the top right of the help file gives a bit more info.
    But [rev3~] is not an object.
    It is an abstraction, so you can open it and see exactly how it works.
    There is also a little more information inside the abstraction.
    David.

    posted in technical issues read more
  • whale-av

    @ddw_music If they were externals I would guess that they installed an old 32-bit (<Pd 048) but as they are abstractions they are simply not being found..... so the path...
    I have a vague recollection that you declared the path in patches a few years ago. I wonder whether recent mac's baulk at the hyphen in the path name.
    There are quite a few google results for problems with hyphens in filenames from Catalina onwards.... so maybe?... try an underscore instead...?
    David.

    posted in technical issues read more
  • whale-av

    @ddw_music A lot of complaints of the same with externals lately.... always on a recent Mac.
    What is this students machine /OS?
    You could try putting one of the abstractions in the Pd/bin folder. If it is then not found it must be an os security problem?
    David.

    posted in technical issues read more
  • whale-av

    @rph-r Not sure what you need to write to the text file, but if it is data available in a patch you could use [textfile] which is a standard object in Pd.
    David.

    posted in technical issues read more
  • whale-av

    @pholypp Soundcards is a difficult one to nail.
    I have had a Motu 828 that would run for hours without any problem and then suddenly produce spikes on some or all outputs until a preset was reloaded (much quicker than a reboot).... and then be happy for days until the next time. The driver settings would often not stick when changed..... reopening the driver panel the settings would have changed to something else, but serial data streams have to be negotiated so...?

    Other Motu's (different drivers) have never had a problem.
    I don't think they are manufactured with problems, or that the 828 had any electronic faults.
    It is much more likely that the 828 driver had problems talking to the os, On my mac the keyboard and the trackpad and the CD drive are all on the same hubs as the USB ports, which cannot help.

    Some USB soundcards will work on one USB port but not on another, probably because something else (keyboard, something?) is on the same bus and so the bus timing has been downgraded to USB 1 from 3 or 2

    Trial and error all the time....... especially with the Adobe updater, where I had force stopped just about every service on the laptop in desperation. Adobe updater always ran as a delayed start service at boot. Adobe licensing also, but fortunately without causing problems.

    I am no expert in such things, but with so much software trying to control so much hardware nowadays how can anyone be sure....
    It's a bit like a doctor having to hope that you can take aspirin + X when you have Y and Z but they don't yet know what Z is.
    It seems to me that if it is mission critical then it should be bare bones and never receive an update.
    I don't ever connect my show laptops to the internet.
    David.

    posted in technical issues read more
  • whale-av

    @pholypp I shouldn't really comment without seeing your patch.
    Some os's auto-allocate cores to threads, some allow you to define the allocation. Some give no such option. What tools are available for e.g. measuring processor latency, again depend on the os.
    Pd does all the control rate processing between audio blocks, but modern computers are able to cope with that. However, as you say, GUI redrawing can interrupt the patch (especially in windows).

    I run a huge patch for a live show...... basically a whole mixing console with OSC control over Wi-Fi...... and had occasional problems.... caused by Adobe updater and the software for the fingerprint reader. That took a while to find.

    You could try stopping such other software that might cause interrupts, and turn off Wi-Fi. There are a few articles from e.g.Native Instruments about fine tuning computers for audio.
    Bad drivers can also be the culprit....... anything that interrupts the processor.

    If you have a lot of dropouts and you are not running a live show then increasing latency could help.... i.e. increasing buffer sizes for audio threads to sound cards.
    That can be set in Pd for on-board sound cards.... "Delay (mSecs)".
    For your VST's you probably need to set the buffer size in your DAWs.
    For your professional soundcards buffer sizes will be set in the driver control panel.

    Using Pd under Linux I think you can set audio thread priority with the -realtime startup flag.
    David.

    posted in technical issues read more
  • whale-av

    @rph-r I think @jameslo's solution is plain vanilla....... apart from [readsf~] which you seem to have working...... but maybe not on the Bela.
    It shouldn't be too heavy.

    [readsf~] is working properly.
    The problem is that if Pd is processing 48000 samples per second then a file recorded with 44100 samples per second will play too fast.
    If you can get Pd to run at 44100 [readsf~] will work..... if it can be loaded on the Bela.
    Maybe that is the first thing to check, and if it will work then you could maybe resample the files at 48K.. and use those.
    David.

    posted in technical issues read more
  • whale-av

    Further to @jameslo 's suggestion...... have a look at this...... https://forum.pdpatchrepo.info/topic/14301/add-delete-guard-points-of-an-array-for-4-point-interpolation-of-tabread4-ect .... from @lacuna
    Long discussion here although a different topic....... https://forum.pdpatchrepo.info/topic/14299/question-about-tabread4
    [tabread4~] interpolates... so adding the guard points to the array interpolates as the playback wraps.... and there will be no clicks....
    David.

    posted in technical issues read more
  • whale-av

    @rph-r Looking at the warning it seems alsa will not run at 44100..... so Pd is probably running at 48K.
    Unless you can fix that (maybe simply in Pd media settings) I don't think you can use [readsf~]
    I remember that [sf-play2~] can autocorrect, if it is available for your system.......
    Otherwise you will need to load the file to an [array] using soundfiler and calculate the playback speed unless the file is too long for that.....
    .....or @jameslo posted an interesting solution........ https://forum.pdpatchrepo.info/topic/13518/readsf-varispeed/5
    David.

    posted in technical issues read more
  • whale-av

    @lyric I hadn't checked..... so my mistake.
    That is good news...!
    David.

    posted in technical issues read more
  • whale-av

    @lyric Changed some of the maths....... grain.pd
    I hope it is self-explanatory.
    You will need to do a little more work if the grain should not start at 0 samples......
    David.

    posted in technical issues read more
  • whale-av

    @jameslo Well spotted! I am getting old and lazy.....
    David.

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!