Nekaj posodobitev

main
Jurij Podgoršek 2024-10-21 23:24:59 +02:00
parent 7a2d2b8d29
commit e5b5f3ab3e
7 changed files with 21 additions and 9 deletions

View File

@ -231,7 +231,6 @@ AHRSensor {
gEps, gEps,
gQr gQr
], ],
/*
[ [
StaticText().string_("quaternion: "), StaticText().string_("quaternion: "),
[StaticText().string_("w: "), align: \right], [StaticText().string_("w: "), align: \right],
@ -243,7 +242,6 @@ AHRSensor {
[StaticText().string_("z: "), align: \right], [StaticText().string_("z: "), align: \right],
gQz, gQz,
], ],
*/
[ [
[StaticText().string_("e"), align: \right], [StaticText().string_("e"), align: \right],
[gExl, columns: 2], [gExl, columns: 2],

View File

@ -0,0 +1,2 @@
(package-specification
(list liblo))

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
dev=${1:-wlp3s0} dev=${1:-wlp3s0}
oscport=${1:-57120} oscport=${1:-57120}

6
manifest.scm 100644
View File

@ -0,0 +1,6 @@
(specifications->manifest
(list "gcc-cross-avr-toolchain"
"meson"
"ninja"
"avrdude"
"python-esptool"))

View File

@ -19,9 +19,9 @@ SLIPEncodedUSBSerial SLIPSerial(Serial);
// Set your new MAC Address // Set your new MAC Address
// MAC naslov sprejemnika: 08:3A:F2:50:EF:6C // MAC naslov sprejemnika: 08:3A:F2:50:EF:6C
//uint8_t newMACAddress[] = {0x08, 0x3A, 0xF2, 0x50, 0xEF, 0x6C}; uint8_t newMACAddress[] = {0x08, 0x3A, 0xF2, 0x50, 0xEF, 0x6C};
// MAC naslov sprejemnika2: 08:3A:F2:50:EF:6D // MAC naslov sprejemnika2: 08:3A:F2:50:EF:6D
uint8_t newMACAddress[] = {0x08, 0x3A, 0xF2, 0x50, 0xEF, 0x6D}; //uint8_t newMACAddress[] = {0x08, 0x3A, 0xF2, 0x50, 0xEF, 0x6D};
// MAC naslov laptopa (linux sprejemnik) // MAC naslov laptopa (linux sprejemnik)
//uint8_t newMACAddress[] = { 0x9c, 0xb6, 0xd0, 0xc4, 0xe8, 0xb9 }; //uint8_t newMACAddress[] = { 0x9c, 0xb6, 0xd0, 0xc4, 0xe8, 0xb9 };

View File

@ -6,10 +6,15 @@
Quarks.install("https://github.com/cappelnord/OSCRecorder.git"); Quarks.install("https://github.com/cappelnord/OSCRecorder.git");
OSCRecorderGUI(); OSCRecorderGUI();
NetAddr.langPort; NetAddr.langPort;
OSCFunc.trace(true); OSCFunc.trace(true);
OSCFunc.trace(false); OSCFunc.trace(false);
Platform.userExtensionDir; // Extensions available only to your user account
"AHRSensor.sc".resolveRelative.load;
AHRSensor;
s.boot;
( (
// To send OSC // To send OSC
@ -231,7 +236,7 @@ AppClock.sched(0, {
* SOUND! * * SOUND! *
*********/ *********/
~e = Env([1, 0.2, 0]); ~e = Env([1, 1, 0.2]);
s.boot; s.boot;
{[SinOsc.ar(90), SinOsc.ar(122.3)]}.play;// * EnvGen.kr(~e, doneAction: Done.freeSelf)}.play; {SinOsc.ar(290) * EnvGen.kr(~e, doneAction: Done.freeSelf)}.play;

View File

@ -9,7 +9,8 @@ NetAddr.langPort;
**********************************/ **********************************/
( (
~simonIP = "10.42.1.2"; //~simonIP = "10.42.1.2";
~simonIP = "192.168.0.171";
~oscS = NetAddr.new(~simonIP, 57120); ~oscS = NetAddr.new(~simonIP, 57120);
OSCFunc.trace(true); // debug osc OSCFunc.trace(true); // debug osc
OSCFunc.trace(false); // debug osc OSCFunc.trace(false); // debug osc