• Jess

    whale-av, thanks so much

    I'm a mac user, maybe that is the difference. I've tried a few things - the file permission is read-write, I've tried it in and out of its own folder and on the desktop and unfortunately none of these has made a difference. I suspect I need some sort of force overwrite command, but yes you are right, I'm not getting any error messages within PD so it seems it's something to do with the set-up of the files on the mac.

    I'll keep trying and will post back if I find a solution

    Thanks again for your help
    Jess

    posted in technical issues read more
  • Jess

    Hey,

    Wonder if someone could help me. I have a simple sampler set-up that takes a sample every x milliseconds and then writes it to disk. The problem I have is that the first time it runs, it writes the sample, but the next time it runs, although the file that it writes to says it has been updated (i.e as time moves on the file is continuously updated with the latest time), it hasn't actually been overwritten (ie it still holds the sample from the first time it was run).

    I understand that there is a makefilename object for unique names, but what I want to be able to do is to periodically open the continuously overwritten file into another patch, so if it's possible I just want to overwrite the existing filename rather than creating a unique name each time the sampler runs.

    Is there a way to do this?

    Best
    Jess

    image.png

    array_loop_recorder.pd

    posted in technical issues read more
  • Jess

    hmm, you know I'm not sure that was what fixed it!! I tried loading it again this morning and had the same issue even with the new name.

    I restarted PD and set-up a new receive object and it seems to be working again now, I'll keep an eye on it for a bit to see if was a glitch or if it's a persistent problem. I'm feeding the patch that creates the send object with arduino sensor data, perhaps that's making it jumpy/temperamental

    thanks for your help, I'll come back with more details if it happens again

    Best
    Jess

    posted in technical issues read more
  • Jess

    ah, great thanks!

    I had a dot in the name, perhaps it didn't like that. I've just renamed it and it synchs fine now

    thanks for your help

    posted in technical issues read more
  • Jess

    Hey,

    I'm experimenting with a patch where a bang is sent every time a number exceeds a certain threshold (which is set to happen relatively infrequently).

    I am then sending that bang out in a send object message.

    Infrequent Trigger

    Bang

    Send x

    When I set-up a receive object message and connect a bang to it, though, the receive message bangs very frequently (though not constantly), while the send object is only sending infrequent bangs.

    Receive x

    Bang

    Does anyone know why that might be?

    Best
    Jess

    posted in technical issues read more
  • Jess

    Great, thanks Seb, I'll try these out!

    Best
    Jess

    posted in technical issues read more
  • Jess

    Hey all,

    I'm working on a project where I'm taking accelerometer/gyroscope data from arduino into PD (vanilla) and using those data points to modulate sound parameters. For example, I may take acceleration along an X axis and apply that to a change in frequency or amplitude.

    The accelerometer is attached to my hand and records a constant stream of my movements in space, which leads to a large degree of modulation of the sound parameter.

    One issue I am having, is that this is creating a lot of clicks! I guess because I have a constant stream of rapidly changing data inputs, I'm frequently getting jolts in the movements. At the same time, I want to preserve that variability / intricacy coming from the constant data stream, but somehow without creating the clicks.

    I've attached a patch that I'm experimenting with, would be great to get some advice on how I might adjust something like this to moderate the clicking

    image.png
    Best
    Jess

    posted in technical issues read more
  • Jess

    great! thanks so much, I went with the fudiparse option in the end and works perfectly!

    thanks again for all the suggestions
    Jess

    image.png

    posted in technical issues read more
  • Jess

    hey thanks all!

    I've now added the comport function and connected it to the arduino serial port, which as far as I can tell seems to be working ok.

    I'm not sure though how to retrieve the 6 co-ordinate data points. I found an old thread (https://forum.pdpatchrepo.info/topic/7356/arduino-to-pure-data-via-serial-how-to-unpack-data-from-acceleromete) that was suggesting using repack and then unpack to pull each of the co-ordinate data points out separately.

    Screenshot 2020-10-20 at 23.16.44.png

    I'm not seeing any numbers coming out of the unpack object though - perhaps I'm radically over-simplifying!, but might anyone know what I'm missing?

    posted in technical issues read more
  • Jess

    Great thanks both! I added zexy to the startup window and its recognising the repack object now

    Thanks for your help!

    posted in technical issues read more
  • Jess

    Hey,

    I've uploaded the Zexy external on the latest version of PD-Vanilla (Pd-0.51-1) on my Mac, (I'm on Catalina) but when I go to add a repack object it still isn't recognised and won't create the object. Any ideas why?

    http://puredata.info/Members/zmoelnigbot/software/zexy/2.3.1/zexy[v2.3.1](Darwin-amd64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv7-32)(Linux-i386-32)(Windows-amd64-32)(Windows-i386-32).dek

    Best
    Jess

    posted in technical issues read more
  • Jess

    @Jess btw I'm using a Mac

    posted in technical issues read more
  • Jess

    Hey! Could anyone help me get started importing data from Arduino into PD-Vanilla?

    I have a gyroscope / accelerometer project in Arduino which serial.prints 6 data points from each of the accelerometer and gyroscope axes. I would like to bring these 6 data points into PD-Vanilla and unpack them so that they can separately drive objects in PD.

    Does anyone know how to do this in PD-Vanilla?

    Best
    Jess

    posted in technical issues read more
  • Jess

    Ok great, thanks for the tips. I'll give that a go!

    Best
    Jess

    posted in I/O hardware diyread more
  • Jess

    Hi there, I'm trying out Pure Data because I'm looking for an audio (and visual) platform that can interface with arduino IDE. I'm using data collected from sensors in IDE and want to use that to manipulate sounds in Pure Data.

    However, having a quick look round at tutorials, they all seem to be using PD-extended, which I see is no longer supported. I don't mind using that on a temporary basis, but before I get in too deep with PD, I want to know that I'll be able to keep using it in future.

    Would appreciate your help if anyone can confirm;

    1. Is there a currently supported version of PD that allows for communication with Arduino IDE?
    2. Is there some other intermediary that can be used to translate between IDE and PD Vanilla?
    3. Are there alternative platforms to PD which people are using for this sort of project (ie having arduino communicate with an audio platform to drive changes in sound?)

    Best
    Jess

    posted in I/O hardware diyread more
Internal error.

Oops! Looks like something went wrong!