• hanswillem

    Hi all.

    I was wondering if I can use a .wav file as a wavetable in PD Vanilla? I have a patch in Max Msp that does this, and I want to translate it to PD to use with a Raspberry Pi, but I can't figure out how to do this.

    Grtz,
    HW

    posted in technical issues read more
  • hanswillem

    Hi Ricky,

    Here you go.

    Regards,
    Hans Willem

    pdPatchAndShellScript.zip

    posted in technical issues read more
  • hanswillem

    Ah, I found a solution!

    The shell script converts a .wav file to an .mp3 file using lame. I installed lame using homebrew, and that puts it in the /usr/local/bin folder.

    the the script works if you run it from the terminal, but it returns an error if some other app tries to execute it.

    If, in the script, you provide the full path to lame, the execution of the script from pd works as expected.

    posted in technical issues read more
  • hanswillem

    Thanks for the reply!

    I tried the things you said. I gave the script permissions and I put the full path to the script in the pd message. But still no luck. The patch now looks like this:

    [full/path/script.sh(
    |
    [shell]

    By the way, print STDOUT prints nothing for me.

    Regards,
    Hans Willem

    posted in technical issues read more
  • hanswillem

    Hi,

    I am trying to run a shell script in osx from pd using the shell object. The shell script works perfectly fine in the terminal, but nothing happens when I try to execute the script from pd using the shell object. Does anybody know what I am doing wrong? Look at the patch below.

    [ blabla/blabla/convert.sh' (
    |
    [ shell ]

    Regards,
    Hans Willem

    posted in technical issues read more
  • hanswillem

    Hi,

    Thanks for the correction. It was a typo indeed ;)

    So does anybody know how to get a return from [shell] that I can parse?

    posted in technical issues read more
  • hanswillem

    Hi again,

    I have some trouble getting this to work.
    I now have this:

    [osascript -e 'get system volume']
    |
    [shell]
    |
    [print STDOUT]

    I think the shell object is correctly executing the shell script, but it doesn't return anything. Not when I use print STDOUT, nor when I use [symbol] or any other objects I tried. Am I missing something?

    Thanks!
    Hans Willem

    posted in technical issues read more
  • hanswillem

    This is great! I really like the interface!
    One question though, I want to put some patches I made on my laptop on my phone, but I can't find the mpd folder (using filetransfer) Am I doing something wrong?

    posted in news read more
  • hanswillem

    Hi all,

    Is it posible to read out the system volume on OSX Mavericks?

    Thanks in advance,

    Hans Willem

    posted in technical issues read more
  • hanswillem

    Hi all,

    I want to make a particle system that triggers sound. The particles are affected by gravity and I want to link each particle to a sound, so that when the particles fall, the notes change to lower a pitch. Hope I'm making myself clear enough.

    Anybody know how to go about this?

    Greets,
    HW

    posted in technical issues read more
  • hanswillem

    Hi all,

    I want to make some sort of slit scan patch, but I can't figure it out.

    I now have a video loaded into pix_film and I have it masked by a line of 1px high. Then I copied this and did the same for another frame of the movie. I put in a translate object so I can move the first line above the second. But I'd have to do this a few hundred times, and thus I'd end up with a few hundred pix_film and texture objects. This makes the video verrrrrry sow. And that is of course not what I want. Is there any way I can do this in a better way?

    To clarify, I took a screenshot (see attachment).

    Greets,
    Hans Willem

    http://www.pdpatchrepo.info/hurleur/Picture_3.png

    posted in technical issues read more
  • hanswillem

    Hey all,

    I'm looking for a way to make Puredata output a series of numbers in a random order in such a way that no number is outputted twice. So let's say the series consists of numbers 1 to 10; A possible output would be 1 4 3 5 2 6 8 7 9 10.

    Does anybody know how to approach this?

    Thanks in advance!
    Hans Willem

    posted in technical issues read more
  • hanswillem

    Hi all,

    I'm new to Pd and to the forum. I want to make Pd play a video. I followed the youtube tutorial about this, but I have a problem. My video is widescreen 1280x720. So i'ts aspect ratio is 16:9 and not 4:3. So in the rectangle object I put "16 9" as values. But now I end up with the video being much to large for the window. It doesn't fit in there, and a large part of the video is unseen. What am I doing wrong? Here's a picture of my patch:

    Thanks,
    Hans Willem

    posted in technical issues read more
  • hanswillem

    Thanks for the reply! Wow, I didn't know I could do that in puredata. I actually have some 3d knowledge, so the modelling part I can do, but can you perhaps explain how to go about this in pd?

    posted in technical issues read more
  • hanswillem

    Hi,

    Here's the patch (attachment). Theoratically it can be modified to work on a live stream I guess, but at the moment it's way to slow...

    http://www.pdpatchrepo.info/hurleur/crop_test.pd

    posted in technical issues read more
  • hanswillem

    Okay, I tried pix_crop instead of an alphamask. It still slows down a lot, but less than before. If anybody knows a better way to do this, I'm all ears ;)

    Here's a few screenshots of what my patch produces:

    Greets,
    Hans Willem

    posted in technical issues read more
  • hanswillem

    [urn] is exactly what I was looking for! Thanks a lot!

    Hans Willem

    posted in technical issues read more
  • hanswillem

    Thanks for the replies!

    In the image I posted the rectangle object has the values 6 and 4, but that's just a mistake on my part. I also tried 16 and 9 but it didn't work. I think I found it though. If I put 7,111 and 4 it seems to work.

    Thanks again,
    Hans Willem

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!