[java-dev] Re: Question about qmetro and bang/jit_matrix msgs
Ben Nevile
bbn at saoul.ca
Wed Jun 20 00:33:30 MDT 2007
- Previous message: [java-dev] Re: Question about qmetro and bang/jit_matrix msgs
- Next message: [java-dev] Re: Re: Question about qmetro and bang/jit_matrix msgs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Steve, > A follow-up question would be: since the qmetro object (or perhaps the Max scheduler?) throws away the bang messages that cannot be processed, after the bang() method completes its processing after 365 ms, when should the next bang message arrive? Let's imagine that all there is in the patch is this one qmetro, and your mxj object. Here's a breakdown of what would happen: 1. (0 ms) scheduler tells qmetro it should generate a bang. qmetro outputs bang, which goes into mxj object. mxj object starts working. 2. (100 ms) scheduler tells qmetro it should generate a bang. qmetro queues the bang because the work of the previous bang has not completed. 3. (200 ms) scheduler tells qmetro it should generate a bang. qmetro queues the bang because of the work of the previous bang has not completed. this bang "usurps" the other bang in the queue - ie, there are not two bangs in the queue, there is just one. 3. (300 ms) same as #2. 4. (365 ms) mxj object finishes its work and returns. control returns to the qmetro object, which has another bang queued and ready to go. it outputs that bang immediately. qmetro's queue is now empty. Hope that helps. Feel free to ask more questions. Ben
- Previous message: [java-dev] Re: Question about qmetro and bang/jit_matrix msgs
- Next message: [java-dev] Re: Re: Question about qmetro and bang/jit_matrix msgs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
