• atux

    Hi,

    how do I plot points from an array?
    For example, from this array (where zeros do not correspond to any points):
    a1.png
    get a graph like this:
    a2.png
    I can do it directly in puredata or using GEM, it doesn't matter.

    Thank you,
    a.

    posted in pixel# read more
  • atux

    Hi,

    what methods are there to plot points in puredata (with or without GEM) by importing their coordinates (x,y) from a text file in txt or csv format?

    In what form should the coordinates be written in the txt file?
    Are there any examples?
    [pd 0.54.0 on Linux]

    Thank you,
    a.

    EDIT:
    I realized now that it was probably better to write this post in "pixel#"... if you want you can move it...sorry.

    posted in technical issues read more
  • atux

    @oid said:

    @atux It is easy to get fixated on [list store] with all of its features, some things are easier to do with the other list objects.

    Nice, very interesting.
    Thank you,

    a.

    posted in technical issues read more
  • atux

    @manuels said:

    @atux You can use [list store] for that. It takes messages like [get 1 3( to output a sublist of three items starting with the first item of the list. Take a look at the help file to find out how it works in detail.

    Thanks, so it's like this:
    list_2.png
    list_2.pd

    The only problem is that it is not circular, i.e. for example, executing [get 5 3( I would like it to extract [88 9 1(, but it doesn't work.

    Thank you,
    a.

    posted in technical issues read more
  • atux

    Hi,

    here I can extract one element at a time:
    list.png
    But if I want to extract three consecutive elements into a list, for example the 3rd, 4th and 5th:
    list2.png
    how do I do it?

    (Generalizing: extract a list of 3 consecutive elements in position i-1, i, i+1)
    list.pd

    Thank you,
    a.

    posted in technical issues read more
  • atux

    @alexandros said:

    Not sure, but I guess you should have openFrameworks installed, which has a script to install dependencies. Do you have those? These scripts should also be available in Ofelia, in scripts/ubuntu.

    Hi,
    yes, previously I followed the procedure step by step as written here:

    https://openframeworks.cc/setup/linux-install/

    a.

    posted in pixel# read more
  • atux

    Hi,

    I wanted to try Ofelia, so in Pd 0.54.0 on Ubuntu 22.04 I installed Ofelia v4.0.0 (via "Find externals").
    In "Preferences" I entered the correct paths.
    When I open a patch that uses Ofelia, I get these errors:

    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -k $0-main
    ... couldn't create
    #A: no such object 
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -c11 -k $0-setMatrix2
    ... couldn't create
    array: no method for '__set'
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -k $0-getCopyArray
    ... couldn't create
    array: no method for '__set'
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -c11 -k $0-setMatrix
    ... couldn't create
    array: no method for '__set'
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -k $0-getArray
    ... couldn't create
    array: no method for '__set'
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -k $0-conway
    ... couldn't create
    array: no method for '__set'
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -k $0-lCells
    ... couldn't create
    array: no method for '__set'
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    /home/a/Pd/externals/ofelia/ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory
    ofelia d -k $0-dCells
    ... couldn't create
    array: no method for '__set'
    

    It seems the problem is libglew, maybe it's a version issue.
    On my computer, libglew is already installed (via Synaptic):

    libglew.png

    What can I do?
    Do you have a direct link to a version of Ofelia that works on my system?
    [Pd 0.54.0 on Ubuntu 22.04]

    Thank you,
    a.

    posted in pixel# read more
  • atux

    Hi,
    what is currently the best patch to simulate a Loop Station with Pure Data by playing with the MIDI keyboard in multiple channels?
    I would like it to automatically do real-time quantization while recording (or align the notes immediately after recording them), so as to record the audio directly.
    [Pd 0.54.0 on Linux]

    Thank you,
    a.

    posted in patch~ read more
  • atux

    @oid said:

    [else/keymap]

    [else/keymap] works fine, but occasionally gets stuck at 127 (doesn't go back to 0)

    a.

    posted in technical issues read more
  • atux

    @oid said:

    @atux Could you imagine typing jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj if you had to hit 'j' every single time? Would be rather tedious. Computer keyboards repeat when a key is held down which is defined by the system and pd respects.

    So I have to find a way for it to stay on 1 until the key is released.
    [I thought that object simulated the key of a midi keyboard, at least in terms of note-on and note-off]
    Thank you,
    a.

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!