vivid-0.2.0.3: Sound synthesis with SuperCollider

Safe HaskellNone
LanguageHaskell98
Extensions
  • ScopedTypeVariables
  • OverloadedStrings
  • ViewPatterns
  • ExplicitForAll
  • LambdaCase

Vivid.OSC

Description

You probably don't need to use this directly

Representation of Open Sound Control data

Synopsis

Documentation

data OSC Source #

An OSC message, e.g.

OSC "/n_free" [OSC_I 42]

Constructors

OSC ByteString [OSCDatum] 

Instances

Eq OSC Source # 

Methods

(==) :: OSC -> OSC -> Bool #

(/=) :: OSC -> OSC -> Bool #

Ord OSC Source # 

Methods

compare :: OSC -> OSC -> Ordering #

(<) :: OSC -> OSC -> Bool #

(<=) :: OSC -> OSC -> Bool #

(>) :: OSC -> OSC -> Bool #

(>=) :: OSC -> OSC -> Bool #

max :: OSC -> OSC -> OSC #

min :: OSC -> OSC -> OSC #

Read OSC Source # 
Show OSC Source # 

Methods

showsPrec :: Int -> OSC -> ShowS #

show :: OSC -> String #

showList :: [OSC] -> ShowS #

encodeOSCBundles :: [OSCBundle] -> ByteString Source #

Encode OSC bundles, specifically for NRT synthesis. (It's more than just "mconcat . map encodeOSCBundle").

Note also that the last action is when the song ends - so if you want e.g. a note to hold at the end you need to add a "wait"