Skip to content

Commit

Permalink
Document extended types
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgranstrom committed Sep 16, 2020
1 parent 547dda1 commit be2858c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -32,6 +32,7 @@ osc-js is an [Open Sound Control](http://opensoundcontrol.org/) library for Java
- Featuring all [OSC 1.0 specifications](http://opensoundcontrol.org/spec-1_0)
- OSC Address pattern matching
- Time-critical OSC Bundles with Timetags
- Extended (nonstandard) argument types

## Documentation

Expand Down
15 changes: 15 additions & 0 deletions src/message.js
Expand Up @@ -16,6 +16,21 @@ import AtomicString from './atomic/string'

/**
* A TypedMessage consists of an OSC address and an optional array of typed OSC arguments.
*
* ## Supported types
*
* - `i` - int32
* - `f` - float32
* - `s` - string
* - `b` - blob
* - `h` - int64
* - `t` - uint64
* - `d` - double
* - `T` - True (no argument data)
* - `F` - False (no argument data)
* - `N` - Nil (no argument data)
* - `I` - Infinitum (no argument data)
*
*/
export class TypedMessage {
/**
Expand Down

0 comments on commit be2858c

Please sign in to comment.