Skip to content

Commit

Permalink
changed ambi message structure
Browse files Browse the repository at this point in the history
  • Loading branch information
IASpaceAdmin committed May 31, 2021
1 parent 67acfd8 commit 4d14129
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NatNetThree2OSC 8.5.0
NatNetThree2OSC 8.6.0
===================================


Expand Down Expand Up @@ -102,7 +102,7 @@ upon streaming, the following messages are sent depending on the OSC Mode

#### Ambisonics: OSC MODE = ambi

+ /icst/ambi/sourceindex/xyz \<rigidbodyID> \<x> \<y> \<z>
+ /icst/ambi/source/xyz \<rigidbodyName> \<x> \<y> \<z>

in this mode **no** frame messages are sent.

Expand Down
6 changes: 3 additions & 3 deletions source/NatNetThree2OSC/NatNetThree2OSC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ static void Run(Options opts)
mMatrix = opts.mMatrix;
mInvMatrix = opts.mInvMatrix;

Console.WriteLine("\n---- NatNetThree2OSC v. 8.5.0 ----");
Console.WriteLine("\n---- 20210504 by maybites ----");
Console.WriteLine("\n---- NatNetThree2OSC v. 8.6.0 ----");
Console.WriteLine("\n---- 20210531 by maybites ----");

Console.WriteLine("\nNatNetThree2OSC");
Console.WriteLine("\t oscSendIP = \t\t({0:N3})", opts.mStrOscSendIP);
Expand Down Expand Up @@ -663,7 +663,7 @@ static void processFrameData(NatNetML.FrameOfMocapData data, List<OscMessage> bu
{
if (mOscModeAmbi)
{
message = new OscMessage("/icst/ambi/sourceindex/xyz", rb.ID, pxt, pyt, pzt);
message = new OscMessage("/icst/ambi/source/xyz", rb.Name, pxt, pyt, pzt);
bundle.Add(message);
}
if (mOscModeMax)
Expand Down

0 comments on commit 4d14129

Please sign in to comment.