• Bongo

    using env~ to compute input for vu meters seems cpu intensive. i have an app using 11 stereo audio paths (7 rows mixed to one of 4 audio outputs), and i have created a pair of vu meters for each. each vu input looks like this:

    [env~ 8192 4096]
    |
    [- 100]
    |
    [vu]

    i have set the arguments for env~ to a larger sampling window, which helps somewhat, but this is still chewing up a lot of cpu.

    i am on a windows 7 machine, and with the env~ objects in place, cpu use (according to windows task manager) ranges from 40-60%. if i simply remove the env~ objects and change nothing else in my program, cpu usage is ~10-15%.

    any suggestions for a less cpu intensive way to display some sense of audio level? it does not have to be really precise, but i would like for it to be fairly responsive.

    thank you!

    posted in technical issues read more
  • Bongo

    _

    I own a copy of Virtual Audio Cable (VAC), which theoretically provides multiple virtual cables to route audio between applications on windows systems. I have been able to create 4 cables in VAC, and can use any two of them to route 2 stereo pairs from pd to Ableton. But it appears that pd will not output to more than two 2-channel outputs at once.

    Anyone have guidance on routing as many as 4 stereo outputs from pd to Ableton on a windows pc?_

    posted in technical issues read more
  • Bongo

    Windows 7, pd extended, Live 8

    I know there have been other posts on this, but I could not find a solution anywhere...

    I am trying to use Jack to route multiple outputs (8) from pd to Ableton Live. I believe I have Jack installed correctly, and can route audio in both directions between Ableton and my external sound card via Jack "cables."

    I am unable to get pd to show up in the Jack patch panel. I have chosen "ASIO (via portaudio)" from the pd media menu, then selected "(1)JackRouter" as my output device in audio settings, turned audio on, etc. but still pd does not show up in Jack.

    I am hopeful someone can provide clear instructions for using Jack with pd on Windows.

    Thank you!

    posted in technical issues read more
  • Bongo

    Is there a way to programatically move an abstraction? For example, let's say I have a pd patch named abstraction1.pd, and I place this on another pd patch using [abstraction1]. I know I can send messages like vis 0/1 to this abstraction using . Is there a message I can send that will change the x,y location of the abstraction on the parent patch?

    posted in technical issues read more
  • Bongo

    Can anyone suggest a way to provide a multi-page user interface? Ideally, there would be 2-4 tabs that could be clicked across the top of the screen, and each one would display a different page of pd objects - some of which change dynamically (e.g., labels and colors of canvas or slider, vu meters, etc.)

    posted in technical issues read more
  • Bongo

    i have created an app in pd for storing & triggering a large bank of samples. when i attempt to load a sample - via openpanel - while a number of other samples are playing, all audio playback stops while the window to browse for the file name remains open, then resumes once a file is selected/loaded.

    Is there a way to keep my samples playing while browsing to load another sample? I am currently passing the filename from openpanel via a read message to soundfiler which loads arrays (left/right) located in the same subpatch.

    posted in technical issues read more
  • Bongo

    I am building a symbol to pass to soundfiler to load a stereo .wav file to a pair of local arrays, but it does not work, whereas passing an identical string from a message works fine. The string looks like:

    read -resize c:/Samples/Dubstep_vol_4/140_bpm_beat_01.wav Ha01L Ha01R

    where Ha01L and Ha01R are the arrays.

    I can see in a symbol object that I am building this string correctly, but when I connect it to soundfiler it does not work, with the message

    error: soundfiler: no method for 'symbol'

    Is there something I need to do to convert the symbol before passing to soundfiler?

    posted in technical issues read more
  • Bongo

    @mod - good suggestions, thanks!

    posted in technical issues read more
  • Bongo

    I will give that a try, but I think it may be [env~] which is the cpu hog.

    posted in technical issues read more
  • Bongo

    thanks katjav for the reply. i may just have to reduce the number of [env~] -> [vu] i use in my application.

    anyone else have a suggestion?

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!