Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Ness.Multiplate

Synopsis

Documentation

instrument

data Airbox Source #

• airbox defines the dimensions and other parameters of the airbox. Parameters are the width, the depth, the height, c_a and rho_a. Only one airbox can be defined currently.

Constructors

Airbox 

Instances

Instances details
Eq Airbox # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Ord Airbox # 
Instance details

Defined in Ness.Multiplate

Show Airbox # 
Instance details

Defined in Ness.Multiplate

Render Airbox # 
Instance details

Defined in Ness.Multiplate

Methods

render :: Airbox -> Text Source #

data AirboxOutput Source #

• airbox output defines an output taken from within the airbox. The parameters are its X, Y and Z position.

Constructors

AirboxOutput 

Fields

data Plate Source #

• plate defines a plate within the airbox. The first parameter is a name for the plate which must be a unique string and is used to refer to it for the purposes of outputs and strikes. The numeric parameters are size X, size Y, centre X, centre Y, centre Z, rho, H, E, nu, T60, sig1.

Constructors

Plate 

Instances

Instances details
Eq Plate # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Ord Plate # 
Instance details

Defined in Ness.Multiplate

Methods

compare :: Plate -> Plate -> Ordering #

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

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

(>) :: Plate -> Plate -> Bool #

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

max :: Plate -> Plate -> Plate #

min :: Plate -> Plate -> Plate #

Show Plate # 
Instance details

Defined in Ness.Multiplate

Methods

showsPrec :: Int -> Plate -> ShowS #

show :: Plate -> String #

showList :: [Plate] -> ShowS #

Render Plate # 
Instance details

Defined in Ness.Multiplate

Methods

render :: Plate -> Text Source #

data Material Source #

Constructors

Material 

Fields

Instances

Instances details
Eq Material # 
Instance details

Defined in Ness.Multiplate

Ord Material # 
Instance details

Defined in Ness.Multiplate

Show Material # 
Instance details

Defined in Ness.Multiplate

data PlateOutput Source #

• plate output defines an output taken from a plate. The parameters are the name of the plate and the X and Y position for the output. The position values are normalised to the range -1 to +1.

Constructors

PlateOutput 

Fields

data Membrane Source #

• membrane defines a circular drum membrane within the airbox. The first parameter is a name for the membrane which must be a unique string and is used to refer to it for the purposes of outputs and strikes. The numeric parameters are the radius, centre X, centre Y, centre Z, rho, H, T, E, nu, T60 and sig1.

Constructors

Membrane 

Instances

Instances details
Eq Membrane # 
Instance details

Defined in Ness.Multiplate

Ord Membrane # 
Instance details

Defined in Ness.Multiplate

Show Membrane # 
Instance details

Defined in Ness.Multiplate

Render Membrane # 
Instance details

Defined in Ness.Multiplate

Methods

render :: Membrane -> Text Source #

data Drumshell Source #

• drumshell defines a cylindrical drum shell that acts as a barrier within the airbox. The first parameter is a name for the drum shell which must be a unique string. The numeric parameters are centre X, centre Y, bottom Z, radius and shell height.

Constructors

Drumshell 

Instances

Instances details
Eq Drumshell # 
Instance details

Defined in Ness.Multiplate

Ord Drumshell # 
Instance details

Defined in Ness.Multiplate

Show Drumshell # 
Instance details

Defined in Ness.Multiplate

Render Drumshell # 
Instance details

Defined in Ness.Multiplate

score

data Score Source #

Constructors

Score 

Fields

Instances

Instances details
Eq Score # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Show Score # 
Instance details

Defined in Ness.Multiplate

Methods

showsPrec :: Int -> Score -> ShowS #

show :: Score -> String #

showList :: [Score] -> ShowS #

Render Score # 
Instance details

Defined in Ness.Multiplate

Methods

render :: Score -> Text Source #

type Force = Double Source #

Probably Newtons?

data Strike Source #

The first parameter of a strike is the start time. The other parameters are the name of the plate, the X position, the Y position, the duration, and the maximum force. The position values are normalised to the range 0-1.

Constructors

Strike 

Instances

Instances details
Eq Strike # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Show Strike # 
Instance details

Defined in Ness.Multiplate

Render Strike # 
Instance details

Defined in Ness.Multiplate

Methods

render :: Strike -> Text Source #