Skip to content

Conversation

samcarsonx
Copy link

@samcarsonx samcarsonx commented Nov 27, 2024

Problem

When numeric values are sent to the socket, they are parsed as strings and subsequently sent out via OSC as strings too (e.g., "5" instead of 5). This causes issues with programs like Wekinator that expect properly formatted numeric data.

Solution

This fix traverses the list of values and converts any numeric strings to floats before sending them via OSC. Fixes #26

Impact

This fundamentally changes how the program sends data. If merged, I recommend updating the version number to 0.2.2 to reflect this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

socket.emit() can only send symbols

1 participant