• matteosistisette

    Hi,

    Does the tabplay object consume cpu when it is not playing?

    Let's contextualize.

    I create a patch called "sample.pd" which contains:

    • a table named $0-table
    • a "tabplay $0-table" object
      -an inlet, which is connected to the tabplay, and which is expected to receive a bang
      -an outlet~ which is connected to the tabplay output

    Now I create a main patch, containing N instances of object "sample", each one with a bang connected to its inlet; finally, I connect all the "sample" objects to the same "dac~".

    Suppose that I fill in all tables with some audio data.

    My question is...

    When no tabplay is playing, or when just very few of them are playing, Is my patch consuming nearly the same amount of cpu as if all tabplay objects were playing at the same time?

    Or:
    Are the tabplay objects wasting cpu time by outputting a constant flow of zeros?
    Is this cpu usage significant?


    By the way..... what if I asked the same question about "idle" "vline~" objects which are outputting a constant 0 level? And about multiplier ("*~") objects whose left or right inlet is inputting a constant 0?

    Thanks in advance
    Bye
    Teo

    posted in technical issues read more
  • matteosistisette

    Hi,

    This is just a crazy experiment - well, dunnow if "experiment" is the word (but "crazy" certainly is). I just thought that this could be done in PD and so I did it, to check if I was wrong.

    This is... well... the old and glorious Tetris game, recreated in PD.

    And this is just standard official PD distribution with no weird externals - the "miller pucket version" downloaded from the official site.

    Here it is:
    http://puredata.org/Members/matteosistisette/tetrispatch

    Just unzip the archive, and run "tetris.pd".

    Let me know if it doesn't work - it should since I did it with the standard distribution... I suppose.

    It also have music (the classical tetris theme), though at the moment it lacks sound effects (kind of a shame isn't it).

    It is made of a lot of toggles moving around...

    I attach the zip file.
    I would love to read some comments.

    Bye
    Matteo

    http://www.pdpatchrepo.info/hurleur/pdtetris.zip

    posted in patch~ read more
  • matteosistisette

    @mnemonic said:

    you've spent way too much time on this...

    One day indeed...

    Dunnow if it was too much, but when I was going to do the score and speedup stuff, I thought that was at least *enough* ;)

    posted in patch~ read more
  • matteosistisette

    Wow, great!

    Though at the same time: Oh shit! (I mean, had I known it before...)

    Thank you so much Obiwannabe

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!