• atux

    @schitz

    A few days ago I had a similar problem with fractions in [expr].
    I solved it by writing in the form 1./3. instead of 1/3
    division.jpg
    division.pd

    posted in technical issues read more
  • atux

    @ingox

    Hello

    I have analyzed your two patches, disassembling and reassembling them.
    The [list store] object is really very useful. Now it's all pretty clear, the advice to send the [print] output of the various steps is essential to understand how this works.
    So I rebuilt a new patch with a subpatch inside to create a message where accumulate the extracted values ​​so that the list increases dynamically.

    list_04.pd

    EDIT:
    Here a version of the same patch without [counter] object:
    list_04_bis.pd

    Thank you,

    a.

    posted in technical issues read more
  • atux

    Hello,

    in this patch there are three numerical lists that are merged into a single list, from which are extracted the values in a numeric box, one by one every second.
    Everything works fine, except that the extraction of the singles values one by one ​​only works if I go to edit mode and I move slightly the "Three lists merged" list, then the extraction starts correctly. If I reset and merge the lists again, the problem returns.
    Why?

    list_01.pd

    Thanks,

    a.

    posted in technical issues read more
  • atux

    @ingox said:

    @atux goto.pd ;)

    It works perfectly, so the problem is solved.
    Thank you.

    a.

    P.S. In general I have to understand the logic of the $, for example if for exercise I want to insert the output in a number box, I see that it is not enough to simply connect it, but a message [$ 1( must be put , like this:

    goto_2.pd

    goto_2.jpg

    posted in technical issues read more
  • atux

    @atux said:

    @whale-av said:

    @atux You need to look at the help file for [seq].
    [...]
    There is also a message [goto(
    [...]
    .

    using |pause( and |continue( it work fine.
    Instead using |goto( for now nothing happens. For example the file lasts 90 sec, I put as argument 20000 ms: it should start from t = 20s, but nothing happens.

    Now I understand why using [seq] nothing happens with [goto 20000( ....the argument must be in * seconds * and not in * milliseconds *... :laughing:
    So to start at t=20 seconds, it must be put [goto 20(.
    Now the "goto" in the patch should work.

    I have a question: I'm trying to figure out if the message argument [goto( can be used as a variable, in order to handle it numerically, for example by scrolling a number box, anyone have any ideas to do this?

    Thanks
    a

    midifile_03.pd
    midifile_03.jpg

    posted in technical issues read more
  • atux

    @ingox said:

    @atux Another way could be to use [midifile] which can be installed via Help -> Find externals...

    Thanks,

    I finally succeeded with [midifile] in mrpeach library.
    Opening midifile-help, in [pd midifile_read] I saw that you can go to the desired time of the midi file, as I was asking.
    But... there is a problem in playing midi files, often they are played in a distorted way, for example with continuous repetitions of already played notes (clusters are generated) or some multitrack files do not play all the tracks (even if I set option -1).
    If anyone wants to try playing various types of midi files, for now I'm trying to figure out what the problem may be.

    Bye,

    a.

    posted in technical issues read more
  • atux

    @whale-av

    Thanks, the "list-abs" library is great.
    With [list-sieve] I can do what I was looking for (look below)

    @bocanegra

    In this way I can use even very large sets, without making too many connections, as I should do in [select] instead.

    Bye,
    a.

    select_02.pd

    select_02.jpg

    posted in technical issues read more
  • atux

    Hello,

    in this patch, scrolling the number box, I can match number 8 so that a bang left is sent, otherwise bang right.

    But how do I match the values ​​of the set (11,13,17,23,31) ?
    So that when it match any of these numbers, always send a left bang.

    Thanks,
    a

    select_01.pd

    select_01.jpg

    posted in technical issues read more
  • atux

    @whale-av

    Thank you,

    I see that the image you put is an example of cyclone, which I put here:

    seq-test.pd

    Trying it out, I now see that... |delay( ...delays the start of a certain time, it works fine. For example by setting 2000, the file is played * from the beginning * after 2 seconds of silence.
    Instead, I'm looking for a way to play a midi file immediately at the time I want.
    Maybe... |goto( ...is the correct command to do this, but for now it doesn't work for me.

    @ingox
    Did you mean $1? Anyway in my patch I tried them both, nothing happens.

    a.

    posted in technical issues read more
  • atux

    @whale-av said:

    @ingox That is different!
    It looks at least as though [delay( will allow starting at a determined time (also requested)..... so a timer could be used to determine the time play was stopped.......... and effectively allow the user to pause playback.
    David.

    Even in this way the buttons "play", "stop", "pause", and "continue" works fine. But with "delay" nothing happens.

    midifile_02.pd

    midifile_02.jpg

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!