-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6fe3a6b
commit 9e24bb9
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
using SharpOSC; | ||
|
||
namespace Edt_2000_OSCGenerator | ||
{ | ||
class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
UDPSender sender = new UDPSender("10.0.0.200", 12345); | ||
int messages = 0; | ||
|
||
while(true) | ||
{ | ||
Console.WriteLine("Message send!"); | ||
|
||
OscMessage message = new OscMessage("/Test", 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, ++messages); | ||
|
||
sender.Send(message); | ||
} | ||
} | ||
} | ||
} |