Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-noise-gang, 2016-08-09

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

All times shown according to UTC.

Time Nick Message
01:48 ilbot3 joined #perl6-noise-gang
07:32 RabidGravy joined #perl6-noise-gang
11:10 edehont joined #perl6-noise-gang
14:05 mr-foobar joined #perl6-noise-gang
17:21 mr-foobar hi all.
17:22 mr-foobar I am trying to run https://github.com/Perl6-Noise-Gang/Audio-PortMIDI/blob/master/examples/show-devices on Mac OSX.
17:22 mr-foobar I am getting Cannot locate native library 'libportmidi.0.dylib': dlopen(libportmidi.0.dylib, 1): image not found
17:22 timotimo what's the file called on your machine?
17:23 mr-foobar bar.pl6
17:24 timotimo no, i mean the dylib you got from portmidi
17:27 mr-foobar hmm I did do brew install portmidi. can't seem to locate it.
17:28 mr-foobar the path of the library is definitely in /usr/local/Cellar/portmidi/217/lib/libportmidi.dylib
17:28 timotimo oh, it doesn't have a .0
17:28 mr-foobar where does panda install the modules ?
17:29 mr-foobar I'll try to change the path inside the code and check.
17:29 timotimo they are installed into a database-like thing
17:29 timotimo it'd be better to git clone the Audio-PortMIDI into your filesystem, change the stuff there, and install it
17:29 timotimo installed code is supposed to be immutable
17:29 timotimo we currently don't enforce that, though
17:29 mr-foobar cool. once I git clone, what command do I run ?
17:30 mr-foobar perl Makefile.PL ?
17:30 timotimo "panda install ."
17:30 mr-foobar sweet.
17:31 mr-foobar I actually want to give https://github.com/Perl6-Noise-Gang/perl6-Audio-MIDI-Note a try.
17:31 mr-foobar If I do panda install . will I find code of Audio::Portmidi within the current directory ?
17:31 timotimo yes
17:32 timotimo the current folder must have the meta.info file in it
17:34 mr-foobar I am getting Audio::MIDI::Note:ver<1.001001>:auth<>:api<> already installed
17:34 mr-foobar just cloned.
17:34 timotimo ah, yes, you have to --force
17:35 mr-foobar sweet. installed.
17:35 * mr-foobar meddles
17:40 mr-foobar this line seems to be it `constant LIB = ('portmidi',v0)`
17:40 mr-foobar is there a way I can hardcode the path to my localpath ?
17:40 timotimo first try removing the parenthesis and the ,v0
17:42 mr-foobar the example works !
17:43 mr-foobar now time to send some midi.
17:52 mr-foobar it works ! got an 808 beat running with fluidsynth.
17:53 mr-foobar is there a live coding environment for perl6 ?
18:43 mr-foobar joined #perl6-noise-gang
19:06 mr-foobar alright made a loop https://soundcloud.com/mr-foobar/808-loop
19:08 timotimo neat :)
19:08 mr-foobar did a quick search. seems there are no live coding envs for perl6. will see if I can put one together.
19:08 timotimo cool :)
19:08 timotimo i've got a livecoding-like thing for cairo
19:08 timotimo but it's extremely bare-bones
19:10 mr-foobar timotimo: how did you approach it ?
19:10 timotimo gimme a sec
19:11 mr-foobar I am thinking a stupid filewatcher will do which loops over the tempo beat.
19:11 timotimo https://github.com/timo/gtk_cairo_shooter/blob/master/livecoding.p6
19:17 mr-foobar sweet.
19:23 timotimo AFK for maybe an hour
21:26 RabidGravy boom!
21:29 mr-foobar about to sleep. will try and resume https://gist.github.com/21613554f54784f45078c026cd47a5fe tomorrow.
21:42 timotimo thanks for sharing :)

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