dahdit-midi-0.7.0: MIDI and OSC parsing/printing with dahdit
Safe HaskellSafe-Inferred
LanguageGHC2021

Dahdit.Midi.Osc

Documentation

newtype Port Source #

Constructors

Port 

Fields

Instances

Instances details
Show Port Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

showsPrec :: Int -> Port -> ShowS #

show :: Port -> String #

showList :: [Port] -> ShowS #

Binary Port Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

byteSize :: Port -> ByteCount #

get :: Get Port #

put :: Port -> Put #

StaticByteSized Port Source # 
Instance details

Defined in Dahdit.Midi.Osc

Associated Types

type StaticSize Port :: Nat #

Eq Port Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

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

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

Ord Port Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

compare :: Port -> Port -> Ordering #

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

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

(>) :: Port -> Port -> Bool #

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

max :: Port -> Port -> Port #

min :: Port -> Port -> Port #

type StaticSize Port Source # 
Instance details

Defined in Dahdit.Midi.Osc

data PortMsg Source #

Constructors

PortMsg !Port !ShortMsg 

Instances

Instances details
Generic PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Associated Types

type Rep PortMsg :: Type -> Type #

Methods

from :: PortMsg -> Rep PortMsg x #

to :: Rep PortMsg x -> PortMsg #

Show PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Binary PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

StaticByteSized PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Associated Types

type StaticSize PortMsg :: Nat #

IsDatum PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Eq PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

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

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

Ord PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

type Rep PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

type Rep PortMsg = D1 ('MetaData "PortMsg" "Dahdit.Midi.Osc" "dahdit-midi-0.7.0-66KFzLxmAma18gPDqANgzS" 'False) (C1 ('MetaCons "PortMsg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Port) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ShortMsg)))
type StaticSize PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

data Datum Source #

Instances

Instances details
Show Datum Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

IsDatum Datum Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

toDatum :: Datum -> Datum Source #

Eq Datum Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

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

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

Ord Datum Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

compare :: Datum -> Datum -> Ordering #

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

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

(>) :: Datum -> Datum -> Bool #

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

max :: Datum -> Datum -> Datum #

min :: Datum -> Datum -> Datum #

class IsDatum a where Source #

Methods

toDatum :: a -> Datum Source #

Instances

Instances details
IsDatum Int32 Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

toDatum :: Int32 -> Datum Source #

IsDatum Int64 Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

toDatum :: Int64 -> Datum Source #

IsDatum ShortByteString Source # 
Instance details

Defined in Dahdit.Midi.Osc

IsDatum Datum Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

toDatum :: Datum -> Datum Source #

IsDatum PortMsg Source # 
Instance details

Defined in Dahdit.Midi.Osc

IsDatum NtpTime Source # 
Instance details

Defined in Dahdit.Midi.Osc

IsDatum Text Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

toDatum :: Text -> Datum Source #

IsDatum Double Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

toDatum :: Double -> Datum Source #

IsDatum Float Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

toDatum :: Float -> Datum Source #

newtype Sig Source #

Constructors

Sig 

Fields

Instances

Instances details
Show Sig Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

showsPrec :: Int -> Sig -> ShowS #

show :: Sig -> String #

showList :: [Sig] -> ShowS #

Binary Sig Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

byteSize :: Sig -> ByteCount #

get :: Get Sig #

put :: Sig -> Put #

Eq Sig Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

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

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

Ord Sig Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

compare :: Sig -> Sig -> Ordering #

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

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

(>) :: Sig -> Sig -> Bool #

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

max :: Sig -> Sig -> Sig #

min :: Sig -> Sig -> Sig #

data Msg Source #

Constructors

Msg !RawAddrPat !(Seq Datum) 

Instances

Instances details
Show Msg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

showsPrec :: Int -> Msg -> ShowS #

show :: Msg -> String #

showList :: [Msg] -> ShowS #

Binary Msg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

byteSize :: Msg -> ByteCount #

get :: Get Msg #

put :: Msg -> Put #

Eq Msg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

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

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

Ord Msg Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

compare :: Msg -> Msg -> Ordering #

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

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

(>) :: Msg -> Msg -> Bool #

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

max :: Msg -> Msg -> Msg #

min :: Msg -> Msg -> Msg #

data Bundle Source #

Constructors

Bundle !NtpTime !(Seq Packet) 

Instances

Instances details
Show Bundle Source # 
Instance details

Defined in Dahdit.Midi.Osc

Binary Bundle Source # 
Instance details

Defined in Dahdit.Midi.Osc

Eq Bundle Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

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

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

Ord Bundle Source # 
Instance details

Defined in Dahdit.Midi.Osc

data Packet Source #

Constructors

PacketMsg !Msg 
PacketBundle !Bundle 

Instances

Instances details
Generic Packet Source # 
Instance details

Defined in Dahdit.Midi.Osc

Associated Types

type Rep Packet :: Type -> Type #

Methods

from :: Packet -> Rep Packet x #

to :: Rep Packet x -> Packet #

Show Packet Source # 
Instance details

Defined in Dahdit.Midi.Osc

Binary Packet Source # 
Instance details

Defined in Dahdit.Midi.Osc

Eq Packet Source # 
Instance details

Defined in Dahdit.Midi.Osc

Methods

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

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

Ord Packet Source # 
Instance details

Defined in Dahdit.Midi.Osc

type Rep Packet Source # 
Instance details

Defined in Dahdit.Midi.Osc

type Rep Packet = D1 ('MetaData "Packet" "Dahdit.Midi.Osc" "dahdit-midi-0.7.0-66KFzLxmAma18gPDqANgzS" 'False) (C1 ('MetaCons "PacketMsg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Msg)) :+: C1 ('MetaCons "PacketBundle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bundle)))