Class: HertzPitch

Environment: Siren
Superclass: Siren.NumericalMagnitude
Category: Music-Models-Implementation

Instances of HertzPitch are frequency values in Hertz.
This is the most general Pitch representation.
The value is assumed to be a floating-point number.

printing

printOn0: aStream
Print the receiver as a pitch string in Hertz.

units
Answer the units string of the receiver.

private

species
Answer Pitch.

converting

asFracMIDI
Assuming value is a frequency, Answer a fractional key number

asFracSymbol
Assuming value is a frequency, answer a symbolic note name

asHertz
Answer a HertzPitch.

asHz
Answer a HertzPitch.

asMIDI
Assuming value is a frequency, Answer a key number

asSymbol
Assuming value is a frequency, answer a symbolic note name

MetaClass: HertzPitch class

coercion

ddMsgName
Answer the selector to be used in coercing double-dispatching messages.