AdditiveInstrument.h -- Sum-of-sines synthesis instrument class.
See the copyright notice and acknowledgment of authors in the file COPYRIGHT
Accessors "du", set_duration_f "am", set_amplitude_f "fr", set_freq_f "po", set_position_f "aa", set_attack_f -- amplitude envelope ADSR "ad", set_decay_f "as", set_sustain_f "re", set_release_f "pt", set_partial_f "ps", set_partials_f
OSC note formats (4 or 8 arguments): dur, ampl, c_fr, pos dur, ampl, c_fr, pos, att, dec, sus, rel
Classes | |
| class | CSLService |
| class | Accessor |
| class | AdditiveInstrument |
| class | VAdditiveInstrument |
| class | AmbisonicOrder |
| class | AmbisonicUnitGenerator |
| Ambisonic Abstract Base Class. More... | |
| class | AmbisonicEncoder |
| class | AmbisonicDecoder |
| class | AmbisonicPanner |
| class | AmbisonicMixer |
| class | AmbisonicRotator |
| class | FMInstrument |
| class | FancyFMInstrument |
| class | BinaryOp |
| class | AddOp |
| class | MulOp |
| class | BinauralPanner |
| forward declaration More... | |
| class | BinauralSourceCache |
| class | HRTF |
| class | HRTFDatabase |
| class | BlockResizer |
| class | AUIO |
| class | CAIO |
| class | CGestalt |
| class | Model |
| class | Observer |
| class | Clipper |
| class | CPoint |
| class | Buffer |
| class | BufferCMap |
| class | UnitGenerator |
| forward declaration More... | |
| class | Port |
| class | Controllable |
| class | Scalable |
| class | Effect |
| class | Phased |
| class | Writeable |
| class | Seekable |
| class | Cacheable |
| class | FanOut |
| class | Splitter |
| class | Joiner |
| class | Interleaver |
| class | IO |
| class | IODevice |
| class | exception |
| class | CException |
| class | MemoryError |
| class | ValueError |
| class | TimingError |
| class | RunTimeError |
| class | LogicError |
| class | DomainError |
| class | OutOfRangeError |
| class | IOError |
| struct | testStruct |
| class | CslRtpSession |
| class | DelayLine |
| class | DistanceSimulator |
| class | DistanceCue |
| class | IntensityAttenuationCue |
| class | AirAbsorptionCue |
| Simulates the frequency dependent air absorption using a one pole/zero lowpass filter. More... | |
| class | DLine |
| class | LineSegment |
| class | Envelope |
| class | ADSR |
| ADSR = 4-segment attack/decay/sustain/release envelope class. More... | |
| class | AR |
| AR = 3-segment attack/release envelope class. More... | |
| class | Triangle |
| class | RandEnvelope |
| class | Abst_FFT_W |
| class | FileIO |
| class | FrequencyAmount |
| class | Filter |
| class | Butter |
| class | Formant |
| class | Notch |
| Notch Filter with poles at +-z and complex conjugate zeros at +-omega. More... | |
| class | Allpass |
| class | Moog |
| Moog VCF class. More... | |
| class | FilterSpecification |
| forward declaration More... | |
| class | FIR |
| class | Freeverb |
| class | Comb |
| class | FAllpass |
| class | Stereoverb |
| struct | Grain |
| class | GrainCloud |
| class | GrainPlayer |
| GrainPlayer -- low-level granular synthesis generator, uses a list of current grains. More... | |
| class | InOut |
| class | Instrument |
| class | JackIO |
| class | JUCEIO |
| class | KarplusString |
| class | Lorenz |
| class | Microphone |
| class | CMIDIMessage |
| class | MIDIIO |
| class | MIDIIn |
| class | MIDIOut |
| class | MIDIPlayer |
| class | CSL_MIDIMessage |
| CSL_MIDIMessage. More... | |
| class | Mixer |
| class | Panner |
| class | NtoMPanner |
| class | StereoWidth |
| class | Noise |
| class | WhiteNoise |
| class | PinkNoise |
| class | NullIO |
| class | StdIO |
| class | Oscillator |
| class | WavetableOscillator |
| class | CompOrCacheOscillator |
| class | Sine |
| class | FSine |
| FSine -- (uses a ringing filter for the sine calc). More... | |
| class | Sawtooth |
| class | Square |
| class | Impulse |
| struct | Partial |
| class | SumOfSines |
| class | SquareBL |
| class | PAIO |
| class | RemoteIO |
| struct | CSL_RS_MSG |
| class | RemoteStream |
| class | RingBufferTap |
| class | RingBuffer |
| class | BufferStream |
| class | RtpReceiver |
| class | RtpSender |
| class | SHARCSpectrum |
| class | SHARCInstrument |
| class | SHARCLibrary |
| class | ShoeBox |
| class | SimpleSine |
| class | SineAsPhased |
| class | SineAsScaled |
| class | SndFileInstrument |
| class | SampleBankInstrument |
| class | Abst_SoundFile |
| class | SoundCue |
| class | CASoundFile |
| class | JSoundFile |
| class | LSoundFile |
| class | Spatializer |
| class | Auralizer |
| class | SpeakerLayoutExpert |
| * More... | |
| class | SpatialPanner |
| class | SpatialSource |
| Temp Spatial Sound Source. More... | |
| class | SpeakerLayout |
| class | StereoSpeakerLayout |
| Standard "Stereo Speaker Layout", where two speakers are positioned 30¼ left, 30¼ right and no elevation (0¼). More... | |
| class | Speaker |
| Represents a speaker as a position relative to the center of a space. More... | |
| class | FFT |
| class | IFFT |
| class | CThread |
| The abstract CSL Thread class. More... | |
| class | Synch |
| Sync is a cross-thread synchronization object. More... | |
| class | SynchPthread |
| PThread version of Sync. More... | |
| class | ThreadPthread |
| PThread version of Thread. More... | |
| class | CVariable |
| class | StaticVariable |
| class | DynamicVariable |
| class | VBAP |
| Vector Base Amplitude Panning. More... | |
| class | StereoPanner |
| class | SurroundPanner |
| class | VBAPSourceCache |
| class | SpeakerSet |
| Groups two or three loudspeakers, and their inverse. Used for VBAP computations. More... | |
| class | SpeakerSetLayout |
| class | VSTIO |
| class | WaveShaper |
| class | WhiteNoiseInstrument |
| class | Window |
| class | RectangularWindow |
| RectangularWindow:A rectangular window has all values set to the Gain value, or by default to 1. More... | |
| class | HammingWindow |
| HammingWindow: Belongs to the familly of cosine window functions. More... | |
| class | HannWindow |
| HannWindow. More... | |
| class | BlackmanWindow |
| BlackmanWindow. More... | |
| class | BlackmanHarrisWindow |
| BlackmanHarrisWindow. More... | |
| class | WelchWindow |
| WelchWindow: This is basically an equal-power curve. More... | |
| class | Convolver |
| class | FDN |
| struct | lpc_header |
| struct | frame_header |
| class | LPCAnalyzer |
| class | LPCFilter |
| class | ThreadUtil |
| class | ThreadedReader |
| class | ThreadedWriter |
Typedefs | |
| typedef vector< Accessor * > | AccessorVector |
| typedef vector< HRTF * > | HRTFVector |
| typedef std::vector< Observer * > | ObserverVector |
| Forward declaration. | |
| typedef float | sample |
| < short-hand for the base sample type | |
| typedef float | Sample |
| (could be changed to int) the same, written upper-case | |
| typedef sample * | SampleBuffer |
| 1-channel buffer data type, vector of (sample) | |
| typedef SampleBuffer * | SampleBufferVector |
| Multi-channel buffer data type, vector of (SampleBuffer). | |
| typedef SampleBuffer * | SampleBufferArray |
| Multi-channel buffer data type. | |
| typedef sample | SampleComplex [2] |
| array-of-2 complex # type (like FFTW) | |
| typedef SampleComplex * | SampleComplexVector |
| complex vector | |
| typedef SampleComplex * | SampleComplexPtr |
| complex pointer | |
| typedef std::vector< CPoint * > | PointVector |
| Forward declaration A vector of points. | |
| typedef void * | VOIDFCNPTR (void *arg) |
| the generic void fcn pointer | |
| typedef unsigned | CSL_MAP_KEY |
| Forward declaration. | |
| typedef std::map< CSL_MAP_KEY, Port * > | PortMap |
| typedef std::vector< UnitGenerator * > | UGenVector |
| UGenVector: unit generator pointers (used for outputs). | |
| typedef std::map< std::string, UnitGenerator * > | UGenMap |
| UGenMap: a named map of unit generators (used for GUIs). | |
| typedef std::vector< IODevice * > | IODeviceVector |
| IOs hold onto device vectors. | |
| typedef std::vector< Instrument * > | InstrumentVector |
| Players hold onto Instrument vectors/maps. | |
| typedef std::map< int, InstrumentVector > | InstrumentLibrary |
| typedef std::map< std::string, Instrument * > | InstrumentMap |
| typedef unsigned long | Timestamp |
| typedef map< float, LineSegment * > | Breakpoints |
| a map between a time and a line segment | |
| typedef csl::Grain | Grain |
| typedef void *(* | THREAD_START_ROUTINE )(void *) |
| typedef int | SoundFileMode |
| typedef int | SoundFileFormat |
| typedef int | ButterworthType |
| typedef int | InOutFlags |
| typedef csl::lpc_header | CSL_LPC_HEADER |
| typedef csl::frame_header | CSL_LPC_FRAME |
| typedef int | LineMode |
| typedef int | InterpolationPolicy |
| typedef int | PartialDescriptionMode |
| typedef int | PointMode |
| typedef int | VOperator |
Enumerations | |
| enum | AmbisonicDecoderMethod { kPSEUDOINVERSE = 0, kPROJECTION } |
| Flag for the decoding method. More... | |
| enum | AmbisonicDecoderFlavour { kBASIC = 0, kINPHASE, kMAXRE } |
| Flag for the decoder flavour. More... | |
| enum | Axes { kTILT = 0, kTUMBLE, kROTATE } |
| enum | LogLevel { kLogInfo, kLogWarning, kLogError, kLogFatal } |
| enum | ClipperFlags { kMin, kMax, kBoth } |
| Whether to clip using the minimum, maximum or both values. More... | |
| enum | PointMode { kCartesian, kPolar } |
| enum | BufferContentType { kSamples, kSpectra, kLPCCoeff, kIRData, kWavelet, kGeometry, kUnknown } |
| enum | BufferCopyPolicy { kCopy, kExpand, kIgnore } |
| enum | SeekPosition { kPositionStart, kPositionCurrent, kPositionEnd } |
| enum | IO_Status { kIONew, kIOInit, kIOOpen, kIORunning, kIOClosed, kIOExit } |
| enum | RtpBufferState { kNormal = 0, kBuffering, kOverflow, kUnderrun, kInactive, kNumStates } |
| Enumeration to define the possible states of our internal RingBuffer. More... | |
| enum | InterpType { kTruncate, kLinear, kAllPass } |
| enum | LineMode { kLine, kExpon } |
| enum | CSL_FFTType { CSL_FFT_REAL = 0, CSL_FFT_COMPLEX, CSL_FFT_MAGPHASE } |
| real/complex flag (determines results from forward FFT) More... | |
| enum | CSL_FFTDir { CSL_FFT_FORWARD = 0, CSL_FFT_INVERSE } |
| forward/reverse flag (determines FFT direction) More... | |
| enum | ButterworthType { BW_LOW_PASS = 0, BW_HIGH_PASS, BW_BAND_PASS, BW_BAND_STOP } |
| enum | GrainulatorState { kFree, kDSP, kSched } |
| This flag is for the app state, so that we don't change the grain lists while calculating samples. More... | |
| enum | InOutFlags { kNoProc, kLR2M, kL2M, kR2M, kN2M } |
| enum | CMIDIMessageType { kNone = 0, kNoteOff = 8, kNoteOn = 9, kPolyTouch = 10, kControlChange = 11, kProgramChange = 12, kAftertouch = 13, kPitchWheel = 14, kSysEX = 15 } |
| CMIDIMessageType enum of midi msg categories. More... | |
| enum | CSL_MIDIMessageType { kNone = 0, kNoteOff = 8, kNoteOn = 9, kPolyTouch = 10, kControlChange = 11, kProgramChange = 12, kAftertouch = 13, kPitchWheel = 14, kSysEX = 15 } |
| CSL_MIDIMessageType. More... | |
| enum | InterpolationPolicy { kTruncate, kLinear, kCubic, kAllPass } |
| enum | PartialDescriptionMode { kFrequency, kFreqAmp, kFreqAmpPhase } |
| enum | { kMarble = 0, kConcrete, kBrick, kGlass, kWood } |
| enum | SoundFileMode { kSoundFileRead, kSoundFileWrite, kSoundFileReadWrite } |
| Sound file constants. More... | |
| enum | SoundFileFormat { kSoundFileFormatWAV, kSoundFileFormatAIFF, kSoundFileFormatSND, kSoundFileFormatEBICSF, kSoundFileFormatRaw, kSoundFileFormatOther } |
| enum | PannerType { kAutomatic = 0, kBinaural, kVBAP, kAmbisonic, kWFS } |
| Panner types. More... | |
| enum | VOperator { kOpPlus, kOpTimes, kOpMinus, kOpDivided, kOpNegated } |
| enum | VBAPMode { kAuto = 0, kPantophonic = 2, kPeriphonic = 3 } |
| VBAP types. More... | |
| enum | { kNumParameters = 16, kThresh = 0, kWindowSize, kNumBins, kOut, kNumParams } |
| enum | { kNumParameters = 16, kThresh = 0, kWindowSize, kNumBins, kOut, kNumParams } |
| enum | CMIDIMessageType { kNone = 0, kNoteOff = 8, kNoteOn = 9, kPolyTouch = 10, kControlChange = 11, kProgramChange = 12, kAftertouch = 13, kPitchWheel = 14, kSysEX = 15 } |
| CMIDIMessageType enum of midi msg categories. More... | |
| enum | CSL_MIDIMessageType { kNone = 0, kNoteOff = 8, kNoteOn = 9, kPolyTouch = 10, kControlChange = 11, kProgramChange = 12, kAftertouch = 13, kPitchWheel = 14, kSysEX = 15 } |
| CSL_MIDIMessageType. More... | |
| enum | LogLevel { kLogInfo, kLogWarning, kLogError, kLogFatal } |
| enum | BufferContentType { kSamples, kSpectra, kLPCCoeff, kIRData, kWavelet, kGeometry, kUnknown } |
| enum | BufferCopyPolicy { kCopy, kExpand, kIgnore } |
| enum | SeekPosition { kPositionStart, kPositionCurrent, kPositionEnd } |
| enum | IO_Status { kIONew, kIOInit, kIOOpen, kIORunning, kIOClosed, kIOExit } |
| enum | ClipperFlags { kMin, kMax, kBoth } |
| Whether to clip using the minimum, maximum or both values. More... | |
| enum | RtpBufferState { kNormal = 0, kBuffering, kOverflow, kUnderrun, kInactive, kNumStates } |
| Enumeration to define the possible states of our internal RingBuffer. More... | |
| enum | GrainulatorState { kFree, kDSP, kSched } |
| This flag is for the app state, so that we don't change the grain lists while calculating samples. More... | |
| enum | AmbisonicDecoderMethod { kPSEUDOINVERSE = 0, kPROJECTION } |
| Flag for the decoding method. More... | |
| enum | AmbisonicDecoderFlavour { kBASIC = 0, kINPHASE, kMAXRE } |
| Flag for the decoder flavour. More... | |
| enum | Axes { kTILT = 0, kTUMBLE, kROTATE } |
| enum | { kMarble = 0, kConcrete, kBrick, kGlass, kWood } |
| enum | PannerType { kAutomatic = 0, kBinaural, kVBAP, kAmbisonic, kWFS } |
| Panner types. More... | |
| enum | InterpType { kTruncate, kLinear, kAllPass } |
| enum | VBAPMode { kAuto = 0, kPantophonic = 2, kPeriphonic = 3 } |
| VBAP types. More... | |
| enum | CSL_FFTType { CSL_FFT_REAL = 0, CSL_FFT_COMPLEX, CSL_FFT_MAGPHASE } |
| real/complex flag (determines results from forward FFT) More... | |
| enum | CSL_FFTDir { CSL_FFT_FORWARD = 0, CSL_FFT_INVERSE } |
| forward/reverse flag (determines FFT direction) More... | |
Functions | |
| void | logMsg (LogLevel level, char *format,...) |
| void | logMsg (char *format,...) |
| default is kLogInfo severity | |
| void | singularValueDecomposition (sample **a, int m, int n, sample *w, sample **v) |
| Utility function used in calculating the inverse of a matrix, used in AmbisonicDecoder for the pseudoinverse method. | |
| void | fumaEncodingWeights (SampleBuffer weights, const AmbisonicOrder &order, sample azimuth, sample elevation) |
| Utility function that calculates fuma encoding weights for a given order, azimuth and elevation. | |
| void | fumaIndexedEncodingWeights (SampleBuffer weights, const AmbisonicOrder &order, sample &azimuth, sample &elevation) |
| Utility function that calculates fuma encoding weights for a given order, azimuth and elevation. | |
| void | logLine () |
| Log the file & line #. | |
| void | logURL () |
| log file/line as a URL | |
| void | vlogMsg (char *format, va_list args) |
| void | vlogMsg (LogLevel level, char *format, va_list args) |
| bool | sleepUsec (float dur) |
| sleep for dur usec, msec or sec | |
| bool | sleepMsec (float dur) |
| bool | sleepSec (float dur) |
| Timestamp | timeNow () |
| high-accuracy system or IO time in ticks | |
| float | fTimeNow () |
| system or IO time in seconds | |
| float | fRandZ (void) |
| A variety of useful random-number functions 0 - 1 (name: zero). | |
| float | fRand1 (void) |
| -1 - 1 (one) | |
| float | fRandV (float val) |
| 0 - v (val) | |
| float | fRandM (float minV, float maxV) |
| min - max (min/max) | |
| float | fRandR (float base, float range) |
| b +- (r * b) (range) | |
| float | fRandB (float base, float range) |
| b +- r (base) | |
| int | iRandV (int val) |
| Integer rands 0 - v (val). | |
| int | iRandM (int minV, int maxV) |
| min - max (min/max) | |
| int | iRandB (int base, int range) |
| b +- r (base) | |
| bool | coin () |
| Answer true or false. | |
| bool | coin (float bias) |
| Answer with a bias (1 --> always true). | |
| float | keyToFreq (unsigned midiKey) |
| keyToFreq -- converts from MIDI key numbers (1 - 127) to frequency in Hz. | |
| unsigned | freqToKey (float frequency) |
| freqToKey -- converts from frequency in Hz to MIDI key # | |
| void | copy_CSL_MIDIMessage (CSL_MIDIMessage *source, CSL_MIDIMessage *dest) |
| copy_CSL_MIDIMessage -- copies CSL_MIDIMessage | |
| void | CSL_MIDIMessageToPmEvent (CSL_MIDIMessage *cslMIDI, PmEvent *event) |
| CSL_MIDIMessageToPmEvent -- converts CSL_MIDIMessage to PmEvent. | |
| void | PmEventToCSL_MIDIMessage (PmEvent *event, CSL_MIDIMessage *cslMIDI) |
| PmEventToCSL_MIDIMessage -- converts PmEvent to CSL_MIDIMessage. | |
| unsigned | Message_ChannelToStatus (CSL_MIDIMessageType message, unsigned channel) |
| Message_ChannelToStatus -- converts from message and channel to status byte. | |
| void * | RemoteIO_read_loop (void *inst) |
| void * | RS_read_loop (void *inst) |
| int | CSL_CreateThread (THREAD_START_ROUTINE pfnThreadProc, void *pvParam) |
| void * | RTP_read_loop (void *inst) |
| void | copy_CSL_MIDIMessage (CSL_MIDIMessage *source, CSL_MIDIMessage *dest) |
| copy_CSL_MIDIMessage -- copies CSL_MIDIMessage | |
| void | CSL_MIDIMessageToPmEvent (CSL_MIDIMessage *cslMIDI, PmEvent *event) |
| CSL_MIDIMessageToPmEvent -- converts CSL_MIDIMessage to PmEvent. | |
| void | PmEventToCSL_MIDIMessage (PmEvent *event, CSL_MIDIMessage *cslMIDI) |
| PmEventToCSL_MIDIMessage -- converts PmEvent to CSL_MIDIMessage. | |
| unsigned | Message_ChannelToStatus (CSL_MIDIMessageType message, unsigned channel) |
| void | vlogMsg (char *format, va_list args) |
| void | logMsg (char *format,...) |
| void | vlogMsg (LogLevel level, char *format, va_list args) |
| void | logMsg (LogLevel level, char *format,...) |
| Log the file & line #. | |
| void | logLine () |
| Log the file & line #. | |
| void | logURL () |
| log file/line as a URL | |
| bool | sleepUsec (float dur_in_usec) |
| sleep for dur usec, msec or sec | |
| bool | sleepMsec (float dur_in_msec) |
| bool | sleepSec (float dur_in_sec) |
| Timestamp | timeNow () |
| high-accuracy system or IO time in ticks | |
| float | fTimeNow () |
| system or IO time in seconds | |
| float | fRandZ (void) |
| A variety of useful random-number functions 0 - 1 (name: zero). | |
| float | fRand1 (void) |
| -1 - 1 (one) | |
| float | fRandM (float minV, float maxV) |
| min - max (min/max) | |
| float | fRandR (float base, float range) |
| b +- (r * b) (range) | |
| float | fRandB (float base, float range) |
| b +- r (base) | |
| float | fRandV (float val) |
| 0 - v (val) | |
| int | iRandV (int val) |
| Integer rands 0 - v (val). | |
| int | iRandM (int minV, int maxV) |
| min - max (min/max) | |
| int | iRandB (int base, int range) |
| b +- r (base) | |
| bool | coin () |
| Answer true or false. | |
| bool | coin (float bias) |
| Answer with a bias (1 --> always true). | |
| float | keyToFreq (unsigned midiKey) |
| keyToFreq -- converts from MIDI key numbers (1 - 127) to frequency in Hz. | |
| unsigned | freqToKey (float frequency) |
| freqToKey -- converts from frequency in Hz to MIDI key # | |
|
|
Typedef for AccessorVector object |
|
|
|
|
|
Forward declaration.
|
|
|
< short-hand for the base sample type
|
|
|
(could be changed to int) the same, written upper-case
|
|
|
1-channel buffer data type, vector of (sample)
|
|
|
Multi-channel buffer data type, vector of (SampleBuffer).
|
|
|
Multi-channel buffer data type.
|
|
|
array-of-2 complex # type (like FFTW)
|
|
|
complex vector
|
|
|
complex pointer
|
|
|
Forward declaration A vector of points.
|
|
|
the generic void fcn pointer
|
|
|
Forward declaration. the type I use for map keys (could also be a string) PortMap: a map between a name/key and a port object (used for control and audio inputs) |
|
|
|
|
|
UGenVector: unit generator pointers (used for outputs).
|
|
|
UGenMap: a named map of unit generators (used for GUIs).
|
|
|
IOs hold onto device vectors.
|
|
|
Players hold onto Instrument vectors/maps.
|
|
|
|
|
|
|
|
|
Timestamp type: we assume that we can get the host's best guess at the IO word clock (normally passed into the audio IO callback function). call timeNow() to get the time We also support float-time in fTimeNow() |
|
|
a map between a time and a line segment
|
|
|
Grain data structure This implementation uses a linked list data structure. You might want to add a few more members to this for flexibility. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag for the decoding method.
|
|
|
Flag for the decoder flavour.
|
|
|
|
|
|
Logging functions are standard C functions |
|
|
Whether to clip using the minimum, maximum or both values.
|
|
|
|
|
|
Sample buffer contents type (optional) One could argue that we should use subclasses for this, but they're not behaviorally different at present. |
|
|
UnitGenerator buffer copy policy flags (for multi-channel expansion) |
|
|
Enumeration for seek flags |
|
|
|
|
|
Enumeration to define the possible states of our internal RingBuffer.
|
|
|
|
|
|
LineSegment flags for line interpolation. |
|
|
real/complex flag (determines results from forward FFT)
|
|
|
forward/reverse flag (determines FFT direction)
|
|
|
|
|
|
This flag is for the app state, so that we don't change the grain lists while calculating samples.
|
|
|
|
|
|
CMIDIMessageType enum of midi msg categories.
|
|
|
CSL_MIDIMessageType.
|
|
|
Enumeration for interpolation policies |
|
|
Enum for SumOfSines description formats |
|
|
|
|
|
Sound file constants.
|
|
|
|
|
|
Panner types.
|
|
|
|
|
|
VBAP types.
|
|
|
|
|
|
|
|
|
CMIDIMessageType enum of midi msg categories.
|
|
|
CSL_MIDIMessageType.
|
|
|
Logging functions are standard C functions |
|
|
Sample buffer contents type (optional) One could argue that we should use subclasses for this, but they're not behaviorally different at present. |
|
|
UnitGenerator buffer copy policy flags (for multi-channel expansion) |
|
|
Enumeration for seek flags |
|
|
|
|
|
Whether to clip using the minimum, maximum or both values.
|
|
|
Enumeration to define the possible states of our internal RingBuffer.
|
|
|
This flag is for the app state, so that we don't change the grain lists while calculating samples.
|
|
|
Flag for the decoding method.
|
|
|
Flag for the decoder flavour.
|
|
|
|
|
|
|
|
|
Panner types.
|
|
|
|
|
|
VBAP types.
|
|
|
real/complex flag (determines results from forward FFT)
|
|
|
forward/reverse flag (determines FFT direction)
|
|
||||||||||||||||
|
|
|
||||||||||||
|
default is kLogInfo severity These are the public logging messages |
|
||||||||||||||||||||||||
|
Utility function used in calculating the inverse of a matrix, used in AmbisonicDecoder for the pseudoinverse method.
|
|
||||||||||||||||||||
|
Utility function that calculates fuma encoding weights for a given order, azimuth and elevation.
|
|
||||||||||||||||||||
|
Utility function that calculates fuma encoding weights for a given order, azimuth and elevation.
|
|
|
Log the file & line #.
|
|
|
log file/line as a URL
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
sleep for dur usec, msec or sec Sleep for micro-seconds, milli-seconds or seconds These are interruptable and return true if interrupted; false for normal termination |
|
|
|
|
|
|
|
|
high-accuracy system or IO time in ticks
|
|
|
system or IO time in seconds
|
|
|
A variety of useful random-number functions 0 - 1 (name: zero).
|
|
|
-1 - 1 (one)
|
|
|
0 - v (val)
|
|
||||||||||||
|
min - max (min/max)
|
|
||||||||||||
|
b +- (r * b) (range)
|
|
||||||||||||
|
b +- r (base)
|
|
|
Integer rands 0 - v (val).
|
|
||||||||||||
|
min - max (min/max)
|
|
||||||||||||
|
b +- r (base)
|
|
|
Answer true or false.
|
|
|
Answer with a bias (1 --> always true).
|
|
|
keyToFreq -- converts from MIDI key numbers (1 - 127) to frequency in Hz.
|
|
|
freqToKey -- converts from frequency in Hz to MIDI key # freqToKey -- converts from frequency in Hz to MIDI key # 8.17579891564371 Hz is MIDI key 0 |
|
||||||||||||
|
copy_CSL_MIDIMessage -- copies CSL_MIDIMessage
|
|
||||||||||||
|
CSL_MIDIMessageToPmEvent -- converts CSL_MIDIMessage to PmEvent.
|
|
||||||||||||
|
PmEventToCSL_MIDIMessage -- converts PmEvent to CSL_MIDIMessage.
|
|
||||||||||||
|
Message_ChannelToStatus -- converts from message and channel to status byte.
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
copy_CSL_MIDIMessage -- copies CSL_MIDIMessage
|
|
||||||||||||
|
CSL_MIDIMessageToPmEvent -- converts CSL_MIDIMessage to PmEvent.
|
|
||||||||||||
|
PmEventToCSL_MIDIMessage -- converts PmEvent to CSL_MIDIMessage.
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Log the file & line #.
|
|
|
Log the file & line #.
|
|
|
log file/line as a URL
|
|
|
sleep for dur usec, msec or sec Sleep for micro-seconds, milli-seconds or seconds These are interruptable and return true if interrupted; false for normal termination |
|
|
|
|
|
|
|
|
high-accuracy system or IO time in ticks
|
|
|
system or IO time in seconds
|
|
|
A variety of useful random-number functions 0 - 1 (name: zero).
|
|
|
-1 - 1 (one)
|
|
||||||||||||
|
min - max (min/max)
|
|
||||||||||||
|
b +- (r * b) (range)
|
|
||||||||||||
|
b +- r (base)
|
|
|
0 - v (val)
|
|
|
Integer rands 0 - v (val).
|
|
||||||||||||
|
min - max (min/max)
|
|
||||||||||||
|
b +- r (base)
|
|
|
Answer true or false.
|
|
|
Answer with a bias (1 --> always true).
|
|
|
keyToFreq -- converts from MIDI key numbers (1 - 127) to frequency in Hz.
|
|
|
freqToKey -- converts from frequency in Hz to MIDI key # freqToKey -- converts from frequency in Hz to MIDI key # 8.17579891564371 Hz is MIDI key 0 |
1.4.5-20051010