Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Synth.Shared.Note

Contents

Description

The Note type and support.

Synopsis

Documentation

data Note Source #

High level representation of one note. This will be converted into one or more Samples.

Constructors

Note 

Fields

Instances
Show Note # 
Instance details

Defined in Synth.Shared.Note

Methods

showsPrec :: Int -> Note -> ShowS #

show :: Note -> String #

showList :: [Note] -> ShowS #

CRC32.CRC32 Note # 
Instance details

Defined in Synth.Shared.Note

Pretty.Pretty Note # 
Instance details

Defined in Synth.Shared.Note

Serialize.Serialize Note # 
Instance details

Defined in Synth.Shared.Note

type PatchName = Text Source #

Unique identifier for a patch.

type InstrumentName = Text Source #

This is a specific instantiation of a PatchName. This is the same as Instrument.

note :: PatchName -> InstrumentName -> RealTime -> RealTime -> Note Source #

Make a Note for testing.

serialize

hash

newtype Hash Source #

Constructors

Hash Word.Word32 
Instances
Eq Hash # 
Instance details

Defined in Synth.Shared.Note

Methods

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

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

Show Hash # 
Instance details

Defined in Synth.Shared.Note

Methods

showsPrec :: Int -> Hash -> ShowS #

show :: Hash -> String #

showList :: [Hash] -> ShowS #

Semigroup Hash # 
Instance details

Defined in Synth.Shared.Note

Methods

(<>) :: Hash -> Hash -> Hash #

sconcat :: NonEmpty Hash -> Hash #

stimes :: Integral b => b -> Hash -> Hash #

Monoid Hash # 
Instance details

Defined in Synth.Shared.Note

Methods

mempty :: Hash #

mappend :: Hash -> Hash -> Hash #

mconcat :: [Hash] -> Hash #

Pretty.Pretty Hash # 
Instance details

Defined in Synth.Shared.Note

Serialize.Serialize Hash # 
Instance details

Defined in Synth.Shared.Note