• ylagandre

    Hello,

    I'm trying to play the sound file to a corresponding video file in sync with one another. I tried just linking a bang to both the sound and video files; however, it sounds as though the sound is playing at a slower rate. There is a noticeable pitch shift from when I play the file in quicktime. Also, even though the video and audio are out of sync they tend to lag together. I read that the pdp_qt~ object would be able to sync the sound, but when I used it I got an error (error decoding audio). I also read that specifying the frame rate in the gemwin object would assuage the situation. No such luck for me.
    Here is my patch and I thank anyone in advance for any light they might shed for me.

    -Y

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

    posted in technical issues read more
  • ylagandre

    Hello,

    I'm working through a couple video tutorials online. I have the following patch.

    [toggle]
    |
    |
    [gemhead]
    |
    | [bng]
    | |
    | [openpanel]
    | | [toggle]
    | [open $1( |
    | / [auto $1(
    | / /
    |//***************
    [pix_film]
    |
    |
    |
    [pix_texture]
    |
    [rectangle 4 3]

    and of course

    [create, 1(
    | [0, destroy(
    | /
    |/
    [gemwin]

    My problem is that I'm only able to play through a video once, even if I reload the video file. It makes no difference if I load a new video, it won't play at all. I can't even seem to make it play if I open a new patch and try again. I'm only able to play the video if I quit PD and try again. I'd like to put the video on a loop, but I'm stuck where I am.

    Thanks in advance,
    Y

    posted in technical issues read more
  • ylagandre

    Hello,

    I'm new to PD and am interested in using range finders in a project. I know that it is a simple affair to hook up an IR Sensor but that it's far more difficult to get the ultrasonics, such as the ones by Parallax, to play friendly with PD. In my research I came across the Maxbotix, which is supposed to be easier to use (https://www.sparkfun.com/products/639). The interface output formats included are pulse width output, analog voltage output (Vcc/512 volts per inch), and serial digital output (9600 baud). Does anyone have experience with these? Are they plug and play with pduino?

    Thanks,
    Y

    posted in I/O hardware diyread more
  • ylagandre

    Hello,

    I am a novice who is slowly making his way through various tutorials in PD. I am having trouble making my volume fade. The simplest patch I've tried using the line~ is as follows:

    [osc~ 440]
    l
    l [0 500(
    l /
    l [line~]
    l /
    [*~]
    l\
    l \
    [dac~]

    Sometimes I get an error message. I'm sorry I didn't write it down and it doesn't seem to be coming up now that I'm running the patch again. I've tried connecting the osc~ and dac~ objects directly and I get sound with the DSP on. I can adjust the volume in the *~ object without a hitch. The problem is unique to the line~. Like I said, I'm just trying to follow the tutorials and old posts on this forum. I wish I had a more challenging problem to post but I'm really stuck and would like to move on to more advanced topics!

    All the best,
    Y

    posted in technical issues read more
  • ylagandre

    Hello alistar,
    Yes, indeed that was part of the problem and I thank you for your response. The pitch shifting issue is gone.
    On the other hand it still doesn't quite play in sync in the first patch. In both patches the audio and video slow down to start and stop one frame at a time and then suddenly play again at normal speed intermittently. This happens whenever I play audio and video files simultaneously in Pure Data. It even occurs when I play a video file in one patch and a sound file in another patch.
    I tried increasing the latency under the audio preferences, but to no avail. The sound will play fine on its own while the video will persistently start and stop when I play it by itself. Is there a way to allocate more resources to video play back in GEM?

    posted in technical issues read more
  • ylagandre

    To be clear I installed X11 to be able to use pdp_qt~. It sort of works. The sound and video are in sync; although, they play progressively more slowly and choppy as the video progresses. I still get the error pdp_qt: error decoding audio in the PD terminal.

    That patch looks like

    [bang(
    |
    [openpanel]
    |
    [open $1(
    |
    | [play(
    | /
    |/
    [pdp_qt~]
    | \ \
    | [dac~]
    |
    | [create(
    |/
    [pdp_glx]

    posted in technical issues read more
  • ylagandre

    OK, I have no idea why [auto $1] won't work, but if I set up a [metro] on a loop it works… For now I have working solution; however, the mystery remains and any theories are welcome.

    posted in technical issues read more
  • ylagandre

    Update.
    If I attach a number box to [pix_film] and scroll through the frames a little bit I can press the toggle button and have the film play again. It's like it needs a little push to get started…
    -Y

    posted in technical issues read more
  • ylagandre

    Hello, I am a novice slowly making his way through various tutorials online. Maelstorm's patch seems very interesting to me; however, I get an error for the following objects: [folder_list], [symbol2list /], [list-idx], [list2symbol/] and [msgfile]. I'm sorry for reviving an old thread but this patch is very interesting to me and I would like to study it. What can I do to make this work? I have the latest version of PD Extended.

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!