• atux

    @FFW said:

    [netsend] help for the [send( message says "same as list" so you can also do

    [hslider]
    |
    [list prepend z]
    |
    [netsend]
    

    Yes, that's how it works too.
    pd2py_v3.pd
    For less computational effort, is one preferable to the other, or are they equivalent?
    Thank you,
    a.

    posted in technical issues read more
  • atux

    @whale-av said:

    @atux You can try that....... pd2py_v2.pd
    Does it work?
    If not then post your Python code and someone will tell you why not.
    David.

    Thanks, it works fine.
    But in order for python to receive the values ​​correctly, I had to remove "-b" from [netsend -u -b].
    These are some values ​​received from pd:

    $ python3 py_from_pd.py
    Socket bind completed on 127.0.0.1:9999. Waiting for messages...
    Raw data received from ('127.0.0.1', 51903): b'z 0.5;\n'
    Decoded message: z 0.5;
    Value of z: 0.5
    Raw data received from ('127.0.0.1', 51903): b'z 0.509868;\n'
    Decoded message: z 0.509868;
    Value of z: 0.509868
    Raw data received from ('127.0.0.1', 51903): b'z 0.519737;\n'
    Decoded message: z 0.519737;
    

    It seems good to me.
    I attach both files, so it can be useful:
    py_from_pd.py
    pd2py_v2.pd

    Thank you,
    a.

    posted in technical issues read more
  • atux

    @FFW said:

    Simply connect the slider to the sender.

    Ok, but I left the blank space between slider and netsend because I don't know how to write the variable z that python expects. Something like "send z $1".

    posted in technical issues read more
  • atux

    Hi,

    a Python program needs to receive "z" from pd.

    In pd I generate "z" values by moving a slider.
    The Python code is already ready to receive z.

    What is the correct patch to do this?
    Thanks,
    a.
    pd2py.png
    pd2py.pd

    posted in technical issues read more
  • atux

    I found the open-source code VocalTractLab.
    It would be interesting to create some c++ libraries for pd.

    posted in patch~ read more
  • atux

    One could add consonants and make words sound. I don't know if anyone has ever developed this in pd. I think it's extremely complex. It would be very interesting, because the words could be intoned (sung). So get a sung text.
    a.

    posted in patch~ read more
  • atux

    This is a first elementary attempt at using [bonk~].
    By setting the threshold, I can isolate the kick and hihat.
    test_bonk.png
    test_bonk.pd

    posted in technical issues read more
  • atux

    Hi,
    in a patch I open a drum rhythm (kick, snare, hats) audio file (.wav).
    Is there a way to capture the pulses with bangs or numbers, even just the kick, or even better also the snare and hats separately? So capture the audio level peaks, but separately for the different instruments.

    -> pd on Linux

    Thanks,
    a.

    posted in technical issues read more
  • atux

    @jamcultur said:

    Have you set Input Devices in Audio Settings?

    JACK

    posted in technical issues read more
  • atux

    @willblackhurst said:

    this guy has a bunch of good videos on youtube.!

    Thank you.
    I copied the part I'm interested in, but when I play an audio file with a player, nothing happens.
    test01.png

    test01.pd

    posted in technical issues read more
  • atux

    Hi,
    what is the way to capture in pd the audio playing (with any player) on the computer and connect it to a level bar? (pd on linux+pipewire)
    Thanks,
    a.

    posted in technical issues read more
  • atux

    @avenir
    @jameslo
    Nice patch.
    Just one question: what is the easiest way to make the previous .wav file not stop when the next file starts? That way you would have some overlapping sounds (at most in a certain time interval all the files could play at the same time).
    Thanks,
    a.

    posted in patch~ read more
  • atux

    @whale-av said:

    [...] list-sieve

    Perfect.
    Thank you,
    a.

    posted in technical issues read more
  • atux

    I was wondering how to use [spigot] as a sieve:
    if the input number is equal to any element of list A, pass it through. Otherwise send it out another outlet.
    a.
    list_spigot.png
    list_spigot.pd

    posted in technical issues read more
  • atux

    @whale-av
    Nice. Basically [spigot] acts as a "switch" that lets the number through only when the condition imposed in the right inlet is met (in this case [== 0]).
    Thanks,
    a

    posted in technical issues read more
  • atux

    @jameslo

    OK, thanks.
    So with [stripnote] I only select note-on messages.
    I was wondering what is the way to select only note-off messages.
    a.

    posted in technical issues read more
  • atux

    Hi,

    playing with a MIDI keyboard, why does nothing appear in the number boxes under [stripnote]?
    I would like to separate the messages for when I press the key and when I release it.
    Thanks,
    a.
    stripnote.png
    stripnote.pd

    posted in technical issues read more
  • atux

    @jameslo said:

    @atux See if this works for both note on and off:
    [...]

    Perfect.
    Thank you,
    a.

    posted in technical issues read more
  • atux

    Now my problem is connecting [notein] values to [vstplugin~].
    I've tried various ways, but they don't work...
    VST_03.png
    VST_02.pd

    posted in technical issues read more
  • atux

    @jameslo said:

    @atux My installation of [vstplugin~] is fairly old, but it had this in the help file. Is this what you're looking for?

    Right, I hadn't seen it.
    It can be done like this:
    VST_2.png
    Nice.
    NOTE: does anyone know if it is possible to load also the. lv2 plugins in pd?

    Thanks,
    a.

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!