Class: IntervalMagnitude

Environment: Siren
Superclass: Siren.NumericalMagnitude
Category: Music-Models-Implementation
Class instance variables: range

Instances of subclasses of the abstract class IntervalMagnitude are NumericalMagnitudes where a specific interval is defined within which values are possible. Examples are MIDI values in the range of 0 .. 127. the actual range is a class inst var.

accessing

value: theValue
Accept theValue, as the new instance variable 'value' -- perform range-checking

MetaClass: IntervalMagnitude class

Instance variables: range

class inst var access

range
Answer the class' range.

range: anInterval
Set the class' range.