• ech2

    Cool, thanks for the info Nicolas!

    posted in extra~ read more
  • ech2

    Here're two untested (!) patches.

    This one ensures that no more than one message is passed in $1 milliseconds:

    1.png

    The second one reschedules a list that came in the middle of the $1 ms “rest” period.

    2.png

    Edit: I think they should work for any data type, not just for bangs.

    posted in technical issues read more
  • ech2

    Great idea, thanks @nicolas-danet!

    Just curious, does the symbol table in Pd get cleared up somehow? E.g. if I decide to just dump my data types as symbols that are then passed over the patch — will this be a memory leak? :)

    posted in extra~ read more
  • ech2

    Hey folks,

    I've been thinking about implementing a small library with custom data types. Let's say it's a matrix type that's allocated on the heap. I want to pass it around using messages, so, IIUC, I need to use A_POINTER type. Is there a way to know that this atom that I created is no longer needed/referenced anywhere? I lurked the Pd sources for a while but wasn't able to find anything relevant.

    Is it possible to implement a reference counting system for a custom data type in Pd? Do you know if anyone has already done this before? How can this be implemented?

    Thanks,
    Eugene

    posted in extra~ read more
Internal error.

Oops! Looks like something went wrong!