• whale-av

    @vitreo12 You can toggle "Perf Mode" on and then include in your patch this.... https://forum.pdpatchrepo.info/topic/11518/external-that-detects-quitting-pd/5 using the bang to do something (like writing to disk, or some other function) before Pd actually quits.
    David.

    posted in extra~ read more
  • whale-av

    @ddw_music Did you try an automatic install through "Deken"?

    "Help" "Find externals" from the Pd menu.
    If that does not work then mrpeach might need to be compiled against your system....
    It is old and links are broken, but..... https://forum.pdpatchrepo.info/topic/6439/compiling-mrpeach-osc-on-beagleboard-under-ubuntu .... suggests that compilation is necessary without a Deken version already uploaded.
    David.

    posted in technical issues read more
  • whale-av

    @ddw_music Does........ -lib C:/usr/lib/pd/extra/mrpeach/mrpeach (i.e. the complete path (is your drive C:/...?) help?
    Putting the complete path can work, because otherwise it could be looking for (for example) pd/usr/lib/pd/extra/mrpeach/mrpeach
    I assume you already have an [import mrpeach] object in your patch.
    You could try a path definition in the patch as well...... [declare -path C:/usr/lib/pd/extra/mrpeach]

    If all else fails then use my abstractions in a path that Pd is pointed to. They should work for you (your mrpeach objects will create, but will in fact be my vanilla abstractions which do the same job). Let me know if you need any others.
    David

    posted in technical issues read more
  • whale-av

    @ddw_music Hello. It should be possible by declaring the library in the startup preferences...... -lib mrpeach .... if mrpeach is in the "extra" folder.
    I am trying to make abstractions so as to use "pure" vanilla..... and here is what I have so far for mrpeach.....
    mrpeach.zip
    [OSCroute] I could not solve (well) dynamically......... it needs to be followed by a standard [route] without any OSC slashes.
    You should be able to build any others you need using some of the bits in that zip.
    David.

    posted in technical issues read more
  • whale-av

    @schoolshoes If it is possible then it will have to be done by the operating system (OSX). Maybe there is a utility that will help.
    In windows the same port is always assigned, and then reserved, for the device. It is fixed by the system based on the serial number of the device.
    But the Arduino has no serial number........ https://arduino.stackexchange.com/questions/11823/can-i-change-the-usb-device-name-of-arduino ....... and you would probably have to mess with its firmware.
    It could be that re-plugging them in the correct order every time will be the only solution.
    You might be able to buy / make some hardware to do that......?
    David.

    posted in I/O hardware diyread more
  • whale-av

    @kirayagami Welcome to the Forum.
    There are a few of you...
    https://forum.pdpatchrepo.info/topic/11411/accelerometer-mobmuplat-help
    https://forum.pdpatchrepo.info/topic/11487/help

    The data is very "jumpy" and unreliable, but can probably be "smoothed".
    https://forum.pdpatchrepo.info/topic/7181/accelerometer-pure-data

    You can return to the "stable" values once you have stopped "warping" like this.....
    reset_norm.pd
    and you could use the [change] object to stop receiving values when the phone is not moving...... maybe with a multiplier and [int] before [change] to ignore small changes.

    David.

    posted in technical issues read more
  • whale-av

    @emviveros I just made this out of old bits (so [pbank] does things you don't need).........
    parse.zip (vanilla...... [parse] is the main patch).
    It will lose the first and last values of each data set because they are stuck to the xml separators, but that is useful for separating the sets.
    I don't know if that matters to your project?
    They could be recovered I am sure, but more work would be required.
    It would be interesting to know if it can deal with your huge files.

    You could work through the data sets using a [metro] instead of [until] and setting [s $0-done] to fire a repeat count......... as you probably need to slow the output rate to make your patch useable........ bringing in the data at a set tempo..
    As the data sets are in pairs (but part of the same sequence with radically different values) you are probably using them for different purposes. You could flip-flop them onwards to separate parts of your patch with a couple of spigots.
    David.

    posted in technical issues read more
  • whale-av

    @emviveros Pd doesn't actually lose your value.... it just doesn't show or print it.
    If you subtract 3e+07 from the value it shows as 3.0003e+07 then it will print 3042.
    Yes, very large files, and yes, Pd sees a comma as "new list".
    It might not have crashed, but the time necessary to read the file could well render Pd unusable.
    @Eeight is most likely correct...!
    David.

    posted in technical issues read more
  • whale-av

    @phil123456 No idea, as not using Linux...... but PulseAudio says that it can sit between audio applications and stream audio to them.
    So either PulseAudio needs to create a virtual audio connection that Pd can then see.....
    Or you need to get at the stream.
    Various objects have been created for Pd for mp3, ogg, and raw audio streaming in the past (some included with "extended"),such as [streamin~], but I don't know which if any were available for Linux.
    If you Google "Pure Data Stream" you will find them.
    If you have no luck then you could use a simple potentiometer in between an external source and the Computer (for external sources only of course, but any internal source should already be "in range").
    David.

    posted in technical issues read more
  • whale-av

    @sleepwonder You could try asking the question on the Pd list....... by clicking from the Pd menu..... "help" "report a bug".
    People with more knowledge than us mortals will reply at some point.
    They wrote these wonderful tools that we use....!
    David.

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!