update docs & readme
This commit is contained in:
parent
10074e197f
commit
8ae1307a17
3 changed files with 17 additions and 13 deletions
|
|
@ -1,13 +1,12 @@
|
|||
import * as dgram from 'dgram';
|
||||
import { toBuffer } from 'osc-min';
|
||||
import { OSCArgument, OSCType, OSCArgumentType } from './types';
|
||||
import { EventEmitter } from 'events';
|
||||
|
||||
/**
|
||||
* OSC Client base class, handles sending and receiving OSC messages
|
||||
* OSC Client, handles sending OSC messages
|
||||
|
||||
```
|
||||
const osc = new OSCClient("192.168.0.44", 8000)
|
||||
const osc = new OSCClient("192.168.0.44", 8000);
|
||||
```
|
||||
*/
|
||||
export class OSCClient {
|
||||
|
|
@ -27,7 +26,7 @@ export class OSCClient {
|
|||
/**
|
||||
* Send an OSC message
|
||||
```
|
||||
osc.send("/osc/url", OSCType.String, "hello")
|
||||
osc.send("/osc/url", OSCType.String, "hello");
|
||||
```
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue