Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-noise-gang, 2016-06-02

| Channels | #perl6-noise-gang index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
06:44 RabidGravy joined #perl6-noise-gang
15:04 edehont joined #perl6-noise-gang
17:12 edehont joined #perl6-noise-gang
20:24 timotimo help
20:25 timotimo pmdefaults is failing because elfclass64 is the wrong elfclass to load the so file? ;_;
20:26 timotimo what the fuck
20:26 timotimo my java is 32bit
20:28 RabidGravy er
20:30 RabidGravy but the .so file is 64
20:30 RabidGravy that's odd
20:32 timotimo looks like i've manually installed an oracle jdk manually
20:33 timotimo and i must have accidentally used the 32bit version
20:34 timotimo still no clue why i can't read from a midi device without stuff blocking
20:38 timotimo hum.
20:39 timotimo there's only two threads
20:39 timotimo both are waiting to shift() from a ConcBlockingQueue
20:39 timotimo different queues, apparently. maybe one is waiting for more start blocks to be queued or something
20:39 timotimo but how is it supposed to receive midi events now?
20:51 timotimo have you ever received data over portmidi?
20:53 timotimo i put a breakpoint into Pm_Poll, but it never gets hit
20:55 timotimo so, someone explain this to me?
21:03 timotimo Type check failed in binding $stream; expected Audio::PortMIDI::StreamPointer but got NativeCall::Types::CArray[Audio::PortMIDI::StreamPointer] (NativeCall::Types::CA...)
21:03 RabidGravy dunno, I've definitely read data from it
21:04 timotimo that's why
21:04 timotimo the way it gets called wouldn't ever work like that
21:04 timotimo and there was no CATCH in the event thread
21:04 timotimo so it just crashed
21:04 timotimo because for some reason the unhandled exception handler didn't do anything
21:04 RabidGravy :-\
21:05 timotimo Pm_Read is also b0rked in the exact same way
21:06 timotimo may want $.ptr[0] in those places
21:06 timotimo in order to not make it lock up, the CATCH should be sure to send the error in question through the result channel, too
21:07 RabidGravy well it definitely did work
21:08 timotimo i get events now \o/
21:08 RabidGravy better push that :)
21:08 timotimo but it's not complete
21:09 timotimo because other places are still just passing $.ptr around when the simple value in it is supposed to be used
21:10 timotimo at least some other places
21:12 RabidGravy yeah, the https://github.com/Perl6-Noise-Gang/Audio-PortMIDI/commit/8e17c59b74097bea39c4b860b0892617973e727d
21:12 RabidGravy seems to put them all in
21:13 timotimo wait
21:13 timotimo https://github.com/Perl6-Noise-Gang/Audio-PortMIDI/blob/master/lib/Audio/PortMIDI.pm#L937
21:14 timotimo what about this one, for example?
21:14 timotimo that's one i stumbled upon here
21:16 RabidGravy ah https://github.com/Perl6-Noise-Gang/Audio-PortMIDI/commit/f12e682b28dee29ff74f7e03acfaaf01ef739685#diff-df0c75bbca5de631b3b8c38d4129257fL934
21:16 timotimo ayup.
21:16 timotimo good grief.
21:16 timotimo it took me ages to stumble upon this
21:17 timotimo do you want to do the honors of the commit?
21:17 RabidGravy naughty psch
21:17 RabidGravy yeah
21:17 RabidGravy I'll look at some tests in the morning
21:18 timotimo cool, thanks
21:22 timotimo it looks like when i send the equivalent ControlChange messages to my alesis that it sends to me when i activate/deactivate the matrix of buttons, it doesn't light them up :(
21:32 RabidGravy this is entirely possible, it may not even understand that CC
21:48 timotimo grrr
21:54 timotimo do you know if there's some kind of standard for feedback on such knobs and panels and such?
21:54 timotimo making stuff light up, moving motor faders, stuff like that
21:58 timotimo yay, program change messages make qsynth change what instrument i have!
22:02 RabidGravy there isn't a standard no.  The documentation of the device may have a midi implementation table which shows what it sends and what it understands
22:07 timotimo hmmm
22:07 timotimo well, with the editor program you can change basically everything ever
22:07 RabidGravy well there's a sort of de facto standard https://en.wikipedia.org/wiki/HUI_MIDI_mapping_protocol but that only works for certain types of things
22:08 timotimo the user manual isn't saying much
22:10 RabidGravy boo
22:10 RabidGravy anyhow I've got to sleep
22:10 RabidGravy toodles
22:11 timotimo gnite gravy

| Channels | #perl6-noise-gang index | Today | | Search | Google Search | Plain-Text | summary