Skip to content

OSC (Open Sound Control) for C++ using Qt (Mugen implementation)

License

Notifications You must be signed in to change notification settings

MugenSAS/osc-cpp-qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osc-cpp-qt

OSC (Open Sound Control) library for C++ using Qt

This library is dedicated to writing or read osc messages.

Writing Messages

	OscMessageComposer msg( "/the/osc/address");
    msg.pushBool( true );
	msg.pushInt32( 99 );
    QByteArray* formattedMsg = msg.getBytes();

Reading Messages

	OscReader reader(rawMessage);
	OscMessage* msg = reader.getMessage();
	
	QString address = msg->getAddress();	// Get the message address
	bool myBool = msg->getValue( 0 ).toBoolean();
	int myInt = msg->getValue( 1 ).toInteger();
	
	delete msg;	

Tests

Current osc.test.pro is using GoogleTest library. It is available at GoogleTest

About

OSC (Open Sound Control) for C++ using Qt (Mugen implementation)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published