-
atux
Hi,
currently is there an object to export an .mp4 video (audio+video) created with gem (video) and pd (music) directly from the patch in puredata? (maybe there have been some developments, or are in progress...)Reading posts online from a few years ago, I saw that in Linux the solution was to use OBS and then capture the gem window. It is still so?
It seems strange...
Thank you,a.
-
atux
@whale-av said:
Cool, it works perfectly. I'll attach your patch here.
Maybe it's also faster in terms of CPU (compared to that of oid), is that right?
Message_3.pdThank you,
a. -
atux
@oid said:
Thanks, it works well, very nice. I attach the patch here if anyone wants to try it.
Message_2.pdBye,
a. -
atux
@oid said:
Hi,
however the same behavior remains: if I vary the first box number, it also varies in the message box; but if I vary the second or third, they do not vary in the message (in real time) unless I put a bang above the first box number.
Message.pdThank you,
a.
-
atux
@whale-av said:
Thank you.
I would like to use three number boxes, instead of messages.
So when I change the second or third number box, the numbers don't change in the message.
So I add a bang before the first number box, if I press it all three numbers are inserted. It's right?
Thanks
a. -
atux
Hi,
I would like to connect 3 box numbers to a message box, so that the three numbers appear as a list within the message, like in this example:
But I don't remember how to do it anymore...
Any tips?Thank you,
a. -
atux
@whale-av said:
Thank you.
Indeed the jpg is very degraded: but is it a bug?
The tiff however is ok.Some questions:
The radius R and the x,y coordinates of the center: in what measurement units are they expressed? What does R=1 correspond to?
Where is the origin of the axes located in pixels with respect to the bottom left corner? (I would like to take it as the origin of the axes).Why the 1920X1080 image window in not automatically adaptable or resizable to my 1366X768 monitor,? ...so I can't see what I'm drawing. Maybe it's better to create two separate images, like in your example, a smaller one for previewing and a large one for saving?
Thank you,
a. -
atux
@oid said:
pd is very easy to build from source
I managed to build pd 0.54.0 from sources:
./autogen.sh ./configure --enable-jack make sudo make install
As you can see, I solved the missing jack issue by adding: --enable-jack
Now jack is listed in Media menu, it works fine.Bye,
a. -
atux
@oid said:
connect the [loadbang] directly to the [symbol $1/images/*(
In /home/j/pd24 there is the patch.
In /home/j/pd24/images I put an image called 60.pngI connected my MIDI keyboard to pd 0.52.1 and played the C note (which corresponds to MIDI pitch 60), as can be seen from the number box I placed:
Should the 60.png file open?
Nothing happens and in the pd console it writes:bad arguments for message 'open' to object 'pic'
I had already installed the else library and the relative paths had also been inserted correctly in pd. What does that question mark represent in the patch?
Any tips?[pd .52.1 on Linux]
Thank you,
a. -
atux
@oid said:
0.54,
I had tried pd 0.54, but it doesn't have the jack option in Media menu (or at least I didn't find it).
For this reason I use 0.52.1.How can I modify the patch for use it in pd 0.52.1?
Thank you,
a. -
atux
@seb-harmonik.ar said:
Hi, a perhaps trivial question:
in [file patchpath] how should the path be written?
I've tried various combinations, but it stays dotted.The patch and the "Images" folder are in:
/home/j/pd24[pd 0.52.1 on Linux]
Thank you,
a. -
atux
Hi,
I have a patch where I use 8 audio channels in output. Every time I open it, I have to go to puredata-audio settings and manually change the number of channels (which by default is 2) to 8.
I would like this setting to be done automatically when I open the patch.
I tried with this:
but it doesn't work.Some tips?
[pd 0.52.1 on Linux]Thank you,
a. -
atux
A real AI should be able to do this:
I input an audio file (of any musical instrument, noise, etc...), for example a held note from a particular pipe organ inside a particular architecture, or a large stone thrown into the water, and I ask to build me a puredata patch that perfectly simulates that sound.
Obviously I don't want the AI to go looking for a pre-made patch without modifying it, otherwise I'll find it myself, I want the AI to create it from scratch and perfectly.
Can we reach these levels?a.
-
atux
Hi,
suppose I have an object that has an audio signal in output. Apart from sending it to a [dac] and listen, what is the easiest and fastest way to understand if it is working? That is, a way to test if it actually sends something in output?
Thank you,
a. -
atux
I solved!
One of the initial steps was installing opencv-python:$ pip install opencv-python==4.5.5.64
I looked for the latest version of opencv-python, which is 4.9.0.80, and tried to install that:
$ pip install opencv-python==4.9.0.80
Now it works.
a.
-
atux
@alexandros said:
Well, this concerns the Python script, that's why I wrote that it's not Pd related. Never mind though. What's output_socket in your code? What does it try to connect to? Did you try to print your HOST "macro"?
I don't know anything about what you're asking me...
...I don't know Python. Anyway this code should connect the webcam with puredata, to detect movements and translate them into sounds.a.
-
atux
@alexandros said:
This is not Pd related as it concerns Python. Nevertheless, what's on line 32 in your script? The error message concerns this line where a connection you are trying to establish fails.
line 32:
output_socket.connect((HOST, OUTPUT_PORT))
This is not Pd related as it concerns Python.
If I'm in the wrong section of the forum, I apologize for that.
-
atux
Hi,
I'm trying to use this Theremin simulation in puredata, with the use of the webcam.
I have installed everything it requires. But...when I run the python script, it gives me this error:$ python ./webcam_synth.py Traceback (most recent call last): File "/home/me/Download/webcam-theremin-main/./webcam_synth.py", line 32, in <module> output_socket.connect((HOST, OUTPUT_PORT)) ConnectionRefusedError: [Errno 111] Connection refused
At the beginning of the script there are these input/output:
INPUT_PORT = 6000 OUTPUT_PORT = 6001 HOST = socket.gethostname()
perhaps they need to be changed?
With lsusb, my integrated webcam should be this::
Bus 002 Device 003: ID 04f2:b483 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Some advice?
[Pure Data 0.52.1 on Ubuntu 22.04]Thank you,
a. -
atux
@oid said:
[...] I use multiple instances of [command].
I tried modifying my patch above by removing the delay and putting the [command] in series, like in your example:
xdotool_multiple.pd...but it does not work. Instead from the terminal, with &&, it works.
For your problem, [...] Have you tried having it click twice?
Regarding my problem, I solved it like this:
in some GUI, where something happens when you click inside with the mouse (a simple click), for the click to take effect, in puredata you need to replace "click 1" with "mousedown 1":[exec xdotool mousedown 1(
Then it's like when I click the mouse (a simple click) inside the window, the event happens. I do not know why, but...it works.
So my opening question is solved. Now I need to see what happens with more complex patches.
Thank you,
a.