Liking cljdoc? Tell your friends :D

overtone.osc.util


BUFFER-SIZEclj


contains-pattern-match-chars?clj

(contains-pattern-match-chars? str)

Returns true if str contains any pattern-match characters

Returns true if str contains any pattern-match characters
raw docstring

mk-osc-bundleclj

(mk-osc-bundle timestamp items)

Create an osc bundle. Throws exceptions if the timestamp and items aren't the correct types (number and list respectively).

Create an osc bundle. Throws exceptions if the timestamp and items aren't the
correct types (number and list respectively).
raw docstring

mk-osc-msgclj

(mk-osc-msg path type-tag & args)

Create an OSC message

An OSC message consists of:

  • a path prefixed with /
  • a type tag prefixed with , (the , isn't stored in the map)
  • 0 or more args (where the number of args equals the number of types in the type tag
Create an OSC message

An OSC message consists of:
* a path prefixed with /
* a type tag prefixed with , (the , isn't stored in the map)
* 0 or more args (where the number of args equals the number of types
  in the type tag
raw docstring

osc-bundle?clj

(osc-bundle? obj)

Returns true if obj is an OSC Bundle

Returns true if obj is an OSC Bundle
raw docstring

osc-debug*clj


osc-msg-infer-typesclj

(osc-msg-infer-types path & args)

Returns an OSC message. Infers the types of the args.

Returns an OSC message.  Infers the types of the args.
raw docstring

osc-msg?clj

(osc-msg? obj)

Returns true if obj is an OSC message

Returns true if obj is an OSC message
raw docstring

OSC-SEND-Q-SIZEclj


OSC-TIMETAG-NOWclj


osc-type-tagclj

(osc-type-tag args)

Generate a type tag for the argument list args. Each arg in args should be one of the following specific types and the type tag will consist of a series of consecutive chars representing the type of each arg in sequence.

For example, an arg list of a string then three ints will generate a type tag of "siii"

OSC Data Types: int => i

  • 32-bit big-endort an two's complement integer

long => h

  • 64-bit big-endian two's complement integer

float => f

  • 32-bit big-endian IEEE 754 floating point number

string => s

  • A sequence of non-null ASCII characters followed by a null, followed by 0-3 additional null characters to make the total number of bits a multiple of 32.

blob => b

  • An int32 size count, followed by that many 8-bit bytes of arbitrary binary data, followed by 0-3 additional zero bytes to make the total number of bits a multiple of 32.

OSC-timetag

  • 64-bit big-endian fixed-point timestamp
Generate a type tag for the argument list args. Each arg in args should be
one of the following specific types and the type tag will consist of a series
of consecutive chars representing the type of each arg in sequence.

For example, an arg list of a string then three ints will generate a type tag
of "siii"

OSC Data Types:
int => i
 * 32-bit big-endort an two's complement integer

long => h
 * 64-bit big-endian two's complement integer

float => f
 * 32-bit big-endian IEEE 754 floating point number

string => s
 * A sequence of non-null ASCII characters followed by a null, followed by 0-3
   additional null characters to make the total number of bits a multiple of
   32.

blob => b
 * An int32 size count, followed by that many 8-bit bytes of arbitrary binary
   data, followed by 0-3 additional zero bytes to make the total number of
   bits a multiple of 32.

OSC-timetag
 * 64-bit big-endian fixed-point timestamp
raw docstring

PADclj


PATTERN-MATCH-CHARSclj


(print-debug & msgs)

SEND-LOOP-TIMEOUTclj


split-pathclj

(split-path path)

Takes an osc path and splits it to a seq of names (split-path "/foo/bar/baz") ;=> ["foo" "bar" "baz"]

Takes an osc path and splits it to a seq of names
(split-path "/foo/bar/baz") ;=> ["foo" "bar" "baz"]
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close