Re: [racket-dev] RtMidi library for Racket?

2014-09-26 Thread Marc Burns
Here you go: https://github.com/m4burns/racket-rtmidi This isn't yet a Racket package and doesn't yet have documentation. There is an illustrative example, though. On Fri, Sep 26, 2014 at 12:29:57PM +0300, Antti Karttunen wrote: > On Fri, Sep 26, 2014 at 11:30 AM, Marc Burns wr

Re: [racket-dev] RtMidi library for Racket?

2014-09-26 Thread Marc Burns
I have a set of RtMidi bindings for Racket. They work well on Linux, OSX, and Windows. I will clean them up tomorrow and publish a package. On Fri, Sep 26, 2014 at 10:05:14AM +0300, Antti Karttunen wrote: > On Fri, Sep 26, 2014 at 1:30 AM, John Clements > wrote: > > > This looks really interesti

Re: [racket-dev] BUG: busy-waiting

2014-09-04 Thread Marc Burns
Confirm, I'm having a very similar issue. I haven't run gdb yet but I would bet several horses on my code running through scheme_block_until near the busy wait. I will try to get a minimal example together after I get out of meetings for the day. Cheers > On Sep 3, 2014, at 16:52, Jan Dvořák

Re: [racket-dev] BUG: busy-waiting

2014-09-03 Thread Marc Burns
-output-bytes)) > > > > At Wed, 3 Sep 2014 21:02:06 -0400, Marc Burns wrote: > > The offending function in my case seems to be peek-bytes-avail! > > > > The busy wait is entered on line 284 of

Re: [racket-dev] BUG: busy-waiting

2014-09-03 Thread Marc Burns
The offending function in my case seems to be peek-bytes-avail! The busy wait is entered on line 284 of collects/file/gunzip.rkt. Here's what happens when I add some tracing to gunzip.rkt and then try to inflate a Racket pipe: ... + (displayln "before read-bytes!") (read-byt