-
romulovieira-me
I have two patches on Pure Data as per the image below. As you can see, each patch opens in a different process. How do I send the values of one (which contains the send object) to the other, which contains the receive?
-
romulovieira-me
I want to send a variable number (e.g. int 1) from a lua script to Pure Data? How can I do this?
I'm trying [receive] object, but nothing happens.This is my code in Lua. We also need pdlua to works.
local ginga = pd.Class:new():register("ginga")
function ginga:initialize(sel, atoms)
self.inlets = 1
self.outlets = 1
return true
end -
romulovieira-me
Try this:
- git clone https://github.com/agraef/pd-lua.git
- cd pd-lua
- git submodule update --init (checks if Lua are installed in same directory than pd-lua)
- sudo make
- sudo make install
After this, probably pd-lua will be installed on yout computer. Check /usr/local/lib/pd-externals
-
romulovieira-me
@whale-av ddw_music
This is awesome. I made this little change and it works.
Thank you very much, guys. You're great. -
romulovieira-me
@ddw_music
I made some changes in qjacktctl and now it works!
Bellow are my steps to achieve this:- Install pulseaudio-module-jack: aptitude install pulseaudio-module-jack
- add to "/etc/pulse/default.pa" the following text: "load-module module-jack-sink
load-module module-jack-source" - Put Pure Data and QjackCTL with this setup --> photo
Now, you can use Pure Data and other music and videos applications, like YouTube, Twitch or VCL.
-
romulovieira-me
@ddw_music
I'm using a built-in soundcard, on Linux Mint 20.04. QjackCTL it is also installed
Should I already be able to use the mic on Pure Data with the audio setting on JACK? -
romulovieira-me
I used the specs from this link (https://askubuntu.com/questions/572120/how-to-use-jack-and-pulseaudio-alsa-at-the-same-time-on-the-same-audio-device ) and now I can hear sound from Pure Data and my browser at the same time.
However, for that, I had to leave the Pure Data audio media in the "jack", which prevents me from capturing the sound of my microphone using the following patch:
[adc~]
|
|
|
[dac~]Any suggestions on how to resolve this?
-
romulovieira-me
Hello,
I have two very simple questions
-
Why when Pure Data, when running on Linux, does it not allow other audio and video applications to run?
-
Is there any way to resolve this?
Thanks!
-
-
romulovieira-me
@seb-harmonik.ar I want to run a Pd patch in a Lua script. So, I will try LuaPD. That was illuminating. I was trying to use pdlua for this
Thanks.
-
romulovieira-me
@seb-harmonik.ar Hi Seb
Can you provide me some example in how to run a pure data patch inside a Lua script?
Prints and pictures are appreciated