in reply to Re: Converting 7 & 8-bit values
in thread Converting 7 & 8-bit values

... to just keep up with one 1200 baud midi channel ...

Um. It's been several years since I played with a midi device, but back then the baud rate was 31250 bps. The number sticks in my head because a 500kHz clock with a divide-by-16 circuit produced exactly the required clock rate.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^3: Converting 7 & 8-bit values
by GrandFather (Saint) on Dec 04, 2006 at 04:24 UTC

    You may well be right. I was just going on Corion's post Re: Converting 7 & 8-bit values. That makes the code only about 100 times faster than it needs to be just to keep up and if nothing else were happening. Probably ok, but depends what else is happening and what sort of response time is required.


    DWIM is Perl's answer to Gödel
      GrandFather, That's *exactly* what I was after, and no need for Inline::C - one less dependency. And it's pretty elegant, too. For the record, the speed is well within the bounds of what's necessary: it needs to reply & respond well within a workable time, but not strictly real-time in the MIDI sense, so all is good.

      Your help is really appreciated.