• Krzysztof Cybulski

    update: I eventually managed to daisy-chain two teensys via uart, and to forward data from pd thru teensy 1 to teensy 2, hopefully it will work also with third teensy. If anyone needs info on how this could be done, I could post the patch and code.

    posted in technical issues read more
  • Krzysztof Cybulski

    Thanks for reply!
    I tried Pd Vanilla, unfortunately it's the same situation. Will probably have to control the other teensy as slave via i2c or something, as you suggested...

    posted in technical issues read more
  • Krzysztof Cybulski

    P.S. maybe there's some better alternative to comport in recent versions of Vanilla (wfich I'm not familiar with)?

    posted in technical issues read more
  • Krzysztof Cybulski

    Dear fellow pd-ers,
    I'm using comport to communicate with arduino/teensy for quite long time now, and I didn't encounter any serious issues while using one or two comport objects (and respectively one or two arduinos/teensies). But when I'm trying to connect three at a time, there are some problems, both when when connecting directly to computer's usb ports, and when using powered usb hub. I tried on two different computers. I'm getting this kind of messages in the console:

    [comport]: WriteFile:GetOverlappedResult error: 31
    [comport] ** ERROR ** couldn't reset params to DCB of device COM42
    One of the teensies doesn't react, sometimes Pd freezes and unfreezes only when I disconnect the teensy in question.

    Is there some hard limit in Pd - that you can't use more than two comports at once? Teensies are not draining that much power from usb, thei're controlling motor boards that have external power.

    Any ideas?

    EDIT: I'm using latest available version of PD-Etended

    posted in technical issues read more
  • Krzysztof Cybulski

    I'm trying to play back long audio files (18 minutes) from tables, and I managed to load them and they're playing back properly. But the waveform display is truncated around 1/3 of the lenght of audio sample. Since I'm building a kind of multichannel player with ability to play from a specific point based on waveform display, this is quite essential. I red that there are some limith of array/table size in pd, but it seems that the whole sample loads properly into table, only the display is incorrect. Any ideas? Thanks in advance.

    posted in technical issues read more
  • Krzysztof Cybulski

    I'm just sharing this information, since I couldn;t find any info on maximum number of channels in pd when I needed it. Back in april with panGenerator ( http://pangenerator.com/ ) we created an installation, in which we used four Motu 24ao audio interfaces, combined into a single composite device with soundflower on mac, to play back a total of 95 audio channels simultaneously (the 96th channel of last suondcard was left unused since we didn;t need it). It played very simple sinusoids, and the latency was set high (300 ms) but otherwise it worked flawlessy. So in case you ever wondered what is the limit of dac~ channels in a single pd instance - well, it's centrainly not less than 95. It might be even higher.

    Here's the installation:


    (the mirrors are actually attached to regular speakers which play back most of the time very low sinusoids - between 1 and 30 hz).

    Cheers everyone

    posted in output~ read more
  • Krzysztof Cybulski

    Hello,
    I'm encountering a problem with autostarting Pure Data patches - this happened a lot on Mac (which I personally I don't use) but recently I had similar situation on Windows. Basicaly - I added Pd patch to windows autostart folder, and after restarting the computer, sometimes everything launches correctly, but at random times Pd opens the same patch twice. Which means that the best scenario is having the sound two times louder than needed, and twice the cpu load, but with other patches I get conflicts, like two tables with the same name, two sends with the same name etc. Needless to say this is an unwanted situation and makes using Pd as sound engine in standalone installations very difficult and unpredictable to use. Had any of you similar issues? Any ideas how to solve this problem? Any answer appreciated.

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!