From 1f71e8b7cd16c6692a4478d5fe2c6a6a0627fac8 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Mon, 16 Dec 2019 21:30:07 +0900 Subject: [PATCH] registered 1 more postman.. +revised 'readme' --- README.md | 32 +++++++++----- postman-monitor/src/main.cpp | 1 + puredata/piano_access_mesh.pd | 78 +++++++++++++++++++++++++++++++++-- 3 files changed, 96 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index e2c3b7e..0e2cf38 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,30 @@ -# li_li_li_li_li_li for cosmo40 performance +# crickets for cosmo40 performance ## platformio ## small IoT objects in the wireless mesh network -### forked from the repository 'darker-than-the-navel-mesh' +### wirelessly connected cloud (Wireless Mesh Networking) +### MIDI-like +### spacial +### sampler keyboard -## members +- 14 speakers (receives MIDI-like msg. AP-disabled) +- 10 or more postmans (relaying nodes. AP-enabled) +- 1 gas-tank +- 1 float -- 6 (six) speakers (behaviours: 'voice', 'fall', 'animal', etc..) -- 1 or more (one) gas-tank +- 1 osc client (Root node) <-- Puredata patch to control this. +- 1 monitor agent to monitor status of the net. -- ?? 1 (one) trunk -- ?? 1 (one) drum -- ?? 1 (one) reel-deck -- ?? 1 (one) float <=== Adafruit Huzzah : append '-e huzzah' +- 1 Pd patch receives OSC msg. over Bluetooth serial dev. (CNMAT/OSC, slip-encoded OSC) [from this proj.](https://github.com/applecargo/midi_keyboard) sends out to wired USB serial dev. (osc client) this client translates these msg. for the mesh. -- 1 conductor <=== Adafruit Huzzah : append '-e huzzah' -- (optional) a monitor +## !!NOTE!! (2019 12 16) + + - esp32 postman was added.. in yesterday's performance. + - well.. but the network became quite unstable.. it was kind of unsatisfactory. + - not sure is this esp32 injection caused this or not? + - woo... anyway this is really frustrating .. always.. + - i need a proper working-good system to build up sth. reliable. + - esp32 based mesh is better? (ESP-MESH) + - we need to find a solution ASAP. diff --git a/postman-monitor/src/main.cpp b/postman-monitor/src/main.cpp index f76601d..5135502 100644 --- a/postman-monitor/src/main.cpp +++ b/postman-monitor/src/main.cpp @@ -61,6 +61,7 @@ void register_nodes(){ registered[0xABB3B9B4] = NTYPE_POSTMAN; registered[0x2D3718AE] = NTYPE_POSTMAN; registered[0xABB3BA44] = NTYPE_POSTMAN; + registered[0xBFFD7FF1] = NTYPE_POSTMAN; registered[0x2D3745F5] = NTYPE_SAMPLER; registered[0x2218D91E] = NTYPE_SAMPLER; diff --git a/puredata/piano_access_mesh.pd b/puredata/piano_access_mesh.pd index d922b14..e8c3414 100644 --- a/puredata/piano_access_mesh.pd +++ b/puredata/piano_access_mesh.pd @@ -1,4 +1,4 @@ -#N canvas 543 23 613 538 10; +#N canvas 534 35 783 619 10; #X obj 20 126 unpackOSC; #X obj 107 18 loadbang; #X msg 147 91 devices; @@ -66,9 +66,50 @@ pollintervall 1 \, verbose 1; #X connect 7 0 8 0; #X connect 9 0 6 0; #X restore 156 222 pd midi-in; -#X obj 262 453 print; -#X obj 320 436 r NOTE; +#X obj 174 478 print; +#X obj 232 464 r NOTE; #X msg 386 203 /note/onoff \$1; +#X obj 476 492 s NOTE; +#X obj 476 446 metro 1000; +#X obj 476 424 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X text 475 394 auto play; +#X floatatom 351 178 5 0 0 0 - - -; +#X obj 466 25 loadbang; +#X msg 466 50 127; +#X text 523 73 vol. override; +#X obj 355 152 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X msg 548 227 0; +#X msg 548 206 10; +#X msg 548 185 25; +#X msg 548 164 50; +#X msg 548 123 255; +#X msg 548 103 500; +#X msg 548 143 127; +#X text 573 103 BIG; +#X text 574 227 SMALL; +#X msg 551 52 180; +#X msg 339 448 100 100 1; +#X msg 341 503 101 100 1; +#X text 350 427 gastank; +#X text 345 478 float; +#X msg 518 374 0; +#X msg 560 396 1000; +#X obj 618 487 s NOTE; +#X obj 618 441 metro 1000; +#X obj 618 419 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X floatatom 697 426 5 0 0 0 - - -; +#X text 617 389 auto play; +#X msg 660 369 0; +#X msg 702 391 1000; +#X msg 618 463 101 127 1; +#X msg 476 468 100 127 1; +#X msg 555 367 500; +#X msg 591 365 2000; +#X msg 579 341 300; +#X msg 609 321 3000; #X connect 0 0 3 0; #X connect 2 0 7 1; #X connect 3 0 12 0; @@ -97,7 +138,7 @@ pollintervall 1 \, verbose 1; #X connect 28 1 33 0; #X connect 29 0 30 0; #X connect 30 0 28 0; -#X connect 30 1 32 0; +#X connect 30 1 49 0; #X connect 30 2 24 0; #X connect 32 0 34 0; #X connect 33 0 34 0; @@ -105,3 +146,32 @@ pollintervall 1 \, verbose 1; #X connect 37 0 36 0; #X connect 39 0 38 0; #X connect 40 0 34 0; +#X connect 42 0 74 0; +#X connect 43 0 42 0; +#X connect 45 0 32 0; +#X connect 46 0 47 0; +#X connect 47 0 45 0; +#X connect 49 0 45 0; +#X connect 50 0 45 0; +#X connect 51 0 45 0; +#X connect 52 0 45 0; +#X connect 53 0 45 0; +#X connect 54 0 45 0; +#X connect 55 0 45 0; +#X connect 56 0 45 0; +#X connect 59 0 45 0; +#X connect 60 0 41 0; +#X connect 61 0 41 0; +#X connect 64 0 42 0; +#X connect 65 0 42 1; +#X connect 67 0 73 0; +#X connect 68 0 67 0; +#X connect 69 0 67 1; +#X connect 71 0 67 0; +#X connect 72 0 67 1; +#X connect 73 0 66 0; +#X connect 74 0 41 0; +#X connect 75 0 42 1; +#X connect 76 0 42 1; +#X connect 77 0 42 1; +#X connect 78 0 42 1;