DJ Visualizer Pi: standalone Node+WebSocket server with mobile PWA remote
New separate project (the Electron Mac app stays untouched). Reuses the visual engine (WebGL shaders, effect catalog, Web Audio) verbatim and replaces Electron IPC with a Node HTTP+WebSocket server: - server.js: serves the kiosk output page + mobile control PWA, relays the same ctl/rpt JSON protocol over WebSocket, plus REST for media library/upload, JSON state (pads), waveform peaks and MP4 recording (ffmpeg). - public/js/net.js: window.djv shim over WebSocket+HTTP so output.js runs intact. - public/index.html + control.js: touch-first mobile remote (effects, media/queue, ticker, pads, audio/EQ, fullscreen + recording). - PWA (manifest + service worker + generated icons). - scripts/: Chromium kiosk launcher + install-pi.sh (systemd units for Pi 5). Verified: REST endpoints, WebSocket relay both directions, control PWA loads the 2958-effect catalog and renders. (Headless WebGL output not testable without GPU.) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
commit
b94c787231
81 files changed
+23994
No files matched your search
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 482.631 482.631" xml:space="preserve">
|
||||
<path id="XMLID_601_" d="M203.051,21.428c-0.696-4.921,2.729-9.476,7.65-10.171c4.929-0.701,9.476,2.729,10.172,7.651l14.252,100.76
|
||||
c0.696,4.921-2.729,9.476-7.65,10.171c-0.428,0.061-0.853,0.09-1.272,0.09c-4.412,0-8.264-3.246-8.899-7.741L203.051,21.428z
|
||||
M440.3,55.887l-7.047,7.046c-3.515,3.515-3.515,9.213,0,12.728c3.516,3.515,9.213,3.514,12.729,0l7.046-7.046l7.045,7.046
|
||||
c1.758,1.758,4.061,2.636,6.364,2.636c2.303,0,4.606-0.879,6.364-2.636c3.515-3.515,3.515-9.213,0-12.728l-7.046-7.046l7.049-7.049
|
||||
c3.515-3.515,3.515-9.213,0-12.728c-3.516-3.516-9.213-3.515-12.729,0l-7.048,7.048l-7.048-7.048c-3.515-3.515-9.212-3.515-12.729,0
|
||||
c-3.515,3.515-3.515,9.213,0,12.728L440.3,55.887z M179.148,172.796c1.772,2.313,4.446,3.527,7.151,3.527
|
||||
c1.909,0,3.834-0.605,5.467-1.856c3.945-3.023,4.693-8.672,1.671-12.618L113.986,58.146c-3.023-3.945-8.672-4.693-12.618-1.671
|
||||
c-3.945,3.023-4.693,8.672-1.671,12.618L179.148,172.796z M31.427,88.736l2.979,2.29c1.635,1.256,3.563,1.864,5.477,1.864
|
||||
c2.7,0,5.371-1.21,7.144-3.517c3.028-3.941,2.288-9.592-1.653-12.62l-2.979-2.29c-3.943-3.03-9.593-2.289-12.62,1.652
|
||||
C26.745,80.057,27.486,85.708,31.427,88.736z M23.824,200.283c-4.927-0.656-9.452,2.813-10.104,7.74
|
||||
c-0.652,4.928,2.813,9.451,7.74,10.104l92.043,12.187c0.401,0.053,0.8,0.079,1.193,0.079c4.445,0,8.311-3.293,8.91-7.819
|
||||
c0.652-4.928-2.813-9.451-7.74-10.104L23.824,200.283z M60.765,111.286l87.485,67.234c1.635,1.256,3.563,1.864,5.478,1.864
|
||||
c2.7,0,5.37-1.21,7.143-3.516c3.029-3.941,2.29-9.592-1.651-12.621L71.734,97.014c-3.94-3.028-9.591-2.289-12.62,1.652
|
||||
C56.084,102.607,56.823,108.257,60.765,111.286z M254.329,130.775c0.411,0.056,0.818,0.083,1.222,0.083
|
||||
c4.433,0,8.294-3.276,8.906-7.792l13.785-101.633c0.669-4.925-2.783-9.46-7.708-10.128c-4.935-0.668-9.459,2.783-10.128,7.709
|
||||
l-13.785,101.633C245.953,125.573,249.405,130.107,254.329,130.775z M459.5,257.971l-123.439-16.345
|
||||
c-4.924-0.647-9.451,2.812-10.104,7.741c-0.652,4.927,2.813,9.451,7.74,10.103l123.439,16.345c0.401,0.053,0.799,0.079,1.193,0.079
|
||||
c4.444,0,8.311-3.293,8.91-7.819C467.893,263.147,464.428,258.624,459.5,257.971z M467.284,208.362
|
||||
c-0.645-4.929-5.166-8.398-10.092-7.756l-92.613,12.123c-4.929,0.645-8.401,5.164-7.756,10.092c0.593,4.533,4.461,7.833,8.912,7.833
|
||||
c0.39,0,0.783-0.025,1.18-0.077l92.613-12.123C464.457,217.809,467.93,213.291,467.284,208.362z M409.436,97.266l-87.133,66.757
|
||||
c-3.945,3.023-4.693,8.672-1.671,12.618c1.772,2.313,4.446,3.527,7.151,3.527c1.909,0,3.834-0.605,5.467-1.856l87.133-66.757
|
||||
c3.945-3.023,4.693-8.672,1.671-12.618C419.031,94.991,413.382,94.243,409.436,97.266z M385.364,49.408
|
||||
c1.636,1.258,3.565,1.867,5.48,1.867c2.699,0,5.368-1.209,7.141-3.513l0.794-1.032c3.03-3.94,2.293-9.591-1.646-12.621
|
||||
c-3.942-3.031-9.592-2.293-12.621,1.646l-0.794,1.032C380.687,40.728,381.424,46.378,385.364,49.408z M401.384,28.55
|
||||
c1.636,1.259,3.566,1.869,5.482,1.869c2.698,0,5.366-1.208,7.139-3.511l0.839-1.09c3.032-3.939,2.297-9.59-1.643-12.622
|
||||
c-3.939-3.032-9.59-2.296-12.621,1.642l-0.839,1.09C396.709,19.868,397.445,25.519,401.384,28.55z M289.749,173.939
|
||||
c1.635,1.256,3.563,1.864,5.478,1.864c2.7,0,5.371-1.21,7.143-3.516l79.145-102.985c3.029-3.941,2.289-9.592-1.651-12.621
|
||||
c-3.94-3.028-9.592-2.289-12.62,1.652l-79.145,102.985C285.069,165.26,285.808,170.911,289.749,173.939z M17.702,66.828
|
||||
c3.027-3.942,2.286-9.592-1.655-12.62l-1.564-1.202c-3.943-3.028-9.592-2.286-12.62,1.655c-3.027,3.942-2.286,9.592,1.655,12.62
|
||||
l1.564,1.202c1.635,1.255,3.563,1.863,5.476,1.863C13.259,70.346,15.93,69.135,17.702,66.828z M297.892,308.101
|
||||
c0.891,3.606-0.524,7.389-3.563,9.523c-3.039,2.136-7.075,2.185-10.167,0.124l-42.159-28.113l-45.443,28.267
|
||||
c-1.46,0.908-3.109,1.358-4.753,1.358c-1.908,0-3.811-0.605-5.405-1.804c-2.97-2.23-4.265-6.056-3.26-9.631l13.709-48.783
|
||||
l-40.925-34.483c-2.841-2.393-3.919-6.285-2.716-9.798c1.204-3.514,4.441-5.927,8.153-6.077l50.632-2.037l20.149-49.579
|
||||
c1.399-3.44,4.753-5.652,8.48-5.61c3.714,0.059,7.01,2.393,8.298,5.876l17.582,47.524l53.38,3.842
|
||||
c3.704,0.267,6.864,2.781,7.956,6.332c1.092,3.55-0.109,7.406-3.024,9.708l-39.766,31.407L297.892,308.101z M269.344,245.615
|
||||
l26.115-20.626l-36.03-2.594c-3.521-0.253-6.569-2.542-7.794-5.854l-11.548-31.211l-13.601,33.466
|
||||
c-1.329,3.271-4.448,5.462-7.977,5.604l-33.252,1.338l27.624,23.276c2.7,2.275,3.82,5.919,2.865,9.318l-9.004,32.039l30.675-19.081
|
||||
c2.997-1.865,6.809-1.805,9.747,0.154l27.688,18.463l-8.668-35.069C265.338,251.41,266.573,247.803,269.344,245.615z
|
||||
M418.249,455.292c-3.025-3.945-8.674-4.691-12.618-1.667c-3.945,3.024-4.691,8.673-1.667,12.618l1.301,1.697
|
||||
c1.772,2.312,4.445,3.525,7.149,3.525c1.91,0,3.836-0.606,5.469-1.858c3.945-3.024,4.691-8.673,1.667-12.618L418.249,455.292z
|
||||
M23.963,174.534l7.046-7.046l7.046,7.046c1.758,1.758,4.061,2.636,6.364,2.636c2.303,0,4.606-0.879,6.364-2.636
|
||||
c3.515-3.515,3.515-9.213,0-12.728l-7.047-7.047l7.048-7.048c3.515-3.515,3.515-9.213,0-12.728c-3.516-3.515-9.213-3.514-12.729,0
|
||||
l-7.047,7.047l-7.047-7.047c-3.515-3.515-9.212-3.515-12.729,0c-3.515,3.515-3.515,9.213,0,12.728l7.048,7.048l-7.047,7.047
|
||||
c-3.515,3.515-3.515,9.213,0,12.728C14.75,178.049,20.448,178.049,23.963,174.534z M400.936,432.681l-1.301-1.697
|
||||
c-3.024-3.944-8.674-4.691-12.618-1.667c-3.945,3.024-4.691,8.673-1.667,12.618l1.301,1.697c1.772,2.312,4.445,3.525,7.149,3.525
|
||||
c1.91,0,3.836-0.606,5.469-1.858C403.214,442.275,403.96,436.625,400.936,432.681z M472.948,328.563l7.048-7.048
|
||||
c3.515-3.515,3.515-9.213,0-12.728c-3.516-3.515-9.213-3.514-12.729,0l-7.047,7.047l-7.048-7.048c-3.516-3.515-9.213-3.514-12.729,0
|
||||
c-3.515,3.515-3.515,9.213,0,12.728l7.048,7.048l-7.046,7.046c-3.515,3.515-3.515,9.213,0,12.728c3.516,3.516,9.213,3.515,12.729,0
|
||||
l7.046-7.046l7.046,7.046c1.758,1.758,4.061,2.636,6.364,2.636s4.606-0.879,6.364-2.636c3.515-3.515,3.515-9.213,0-12.728
|
||||
L472.948,328.563z M420.195,364.812l-83.868-64.456c-3.94-3.028-9.591-2.289-12.62,1.652c-3.029,3.941-2.29,9.591,1.651,12.621
|
||||
l83.868,64.455c1.635,1.257,3.563,1.865,5.478,1.865c2.7,0,5.37-1.21,7.143-3.516C424.875,373.491,424.136,367.841,420.195,364.812z
|
||||
M336.515,348.599c-3.024-3.946-8.672-4.694-12.618-1.67c-3.945,3.023-4.693,8.672-1.671,12.618l44.748,58.406
|
||||
c1.772,2.313,4.446,3.527,7.151,3.527c1.909,0,3.834-0.605,5.467-1.856c3.945-3.023,4.693-8.672,1.671-12.618L336.515,348.599z
|
||||
M157.584,301.559c-3.023-3.945-8.672-4.694-12.618-1.67l-84.39,64.655c-3.945,3.023-4.693,8.672-1.671,12.618
|
||||
c1.772,2.313,4.446,3.527,7.151,3.527c1.909,0,3.834-0.605,5.467-1.856l84.39-64.655
|
||||
C159.859,311.154,160.607,305.505,157.584,301.559z M66.099,420.777c-3.515-3.515-9.213-3.515-12.728,0l-7.049,7.048l-7.047-7.047
|
||||
c-3.516-3.515-9.213-3.515-12.729,0c-3.515,3.515-3.515,9.213,0,12.728l7.047,7.047l-7.046,7.046
|
||||
c-3.516,3.515-3.516,9.213-0.001,12.728s9.213,3.515,12.728,0l7.048-7.047l7.046,7.046c1.758,1.757,4.061,2.636,6.364,2.636
|
||||
s4.606-0.879,6.364-2.636c3.515-3.515,3.515-9.213,0-12.728l-7.046-7.046l7.047-7.047C69.614,429.991,69.614,424.292,66.099,420.777
|
||||
z M154.15,249.349c-0.645-4.929-5.181-8.395-10.092-7.756L21.432,257.644c-4.929,0.645-8.401,5.164-7.756,10.092
|
||||
c0.593,4.533,4.461,7.833,8.912,7.833c0.39,0,0.784-0.025,1.18-0.077l122.626-16.051
|
||||
C151.323,258.795,154.795,254.277,154.15,249.349z M264.457,354.891c-0.668-4.926-5.215-8.375-10.128-7.709
|
||||
c-4.925,0.668-8.376,5.203-7.708,10.128l13.785,101.633c0.612,4.516,4.473,7.792,8.906,7.792c0.403,0,0.812-0.027,1.222-0.083
|
||||
c4.925-0.668,8.377-5.203,7.708-10.128L264.457,354.891z M227.475,348.119c-4.913-0.697-9.476,2.729-10.172,7.651l-14.252,100.758
|
||||
c-0.696,4.922,2.729,9.476,7.65,10.172c0.428,0.061,0.853,0.09,1.272,0.09c4.411,0,8.264-3.247,8.899-7.74l14.252-100.759
|
||||
C235.822,353.369,232.396,348.814,227.475,348.119z M156.898,346.807c-3.94-3.028-9.593-2.289-12.62,1.652l-44.832,58.336
|
||||
c-3.029,3.941-2.289,9.592,1.651,12.621c1.635,1.256,3.563,1.864,5.478,1.864c2.7,0,5.371-1.21,7.143-3.516l44.832-58.336
|
||||
C161.578,355.486,160.839,349.836,156.898,346.807z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.0 KiB |
Reference in new issue
Block a user