Skip to content

Instantly share code, notes, and snippets.

Bundle:1584213684.9057713 [{68,
<<47,115,101,110,100,95,97,102,116,101,114,0,44,
115,105,115,105,105,105,0,108,111,99,97,108,
104,111,115,116,0,0,0,0,0,200,38,47,109,111,
100,101,108,95,100,47,110,111,116,101,95,111,
102,102,0,0,0,0,0,0,1,0,0,0,40,0,0,0,127>>}]
RealDelay: -0.06181979179382324, BundleTime: 1584213684.815771, Now: 1584213684.877591
Ignoring zero or negative sleep: -61
RealDelay: 0.028180360794067383, BundleTime: 1584213684.9057713, Now: 1584213684.877591
Sending to "localhost":51238 => ["/model_d/note_on",1,40,127]
@richcarl
richcarl / gist:2d4c301b7c5b18ba85ba8d2eb840a494
Created March 14, 2020 18:54
pi_server.erl debug output
Sending to "localhost":51238 => ["/model_d/note_on",1,88,127]
Sending to "localhost":51238 => ["/model_d/note_off",1,88,127]
Bundle:1584211965.223751 [{68,
<<47,115,101,110,100,95,97,102,116,101,114,0,44,
115,105,115,105,105,105,0,108,111,99,97,108,104,
111,115,116,0,0,0,0,0,200,38,47,109,111,100,101,
108,95,100,47,110,111,116,101,95,111,110,0,0,0,
0,0,0,0,1,0,0,0,100,0,0,0,127>>}]
Bundle:1584211965.3137512 [{68,
<<47,115,101,110,100,95,97,102,116,101,114,0,44,
live_loop :metronome do
use_real_time
sample :drum_cowbell, beat_stretch: 1, amp: 0.4
sleep 0.5
end
live_loop :midi_out do
use_real_time
mdev = "model_d"
ch = 1