megaTinyCore and OSC #1206
Replies: 4 comments 1 reply
-
What is OSC?? |
Beta Was this translation helpful? Give feedback.
-
[Open Sound Control](https://mct-master.github.io/networked-music/2024/03/17/thomaseo-intro_to_OSC.html) kind of a massaging protocol between different mediums, indeed, primarily made for sound devices, however, it goes beyond…
|
Beta Was this translation helpful? Give feedback.
-
It's unclear what you are trying to do. What specific OSC device are you trying to talk to? And you are also wanting to talk to a machine running processing at the same time? OSC can be done over serial, if the device supports that, but it is commonly done over Ethernet, not something I would recommend trying to do with a ATtiny. You might be able to with a wiznet using SPI, but not worth the effort. Grab an Arduino with Ethernet or a Teensy 4.1 + ethernet. |
Beta Was this translation helpful? Give feedback.
-
Its much easier than it sounds.I am trying to draw in Processing, namely via reading the data with a tiny and two sensors.Did try the serial and works OKish. For example, here I am wondering why most cases are transferring data via string. Like Serial.println(value); Have a look at the working example: https://www.arduino.cc/education/visualization-with-arduino-and-processing/indeed, if OSC is also working via serial there is no need to go after it. It should be as well possible to do it via serial. For example, I am getting 16bit values from the sensors, which also two 8bits right? How would somebody go around that and transfer such values via serial, apparently serial is 8bit, more here https://forum.processing.org/one/topic/read-a-16-bit-data-from-serial.htmlI guess this should as well work via megaTinyCore.Best.On 17 Feb 2025, at 02:08, Mechatroniks ***@***.***> wrote:
It's unclear what you are trying to do. What specific OSC device are you trying to talk to? And you are also wanting to talk to a machine running processing at the same time?
OSC can be done over serial, if the device supports that, but it is commonly done over Ethernet, not something I would recommend trying to do with a ATtiny. You might be able to with a wiznet using SPI, but not worth the effort. Grab an Arduino with Ethernet or a Teensy 4.1 + ethernet.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello all,
I would like to draw basic lines with the Processing , so, the idea is to bring the sensor data from the tiny that is reading the sensor back to the computer and draw! Obviously the data from tiny will have to be read via the RX/TX, namely Serial, however, how to move to the OSC from here is above me.
So far I am using the Serial.print() and works when reading with a basic reader, like CoolTerm, haave tried to use the Serial as well with the Processing, worked as well, but was too slow, not sure, if I was using it wrongly?
However, started to think about the OSC.
There is a lib for Arduino, actually several, however, I am not sure, is this the right way to go? Will it work via the megaTineyCore?
Eitherway, why would not serial be fast enough is above me, anyway, OSC seems to be fast and there is as well support for Processing.
Any ideas, examples, are more than welcome!
Best.
Beta Was this translation helpful? Give feedback.
All reactions