-
jamcultur
@whale-av The bat file does open the patch, but it doesn't open a new console window like I saw previously, and I only see one pd in the Windows Task Manager. Also, the patch is able to access audio and MIDI without changing the settings. Do you know if there is a way to verify whether Windows is running the patch in a different thread?
-
jamcultur
@whale-av Thanks for the info! I'll try using a bat file to run multiple patches. My main patch does all the audio and MIDI I/O, so I think it should work as along as I start the main patch first.
Since the current behavior is inconsistent, I'm wondering if I should open an issue on GitHub. Maybe it's a bug.
-
jamcultur
Sometimes when I double click on a patch to run it on Windows, it starts a second instance of Pure Data 0.56.0. Pd opens a second console window, and all messages from the second patch go to the second console window. Why does this only happen some times? Is there a way to make it happen all the time? Do different instances run in different threads? When I get a second instance of Pure Data, it is unable to connect to my MIDI device. Are there other restrictions on multiple instances of Pure Data?
I've been looking at using [Pd~] to run different patches in different threads, but it would be easier to run each patch in a different instance of Pure Data, if there's a way to consistently start multiple instances.
I don't remember seeing this before 0.56.0. Is it a new feature?
-
jamcultur
@FFW said:
EDIT: you stack computation branch and they are released deepest to shallowest so numbers are reverted.
I don't understand your comment. Why aren't the numbers coming out in the order in which they were computed? This seems like a bug to me. Is this behavior documented?
-
jamcultur
@FFW I had the control flow correct in my example. Adding [trigger] didn't fix the problem. Here's my example with [trigger]. The numbers incremented in the [i] object still come out in the wrong order. It appears that they are coming out in LIFO order when they should be coming out in FIFO order.
-
jamcultur
I'm trying to increment two sets of numbers in a loop. One set comes out in the correct order; the other comes out in the reverse order. How can I make this work correctly? I've attached a simplified patch that demonstrates the problem. It should print
0 0
1 1
2 2
3 3
4 4
Instead it prints
0 4
1 3
2 2
3 1
4 0 -
-
-
jamcultur
@whale-av Thanks! That gives the syntax of -mididevout, but doesn't give enough information for me to understand what it does. What does
-audiooutdev 1,3
actually do?
Does specifying it in Setup->Preferences as described in this post
https://forum.pdpatchrepo.info/topic/2980/more-midi-output-device-options-needed/4
change the behavior of the device list in MIDI settings? -
jamcultur
I'm having issues with using multiple MIDI devices. I think the -mididevout option might help, but I can't find any doc on it other than what's in this post:
https://forum.pdpatchrepo.info/topic/3582/how-to-specify-the-midi-channelWhere can I get the specifics on how -mididevout works?
-
jamcultur
I have this problem too. I have a number of MIDI devices, and they can't all be plugged in at the same time. It's very annoying to have to stop and restart Pure Data every time I plug in a MIDI device, especially since I'm usually working with multiple patches at the same time, and it's a pain to get back to where I was before restarting Pure Data.
-
jamcultur
I was looking at writing my own bezier function to generate curves when I ran across this option to generate a bezier curve in a graph. I was hoping that it would do more than make a nice looking display.
-
jamcultur
Arrays have an option to generate a bezier curve. In the attached patch, seven points are put into an array and displayed as a bezier curve. It looks nice, but does it have any function? When you read the array, you just get the points you put into it, not the points on the bezier curve. Is there a way to use the bezier curve as a wavetable or envelope, instead of the original seven points?
bezier.pd -
jamcultur
I've been avoiding externals since the demise of Pd-extended, but I'll check out tabgen. Thanks.
-
jamcultur
I'm creating a wavetable using sinesum to write harmonics to an array, which works fine for integer overtones. I'd also like to be able to be able to write non-integer overtones and undertones to the array. Is there a way to do it with sinesum or some other function? Or do I have to make a complex expr to write a combination of integer and non-integer overtones to the array?
-
jamcultur
Thanks, that worked. Is there some Pd doc that I don't know about? I keep running into basic things like this that don't seem to be documented anywhere.
-
jamcultur
I'd like to make help files for my Pd modules that work like Pd object help files, but I can't find any documentation on how to do it. Where is this documented?
-
jamcultur
@whale-av Thanks! What is the purpose of the third and fourth outlets? How should I used them when generating stereo output?
-
jamcultur
[rev3~] has two audio inputs. It it true stereo? The help file doesn't say. It just shows just a single audio source that is routed directly into one input and inverted into the other, but doesn't explain why it does that.
Also, [rev3~] has 4 outputs. What are the functions of the third and fourth outlets? The help file doesn't explain it.
-