Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

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
Show Airbox Source # 
Instance details

Defined in Ness.Multiplate

Eq Airbox Source # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Ord Airbox Source # 
Instance details

Defined in Ness.Multiplate

Render Airbox Source # 
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
Show Plate Source # 
Instance details

Defined in Ness.Multiplate

Methods

showsPrec :: Int -> Plate -> ShowS #

show :: Plate -> String #

showList :: [Plate] -> ShowS #

Eq Plate Source # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Ord Plate Source # 
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 #

Render Plate Source # 
Instance details

Defined in Ness.Multiplate

Methods

render :: Plate -> Text Source #

data Material Source #

Constructors

Material 

Fields

Instances

Instances details
Show Material Source # 
Instance details

Defined in Ness.Multiplate

Eq Material Source # 
Instance details

Defined in Ness.Multiplate

Ord Material Source # 
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
Show Membrane Source # 
Instance details

Defined in Ness.Multiplate

Eq Membrane Source # 
Instance details

Defined in Ness.Multiplate

Ord Membrane Source # 
Instance details

Defined in Ness.Multiplate

Render Membrane Source # 
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
Show Drumshell Source # 
Instance details

Defined in Ness.Multiplate

Eq Drumshell Source # 
Instance details

Defined in Ness.Multiplate

Ord Drumshell Source # 
Instance details

Defined in Ness.Multiplate

Render Drumshell Source # 
Instance details

Defined in Ness.Multiplate

score

data Score Source #

Constructors

Score 

Fields

Instances

Instances details
Show Score Source # 
Instance details

Defined in Ness.Multiplate

Methods

showsPrec :: Int -> Score -> ShowS #

show :: Score -> String #

showList :: [Score] -> ShowS #

Eq Score Source # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Render Score Source # 
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
Show Strike Source # 
Instance details

Defined in Ness.Multiplate

Eq Strike Source # 
Instance details

Defined in Ness.Multiplate

Methods

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

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

Render Strike Source # 
Instance details

Defined in Ness.Multiplate

Methods

render :: Strike -> Text Source #