| |
- __builtin__.object
-
- AiffFile
-
- AiffFilePtr
- Analyzer
-
- AnalyzerPtr
- Breakpoint
-
- BreakpointPtr
- BreakpointPosition
-
- BreakpointPositionPtr
- DoubleVector
-
- DoubleVectorPtr
- LinearEnvelope
-
- BreakpointEnvelope
-
- BreakpointEnvelopePtr
- LinearEnvelopePtr
- Marker
-
- MarkerPtr
- MarkerVector
-
- MarkerVectorPtr
- Partial
-
- PartialPtr
- PartialIterator
-
- PartialIteratorPtr
- PartialList
-
- PartialListPtr
- PartialListIterator
-
- PartialListIteratorPtr
- SdifFile
-
- SdifFilePtr
- SpcFile
-
- SpcFilePtr
class AiffFile(__builtin__.object) |
|
Proxy of C++ AiffFile class
An AiffFile represents a sample file (on disk) in the Audio Interchange
File Format. The file is read from disk and the samples stored in memory
upon construction of an AiffFile instance. The samples are accessed by
the samples() method, which converts them to double precision floats and
returns them in a vector. |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_AiffFile>)
- __del__(self)
Destroy this AiffFile.
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self, filename) -> AiffFile
__init__(self, vec, samplerate) -> AiffFile
__init__(self, l, sampleRate=44100, fadeTime=.001) -> AiffFile
__init__(self, l, sampleRate=44100) -> AiffFile
__init__(self, l) -> AiffFile
An AiffFile instance can be initialized in any of the following ways:
Initialize a new AiffFile from a vector of samples and sample rate.
Initialize a new AiffFile using data read from a named file.
Initialize an instance of AiffFile having the specified sample
rate, accumulating samples rendered at that sample rate from
all Partials on the specified half-open (STL-style) range with
the (optionally) specified Partial fade time (see Synthesizer.h
for an examplanation of fade time).
- __repr__(self)
- __setattr__ lambda self, name, value
- addMarkers(*args)
- addMarkers(self, markers)
Append a collection of Markers for to the existing
set of Markers for this AiffFile.
- addPartial(*args)
- addPartial(self, p, fadeTime=.001)
addPartial(self, p)
Render the specified Partial using the (optionally) specified
Partial fade time, and accumulate the resulting samples into
the sample vector for this AiffFile.
- addPartials(*args)
- addPartials(self, l, fadeTime=0.001)
addPartials(self, l)
Render all Partials on the specified half-open (STL-style) range
with the (optionally) specified Partial fade time (see Synthesizer.h
for an examplanation of fade time), and accumulate the resulting
samples.
- channels(*args)
- channels(self) -> int
The number of channels is always 1.
Loris only deals in mono AiffFiles
- markers(*args)
- markers(self) -> MarkerVector
Return the (possibly empty) collection of Markers for
this AiffFile.
- midiNoteNumber(*args)
- midiNoteNumber(self) -> double
Return the MIDI note number for this AiffFile. The defaul
note number is 60, corresponding to middle C.
- sampleFrames(*args)
- sampleFrames(self) -> unsigned long
Return the number of sample frames (equal to the number of samples
in a single channel file) stored by this AiffFile.
- sampleRate(*args)
- sampleRate(self) -> double
Return the sample rate in Hz for this AiffFile.
- samples(*args)
- samples(self) -> DoubleVector
Return a copy of the samples (as floating point numbers
on the range -1,1) stored in this AiffFile.
- setMarkers(*args)
- setMarkers(self, markers)
Specify a new (possibly empty) collection of Markers for
this AiffFile.
- setMidiNoteNumber(*args)
- setMidiNoteNumber(self, nn)
Set the fractional MIDI note number assigned to this AiffFile.
If the sound has no definable pitch, use note number 60.0
(the default).
- write(*args)
- write(self, filename, bps=16)
write(self, filename)
Export the sample data represented by this AiffFile to
the file having the specified filename or path. Export
signed integer samples of the specified size, in bits
(8, 16, 24, or 32).
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'AiffFile' objects>
- list of weak references to the object (if defined)
|
class AiffFilePtr(AiffFile) |
| |
- Method resolution order:
- AiffFilePtr
- AiffFile
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from AiffFile:
- __del__(self, destroy=<built-in function delete_AiffFile>)
- __del__(self)
Destroy this AiffFile.
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- addMarkers(*args)
- addMarkers(self, markers)
Append a collection of Markers for to the existing
set of Markers for this AiffFile.
- addPartial(*args)
- addPartial(self, p, fadeTime=.001)
addPartial(self, p)
Render the specified Partial using the (optionally) specified
Partial fade time, and accumulate the resulting samples into
the sample vector for this AiffFile.
- addPartials(*args)
- addPartials(self, l, fadeTime=0.001)
addPartials(self, l)
Render all Partials on the specified half-open (STL-style) range
with the (optionally) specified Partial fade time (see Synthesizer.h
for an examplanation of fade time), and accumulate the resulting
samples.
- channels(*args)
- channels(self) -> int
The number of channels is always 1.
Loris only deals in mono AiffFiles
- markers(*args)
- markers(self) -> MarkerVector
Return the (possibly empty) collection of Markers for
this AiffFile.
- midiNoteNumber(*args)
- midiNoteNumber(self) -> double
Return the MIDI note number for this AiffFile. The defaul
note number is 60, corresponding to middle C.
- sampleFrames(*args)
- sampleFrames(self) -> unsigned long
Return the number of sample frames (equal to the number of samples
in a single channel file) stored by this AiffFile.
- sampleRate(*args)
- sampleRate(self) -> double
Return the sample rate in Hz for this AiffFile.
- samples(*args)
- samples(self) -> DoubleVector
Return a copy of the samples (as floating point numbers
on the range -1,1) stored in this AiffFile.
- setMarkers(*args)
- setMarkers(self, markers)
Specify a new (possibly empty) collection of Markers for
this AiffFile.
- setMidiNoteNumber(*args)
- setMidiNoteNumber(self, nn)
Set the fractional MIDI note number assigned to this AiffFile.
If the sound has no definable pitch, use note number 60.0
(the default).
- write(*args)
- write(self, filename, bps=16)
write(self, filename)
Export the sample data represented by this AiffFile to
the file having the specified filename or path. Export
signed integer samples of the specified size, in bits
(8, 16, 24, or 32).
Data and other attributes inherited from AiffFile:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'AiffFile' objects>
- list of weak references to the object (if defined)
|
class Analyzer(__builtin__.object) |
|
Proxy of C++ Analyzer class
An Analyzer represents a configuration of parameters for
performing Reassigned Bandwidth-Enhanced Additive Analysis
of sampled waveforms. This analysis process yields a collection
of Partials, each having a trio of synchronous, non-uniformly-
sampled breakpoint envelopes representing the time-varying
frequency, amplitude, and noisiness of a single bandwidth-
enhanced sinusoid.
For more information about Reassigned Bandwidth-Enhanced
Analysis and the Reassigned Bandwidth-Enhanced Additive Sound
Model, refer to the Loris website:
http://www.cerlsoundgroup.org/Loris/ |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_Analyzer>)
- __del__(self)
Destroy this Analyzer.
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self, resolutionHz) -> Analyzer
__init__(self, resolutionHz, windowWidthHz) -> Analyzer
__init__(self, another) -> Analyzer
Construct and return a new Analyzer configured with the given
frequency resolution (minimum instantaneous frequency
difference between Partials) and analysis window main
lobe width (between zeros). All other Analyzer parameters
are computed from the specified resolution and window
width. If the window width is not specified,
then it is assumed to be equal to the resolution.
An Analyzer configuration can also be copied from another
instance.
- __repr__(self)
- __setattr__ lambda self, name, value
- ampFloor(*args)
- ampFloor(self) -> double
Return the amplitude floor (lowest detected spectral amplitude),
in (negative) dB, for this Analyzer.
- analyze(*args)
- analyze(self, vec, srate) -> PartialList
analyze(self, vec, srate, env) -> PartialList
Analyze a vector of (mono) samples at the given sample rate
(in Hz) and return the resulting Partials in a PartialList.
If specified, use a frequency envelope as a fundamental reference for
Partial formation.
- bwRegionWidth(*args)
- bwRegionWidth(self) -> double
Return the width (in Hz) of the Bandwidth Association regions
used by this Analyzer.
- cropTime(*args)
- cropTime(self) -> double
Return the crop time (maximum temporal displacement of a time-
frequency data point from the time-domain center of the analysis
window, beyond which data points are considered "unreliable")
for this Analyzer.
- freqDrift(*args)
- freqDrift(self) -> double
Return the maximum allowable frequency difference between
consecutive Breakpoints in a Partial envelope for this Analyzer.
- freqFloor(*args)
- freqFloor(self) -> double
Return the frequency floor (minimum instantaneous Partial
frequency), in Hz, for this Analyzer.
- freqResolution(*args)
- freqResolution(self) -> double
Return the frequency resolution (minimum instantaneous frequency
difference between Partials) for this Analyzer.
- hopTime(*args)
- hopTime(self) -> double
Return the hop time (which corresponds approximately to the
average density of Partial envelope Breakpoint data) for this
Analyzer.
- setAmpFloor(*args)
- setAmpFloor(self, x)
Set the amplitude floor (lowest detected spectral amplitude), in
(negative) dB, for this Analyzer.
- setBwRegionWidth(*args)
- setBwRegionWidth(self, x)
Set the width (in Hz) of the Bandwidth Association regions
used by this Analyzer.
- setCropTime(*args)
- setCropTime(self, x)
Set the crop time (maximum temporal displacement of a time-
frequency data point from the time-domain center of the analysis
window, beyond which data points are considered "unreliable")
for this Analyzer.
- setFreqDrift(*args)
- setFreqDrift(self, x)
Set the maximum allowable frequency difference between
consecutive Breakpoints in a Partial envelope for this Analyzer.
- setFreqFloor(*args)
- setFreqFloor(self, x)
Set the amplitude floor (minimum instantaneous Partial
frequency), in Hz, for this Analyzer.
- setFreqResolution(*args)
- setFreqResolution(self, x)
Set the frequency resolution (minimum instantaneous frequency
difference between Partials) for this Analyzer. (Does not cause
other parameters to be recomputed.)
- setHopTime(*args)
- setHopTime(self, x)
Set the hop time (which corresponds approximately to the average
density of Partial envelope Breakpoint data) for this Analyzer.
- setSidelobeLevel(*args)
- setSidelobeLevel(self, x)
Set the sidelobe attenutation level for the Kaiser analysis window in
positive dB. Larger numbers (e.g. 90) give very good sidelobe
rejection but cause the window to be longer in time. Smaller
numbers raise the level of the sidelobes, increasing the likelihood
of frequency-domain interference, but allow the window to be shorter
in time.
- setWindowWidth(*args)
- setWindowWidth(self, x)
Set the frequency-domain main lobe width (measured between
zero-crossings) of the analysis window used by this Analyzer.
- sidelobeLevel(*args)
- sidelobeLevel(self) -> double
Return the sidelobe attenutation level for the Kaiser analysis window in
positive dB. Higher numbers (e.g. 90) give very good sidelobe
rejection but cause the window to be longer in time. Smaller
numbers raise the level of the sidelobes, increasing the likelihood
of frequency-domain interference, but allow the window to be shorter
in time.
- windowWidth(*args)
- windowWidth(self) -> double
Return the frequency-domain main lobe width (measured between
zero-crossings) of the analysis window used by this Analyzer.
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'Analyzer' objects>
- list of weak references to the object (if defined)
|
class AnalyzerPtr(Analyzer) |
| |
- Method resolution order:
- AnalyzerPtr
- Analyzer
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from Analyzer:
- __del__(self, destroy=<built-in function delete_Analyzer>)
- __del__(self)
Destroy this Analyzer.
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- ampFloor(*args)
- ampFloor(self) -> double
Return the amplitude floor (lowest detected spectral amplitude),
in (negative) dB, for this Analyzer.
- analyze(*args)
- analyze(self, vec, srate) -> PartialList
analyze(self, vec, srate, env) -> PartialList
Analyze a vector of (mono) samples at the given sample rate
(in Hz) and return the resulting Partials in a PartialList.
If specified, use a frequency envelope as a fundamental reference for
Partial formation.
- bwRegionWidth(*args)
- bwRegionWidth(self) -> double
Return the width (in Hz) of the Bandwidth Association regions
used by this Analyzer.
- cropTime(*args)
- cropTime(self) -> double
Return the crop time (maximum temporal displacement of a time-
frequency data point from the time-domain center of the analysis
window, beyond which data points are considered "unreliable")
for this Analyzer.
- freqDrift(*args)
- freqDrift(self) -> double
Return the maximum allowable frequency difference between
consecutive Breakpoints in a Partial envelope for this Analyzer.
- freqFloor(*args)
- freqFloor(self) -> double
Return the frequency floor (minimum instantaneous Partial
frequency), in Hz, for this Analyzer.
- freqResolution(*args)
- freqResolution(self) -> double
Return the frequency resolution (minimum instantaneous frequency
difference between Partials) for this Analyzer.
- hopTime(*args)
- hopTime(self) -> double
Return the hop time (which corresponds approximately to the
average density of Partial envelope Breakpoint data) for this
Analyzer.
- setAmpFloor(*args)
- setAmpFloor(self, x)
Set the amplitude floor (lowest detected spectral amplitude), in
(negative) dB, for this Analyzer.
- setBwRegionWidth(*args)
- setBwRegionWidth(self, x)
Set the width (in Hz) of the Bandwidth Association regions
used by this Analyzer.
- setCropTime(*args)
- setCropTime(self, x)
Set the crop time (maximum temporal displacement of a time-
frequency data point from the time-domain center of the analysis
window, beyond which data points are considered "unreliable")
for this Analyzer.
- setFreqDrift(*args)
- setFreqDrift(self, x)
Set the maximum allowable frequency difference between
consecutive Breakpoints in a Partial envelope for this Analyzer.
- setFreqFloor(*args)
- setFreqFloor(self, x)
Set the amplitude floor (minimum instantaneous Partial
frequency), in Hz, for this Analyzer.
- setFreqResolution(*args)
- setFreqResolution(self, x)
Set the frequency resolution (minimum instantaneous frequency
difference between Partials) for this Analyzer. (Does not cause
other parameters to be recomputed.)
- setHopTime(*args)
- setHopTime(self, x)
Set the hop time (which corresponds approximately to the average
density of Partial envelope Breakpoint data) for this Analyzer.
- setSidelobeLevel(*args)
- setSidelobeLevel(self, x)
Set the sidelobe attenutation level for the Kaiser analysis window in
positive dB. Larger numbers (e.g. 90) give very good sidelobe
rejection but cause the window to be longer in time. Smaller
numbers raise the level of the sidelobes, increasing the likelihood
of frequency-domain interference, but allow the window to be shorter
in time.
- setWindowWidth(*args)
- setWindowWidth(self, x)
Set the frequency-domain main lobe width (measured between
zero-crossings) of the analysis window used by this Analyzer.
- sidelobeLevel(*args)
- sidelobeLevel(self) -> double
Return the sidelobe attenutation level for the Kaiser analysis window in
positive dB. Higher numbers (e.g. 90) give very good sidelobe
rejection but cause the window to be longer in time. Smaller
numbers raise the level of the sidelobes, increasing the likelihood
of frequency-domain interference, but allow the window to be shorter
in time.
- windowWidth(*args)
- windowWidth(self) -> double
Return the frequency-domain main lobe width (measured between
zero-crossings) of the analysis window used by this Analyzer.
Data and other attributes inherited from Analyzer:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'Analyzer' objects>
- list of weak references to the object (if defined)
|
class Breakpoint(__builtin__.object) |
|
Proxy of C++ Breakpoint class
A Breakpoint represents a single breakpoint in the time-varying
frequency, amplitude, and bandwidth envelope of a Reassigned
Bandwidth-Enhanced Partial.
Instantaneous phase is also stored, but is only used at the onset of
a partial, or when it makes a transition from zero to nonzero amplitude.
A Partial represents a Reassigned Bandwidth-Enhanced model component.
For more information about Bandwidth-Enhanced Partials and the
Reassigned Bandwidth-Enhanced Additive Sound Model, refer to
the Loris website: www.cerlsoundgroup.org/Loris/ |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_Breakpoint>)
- __del__(self)
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self, f, a, b, p=0.) -> Breakpoint
__init__(self, f, a, b) -> Breakpoint
__init__(self, rhs) -> Breakpoint
A Breakpoint represents a single breakpoint in the time-varying
frequency, amplitude, and bandwidth envelope of a Reassigned
Bandwidth-Enhanced Partial.
Instantaneous phase is also stored, but is only used at the onset of
a partial, or when it makes a transition from zero to nonzero amplitude.
A Partial represents a Reassigned Bandwidth-Enhanced model component.
For more information about Bandwidth-Enhanced Partials and the
Reassigned Bandwidth-Enhanced Additive Sound Model, refer to
the Loris website: www.cerlsoundgroup.org/Loris/
- __repr__(self)
- __setattr__ lambda self, name, value
- amplitude(*args)
- amplitude(self) -> double
- bandwidth(*args)
- bandwidth(self) -> double
- frequency(*args)
- frequency(self) -> double
- phase(*args)
- phase(self) -> double
- setAmplitude(*args)
- setAmplitude(self, x)
- setBandwidth(*args)
- setBandwidth(self, x)
- setFrequency(*args)
- setFrequency(self, x)
- setPhase(*args)
- setPhase(self, x)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'Breakpoint' objects>
- list of weak references to the object (if defined)
|
class BreakpointEnvelope(LinearEnvelope) |
|
Proxy of C++ BreakpointEnvelope class
BreakpointEnvelope is deprecated, use LinearEnvelope instead. |
|
- Method resolution order:
- BreakpointEnvelope
- LinearEnvelope
- __builtin__.object
Methods defined here:
- __del__(self, destroy=<built-in function delete_BreakpointEnvelope>)
- __del__(self)
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self) -> BreakpointEnvelope
__init__(self, ??) -> BreakpointEnvelope
__init__(self, initialValue) -> BreakpointEnvelope
BreakpointEnvelope is deprecated, use LinearEnvelope instead.
- __repr__(self)
- __setattr__ lambda self, name, value
- insertBreakpoint(*args)
- insertBreakpoint(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
- valueAt(*args)
- valueAt(self, x) -> double
Return the (linearly-interpolated) value of the envelope
at the specified time.
Data and other attributes defined here:
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
Methods inherited from LinearEnvelope:
- insert(*args)
- insert(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
Data and other attributes inherited from LinearEnvelope:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'LinearEnvelope' objects>
- list of weak references to the object (if defined)
|
class BreakpointEnvelopePtr(BreakpointEnvelope) |
| |
- Method resolution order:
- BreakpointEnvelopePtr
- BreakpointEnvelope
- LinearEnvelope
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from BreakpointEnvelope:
- __del__(self, destroy=<built-in function delete_BreakpointEnvelope>)
- __del__(self)
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- insertBreakpoint(*args)
- insertBreakpoint(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
- valueAt(*args)
- valueAt(self, x) -> double
Return the (linearly-interpolated) value of the envelope
at the specified time.
Data and other attributes inherited from BreakpointEnvelope:
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
Methods inherited from LinearEnvelope:
- insert(*args)
- insert(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
Data and other attributes inherited from LinearEnvelope:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'LinearEnvelope' objects>
- list of weak references to the object (if defined)
|
class DoubleVector(__builtin__.object) |
|
Proxy of C++ DoubleVector class |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_DoubleVector>)
- __del__(self)
- __delitem__(*args)
- __delitem__(self, i)
- __delslice__(*args)
- __delslice__(self, i, j)
- __getattr__ lambda self, name
- __getitem__(*args)
- __getitem__(self, i) -> value_type
- __getslice__(*args)
- __getslice__(self, i, j) -> std::vector<(double,std::allocator<(double)>)>
- __init__(self, *args)
- __init__(self) -> DoubleVector
__init__(self, ??) -> DoubleVector
__init__(self, size) -> DoubleVector
__init__(self, size, value) -> DoubleVector
- __len__(*args)
- __len__(self) -> size_type
- __nonzero__(*args)
- __nonzero__(self) -> bool
- __repr__(self)
- __setattr__ lambda self, name, value
- __setitem__(*args)
- __setitem__(self, i, x)
- __setslice__(*args)
- __setslice__(self, i, j, v)
- append(*args)
- append(self, x)
- assign(*args)
- assign(self, n, x)
- back(*args)
- back(self) -> value_type
- capacity(*args)
- capacity(self) -> size_type
- clear(*args)
- clear(self)
- empty(*args)
- empty(self) -> bool
- front(*args)
- front(self) -> value_type
- get_allocator(*args)
- get_allocator(self) -> allocator_type
- pop(*args)
- pop(self) -> value_type
- pop_back(*args)
- pop_back(self)
- push_back(*args)
- push_back(self, x)
- reserve(*args)
- reserve(self, n)
- resize(*args)
- resize(self, new_size)
resize(self, new_size, x)
- size(*args)
- size(self) -> size_type
- swap(*args)
- swap(self, v)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'DoubleVector' objects>
- list of weak references to the object (if defined)
|
class DoubleVectorPtr(DoubleVector) |
| |
- Method resolution order:
- DoubleVectorPtr
- DoubleVector
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from DoubleVector:
- __del__(self, destroy=<built-in function delete_DoubleVector>)
- __del__(self)
- __delitem__(*args)
- __delitem__(self, i)
- __delslice__(*args)
- __delslice__(self, i, j)
- __getattr__ lambda self, name
- __getitem__(*args)
- __getitem__(self, i) -> value_type
- __getslice__(*args)
- __getslice__(self, i, j) -> std::vector<(double,std::allocator<(double)>)>
- __len__(*args)
- __len__(self) -> size_type
- __nonzero__(*args)
- __nonzero__(self) -> bool
- __repr__(self)
- __setattr__ lambda self, name, value
- __setitem__(*args)
- __setitem__(self, i, x)
- __setslice__(*args)
- __setslice__(self, i, j, v)
- append(*args)
- append(self, x)
- assign(*args)
- assign(self, n, x)
- back(*args)
- back(self) -> value_type
- capacity(*args)
- capacity(self) -> size_type
- clear(*args)
- clear(self)
- empty(*args)
- empty(self) -> bool
- front(*args)
- front(self) -> value_type
- get_allocator(*args)
- get_allocator(self) -> allocator_type
- pop(*args)
- pop(self) -> value_type
- pop_back(*args)
- pop_back(self)
- push_back(*args)
- push_back(self, x)
- reserve(*args)
- reserve(self, n)
- resize(*args)
- resize(self, new_size)
resize(self, new_size, x)
- size(*args)
- size(self) -> size_type
- swap(*args)
- swap(self, v)
Data and other attributes inherited from DoubleVector:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'DoubleVector' objects>
- list of weak references to the object (if defined)
|
class LinearEnvelope(__builtin__.object) |
|
Proxy of C++ LinearEnvelope class
A LinearEnvelope represents a linear segment breakpoint
function with infinite extension at each end (that is, the
values past either end of the breakpoint function have the
values at the nearest end). |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_LinearEnvelope>)
- __del__(self)
Destroy this LinearEnvelope.
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self) -> LinearEnvelope
__init__(self, ??) -> LinearEnvelope
__init__(self, initialValue) -> LinearEnvelope
Construct and return a new LinearEnvelope, empty,
or having a single breakpoint at time 0 with the
specified value.
An LinearEnvelope can also be copied from another
instance.
- __repr__(self)
- __setattr__ lambda self, name, value
- insert(*args)
- insert(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
- insertBreakpoint(*args)
- insertBreakpoint(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
- valueAt(*args)
- valueAt(self, x) -> double
Return the (linearly-interpolated) value of the envelope
at the specified time.
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'LinearEnvelope' objects>
- list of weak references to the object (if defined)
|
class LinearEnvelopePtr(LinearEnvelope) |
| |
- Method resolution order:
- LinearEnvelopePtr
- LinearEnvelope
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from LinearEnvelope:
- __del__(self, destroy=<built-in function delete_LinearEnvelope>)
- __del__(self)
Destroy this LinearEnvelope.
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- insert(*args)
- insert(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
- insertBreakpoint(*args)
- insertBreakpoint(self, time, value)
Insert a new breakpoint into the envelope at the specified
time and value.
- valueAt(*args)
- valueAt(self, x) -> double
Return the (linearly-interpolated) value of the envelope
at the specified time.
Data and other attributes inherited from LinearEnvelope:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'LinearEnvelope' objects>
- list of weak references to the object (if defined)
|
class Marker(__builtin__.object) |
|
Proxy of C++ Marker class
Class Marker represents a labeled time point in a set of Partials
or a vector of samples. Collections of Markers (see the MarkerContainer
definition below) are held by the File I/O classes in Loris (AiffFile,
SdifFile, and SpcFile) to identify temporal features in imported
and exported data. |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_Marker>)
- __del__(self)
Return a string describing the Loris version number.
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self) -> Marker
__init__(self, t, s) -> Marker
__init__(self, other) -> Marker
Initialize a Marker with the specified time (in seconds) and name,
or copy the time and name from another Marker. If unspecified, time
is zero and the label is empty.
- __repr__(self)
- __setattr__ lambda self, name, value
- name(*args)
- name(self) -> char
Return the name of this Marker.
- setName(*args)
- setName(self, s)
Set the name of the Marker.
- setTime(*args)
- setTime(self, t)
Set the time (in seconds) associated with this Marker.
- time(*args)
- time(self) -> double
Return the time (in seconds) associated with this Marker.
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'Marker' objects>
- list of weak references to the object (if defined)
|
class MarkerPtr(Marker) |
| |
- Method resolution order:
- MarkerPtr
- Marker
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from Marker:
- __del__(self, destroy=<built-in function delete_Marker>)
- __del__(self)
Return a string describing the Loris version number.
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- name(*args)
- name(self) -> char
Return the name of this Marker.
- setName(*args)
- setName(self, s)
Set the name of the Marker.
- setTime(*args)
- setTime(self, t)
Set the time (in seconds) associated with this Marker.
- time(*args)
- time(self) -> double
Return the time (in seconds) associated with this Marker.
Data and other attributes inherited from Marker:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'Marker' objects>
- list of weak references to the object (if defined)
|
class MarkerVector(__builtin__.object) |
|
Proxy of C++ MarkerVector class |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_MarkerVector>)
- __del__(self)
- __delitem__(*args)
- __delitem__(self, i)
- __delslice__(*args)
- __delslice__(self, i, j)
- __getattr__ lambda self, name
- __getitem__(*args)
- __getitem__(self, i) -> value_type
- __getslice__(*args)
- __getslice__(self, i, j) -> std::vector<(Marker,std::allocator<(Marker)>)>
- __init__(self, *args)
- __init__(self) -> MarkerVector
__init__(self, ??) -> MarkerVector
__init__(self, size) -> MarkerVector
__init__(self, size, value) -> MarkerVector
- __len__(*args)
- __len__(self) -> size_type
- __nonzero__(*args)
- __nonzero__(self) -> bool
- __repr__(self)
- __setattr__ lambda self, name, value
- __setitem__(*args)
- __setitem__(self, i, x)
- __setslice__(*args)
- __setslice__(self, i, j, v)
- append(*args)
- append(self, x)
- assign(*args)
- assign(self, n, x)
- back(*args)
- back(self) -> value_type
- capacity(*args)
- capacity(self) -> size_type
- clear(*args)
- clear(self)
- empty(*args)
- empty(self) -> bool
- front(*args)
- front(self) -> value_type
- get_allocator(*args)
- get_allocator(self) -> allocator_type
- pop(*args)
- pop(self) -> value_type
- pop_back(*args)
- pop_back(self)
- push_back(*args)
- push_back(self, x)
- reserve(*args)
- reserve(self, n)
- resize(*args)
- resize(self, new_size)
resize(self, new_size, x)
- size(*args)
- size(self) -> size_type
- swap(*args)
- swap(self, v)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'MarkerVector' objects>
- list of weak references to the object (if defined)
|
class MarkerVectorPtr(MarkerVector) |
| |
- Method resolution order:
- MarkerVectorPtr
- MarkerVector
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from MarkerVector:
- __del__(self, destroy=<built-in function delete_MarkerVector>)
- __del__(self)
- __delitem__(*args)
- __delitem__(self, i)
- __delslice__(*args)
- __delslice__(self, i, j)
- __getattr__ lambda self, name
- __getitem__(*args)
- __getitem__(self, i) -> value_type
- __getslice__(*args)
- __getslice__(self, i, j) -> std::vector<(Marker,std::allocator<(Marker)>)>
- __len__(*args)
- __len__(self) -> size_type
- __nonzero__(*args)
- __nonzero__(self) -> bool
- __repr__(self)
- __setattr__ lambda self, name, value
- __setitem__(*args)
- __setitem__(self, i, x)
- __setslice__(*args)
- __setslice__(self, i, j, v)
- append(*args)
- append(self, x)
- assign(*args)
- assign(self, n, x)
- back(*args)
- back(self) -> value_type
- capacity(*args)
- capacity(self) -> size_type
- clear(*args)
- clear(self)
- empty(*args)
- empty(self) -> bool
- front(*args)
- front(self) -> value_type
- get_allocator(*args)
- get_allocator(self) -> allocator_type
- pop(*args)
- pop(self) -> value_type
- pop_back(*args)
- pop_back(self)
- push_back(*args)
- push_back(self, x)
- reserve(*args)
- reserve(self, n)
- resize(*args)
- resize(self, new_size)
resize(self, new_size, x)
- size(*args)
- size(self) -> size_type
- swap(*args)
- swap(self, v)
Data and other attributes inherited from MarkerVector:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'MarkerVector' objects>
- list of weak references to the object (if defined)
|
class Partial(__builtin__.object) |
|
Proxy of C++ Partial class
A Partial represents a single component in the
reassigned bandwidth-enhanced additive model. A Partial consists of a
chain of Breakpoints describing the time-varying frequency, amplitude,
and bandwidth (or noisiness) envelopes of the component, and a 4-byte
label. The Breakpoints are non-uniformly distributed in time. For more
information about Reassigned Bandwidth-Enhanced Analysis and the
Reassigned Bandwidth-Enhanced Additive Sound Model, refer to the Loris
website: www.cerlsoundgroup.org/Loris/. |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_Partial>)
- __del__(self)
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self) -> Partial
__init__(self, ??) -> Partial
A Partial represents a single component in the
reassigned bandwidth-enhanced additive model. A Partial consists of a
chain of Breakpoints describing the time-varying frequency, amplitude,
and bandwidth (or noisiness) envelopes of the component, and a 4-byte
label. The Breakpoints are non-uniformly distributed in time. For more
information about Reassigned Bandwidth-Enhanced Analysis and the
Reassigned Bandwidth-Enhanced Additive Sound Model, refer to the Loris
website: www.cerlsoundgroup.org/Loris/.
- __iter__(*args)
- __iter__(self) -> PartialIterator
- __repr__(self)
- __setattr__ lambda self, name, value
- amplitudeAt(*args)
- amplitudeAt(self, time) -> double
- bandwidthAt(*args)
- bandwidthAt(self, time) -> double
- duration(*args)
- duration(self) -> double
- endTime(*args)
- endTime(self) -> double
- erase(*args)
- erase(self, pos)
- findAfter(*args)
- findAfter(self, time) -> PartialIterator
- findNearest(*args)
- findNearest(self, time) -> PartialIterator
- first(*args)
- first(self) -> Breakpoint
- frequencyAt(*args)
- frequencyAt(self, time) -> double
- initialPhase(*args)
- initialPhase(self) -> double
- insert(*args)
- insert(self, time, bp) -> PartialIterator
- iterator(*args)
- iterator(self) -> PartialIterator
- label(*args)
- label(self) -> int
- last(*args)
- last(self) -> Breakpoint
- numBreakpoints(*args)
- numBreakpoints(self) -> long
- phaseAt(*args)
- phaseAt(self, time) -> double
- setLabel(*args)
- setLabel(self, l)
- startTime(*args)
- startTime(self) -> double
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'Partial' objects>
- list of weak references to the object (if defined)
|
class PartialList(__builtin__.object) |
|
Proxy of C++ PartialList class
A PartialList represents a collection of Bandwidth-Enhanced
Partials, each having a trio of synchronous, non-uniformly-
sampled breakpoint envelopes representing the time-varying
frequency, amplitude, and noisiness of a single bandwidth-
enhanced sinusoid.
For more information about Bandwidth-Enhanced Partials and the
Reassigned Bandwidth-Enhanced Additive Sound Model, refer to
the Loris website: www.cerlsoundgroup.org/Loris/ |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_PartialList>)
- __del__(self)
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self) -> PartialList
__init__(self, rhs) -> PartialList
A PartialList represents a collection of Bandwidth-Enhanced
Partials, each having a trio of synchronous, non-uniformly-
sampled breakpoint envelopes representing the time-varying
frequency, amplitude, and noisiness of a single bandwidth-
enhanced sinusoid.
For more information about Bandwidth-Enhanced Partials and the
Reassigned Bandwidth-Enhanced Additive Sound Model, refer to
the Loris website: www.cerlsoundgroup.org/Loris/
- __iter__(*args)
- __iter__(self) -> PartialListIterator
- __len__(*args)
- __len__(self) -> unsigned long
- __repr__(self)
- __setattr__ lambda self, name, value
- append(*args)
- append(self, partial)
append(self, other)
- clear(*args)
- clear(self)
- erase(*args)
- erase(self, partial)
- first(*args)
- first(self) -> Partial
- iterator(*args)
- iterator(self) -> PartialListIterator
- last(*args)
- last(self) -> Partial
- size(*args)
- size(self) -> unsigned long
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'PartialList' objects>
- list of weak references to the object (if defined)
|
class PartialListIterator(__builtin__.object) |
|
Proxy of C++ PartialListIterator class |
|
Methods defined here:
- __getattr__ lambda self, name
- __init__(self)
- __repr__(self)
- __setattr__ lambda self, name, value
- atEnd(*args)
- atEnd(self) -> bool
- next(*args)
- next(self) -> Partial
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'PartialListIterator' objects>
- list of weak references to the object (if defined)
|
class PartialPtr(Partial) |
| |
- Method resolution order:
- PartialPtr
- Partial
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from Partial:
- __del__(self, destroy=<built-in function delete_Partial>)
- __del__(self)
- __getattr__ lambda self, name
- __iter__(*args)
- __iter__(self) -> PartialIterator
- __repr__(self)
- __setattr__ lambda self, name, value
- amplitudeAt(*args)
- amplitudeAt(self, time) -> double
- bandwidthAt(*args)
- bandwidthAt(self, time) -> double
- duration(*args)
- duration(self) -> double
- endTime(*args)
- endTime(self) -> double
- erase(*args)
- erase(self, pos)
- findAfter(*args)
- findAfter(self, time) -> PartialIterator
- findNearest(*args)
- findNearest(self, time) -> PartialIterator
- first(*args)
- first(self) -> Breakpoint
- frequencyAt(*args)
- frequencyAt(self, time) -> double
- initialPhase(*args)
- initialPhase(self) -> double
- insert(*args)
- insert(self, time, bp) -> PartialIterator
- iterator(*args)
- iterator(self) -> PartialIterator
- label(*args)
- label(self) -> int
- last(*args)
- last(self) -> Breakpoint
- numBreakpoints(*args)
- numBreakpoints(self) -> long
- phaseAt(*args)
- phaseAt(self, time) -> double
- setLabel(*args)
- setLabel(self, l)
- startTime(*args)
- startTime(self) -> double
Data and other attributes inherited from Partial:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'Partial' objects>
- list of weak references to the object (if defined)
|
class SdifFile(__builtin__.object) |
|
Proxy of C++ SdifFile class
Class SdifFile represents reassigned bandwidth-enhanced Partial
data in a SDIF-format data file. Construction of an SdifFile
from a stream or filename automatically imports the Partial
data. |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_SdifFile>)
- __del__(self)
Destroy this SdifFile.
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self, filename) -> SdifFile
__init__(self) -> SdifFile
__init__(self, l) -> SdifFile
Initialize an instance of SdifFile by importing Partial data from
the file having the specified filename or path,
or initialize an instance of SdifFile storing the Partials in
the specified PartialList. If no PartialList is specified,
construct an empty SdifFile.
- __repr__(self)
- __setattr__ lambda self, name, value
- addMarkers(*args)
- addMarkers(self, markers)
Append a collection of Markers for to the existing
set of Markers for this SdifFile.
- addPartials(*args)
- addPartials(self, l)
Add all the Partials in a PartialList to this SdifFile.
- markers(*args)
- markers(self) -> MarkerVector
Return the (possibly empty) collection of Markers for
this SdifFile.
- partials(*args)
- partials(self) -> PartialList
Return a copy of the Partials represented by this SdifFile.
- setMarkers(*args)
- setMarkers(self, markers)
Specify a new (possibly empty) collection of Markers for
this SdifFile.
- write(*args)
- write(self, path)
Export the Partials represented by this SdifFile to
the file having the specified filename or path.
- write1TRC(*args)
- write1TRC(self, path)
Export the envelope Partials represented by this SdifFile to
the file having the specified filename or path in the 1TRC
format, resampled, and without phase or bandwidth information.
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'SdifFile' objects>
- list of weak references to the object (if defined)
|
class SdifFilePtr(SdifFile) |
| |
- Method resolution order:
- SdifFilePtr
- SdifFile
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from SdifFile:
- __del__(self, destroy=<built-in function delete_SdifFile>)
- __del__(self)
Destroy this SdifFile.
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- addMarkers(*args)
- addMarkers(self, markers)
Append a collection of Markers for to the existing
set of Markers for this SdifFile.
- addPartials(*args)
- addPartials(self, l)
Add all the Partials in a PartialList to this SdifFile.
- markers(*args)
- markers(self) -> MarkerVector
Return the (possibly empty) collection of Markers for
this SdifFile.
- partials(*args)
- partials(self) -> PartialList
Return a copy of the Partials represented by this SdifFile.
- setMarkers(*args)
- setMarkers(self, markers)
Specify a new (possibly empty) collection of Markers for
this SdifFile.
- write(*args)
- write(self, path)
Export the Partials represented by this SdifFile to
the file having the specified filename or path.
- write1TRC(*args)
- write1TRC(self, path)
Export the envelope Partials represented by this SdifFile to
the file having the specified filename or path in the 1TRC
format, resampled, and without phase or bandwidth information.
Data and other attributes inherited from SdifFile:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'SdifFile' objects>
- list of weak references to the object (if defined)
|
class SpcFile(__builtin__.object) |
|
Proxy of C++ SpcFile class
Class SpcFile represents a collection of reassigned bandwidth-enhanced
Partial data in a SPC-format envelope stream data file, used by the
real-time bandwidth-enhanced additive synthesizer implemented on the
Symbolic Sound Kyma Sound Design Workstation. Class SpcFile manages
file I/O and conversion between Partials and envelope parameter streams. |
|
Methods defined here:
- __del__(self, destroy=<built-in function delete_SpcFile>)
- __del__(self)
Destroy this SpcFile.
- __getattr__ lambda self, name
- __init__(self, *args)
- __init__(self, filename) -> SpcFile
__init__(self, midiNoteNum=60) -> SpcFile
__init__(self) -> SpcFile
__init__(self, l, midiNoteNum=60) -> SpcFile
__init__(self, l) -> SpcFile
Construct and return a new SpcFile by importing envelope parameter
streams from the file having the specified filename or path,
or initialize an instance of SpcFile having the specified fractional
MIDI note number. If a PartialList is specified, add those
Partials to the file. Otherwise, the new SpcFile contains
no Partials (or envelope parameter streams).
The default MIDI note number is 60 (middle C).
- __repr__(self)
- __setattr__ lambda self, name, value
- addMarkers(*args)
- addMarkers(self, markers)
Append a collection of Markers for to the existing
set of Markers for this SpcFile.
- addPartial(*args)
- addPartial(self, p)
addPartial(self, p, label)
Add the specified Partial to the enevelope parameter streams
represented by this SpcFile. If a label is specified, use that
label, instead of the Partial's label, for the Partial added to
the SpcFile.
A SpcFile can contain only one Partial having any given (non-zero)
label, so an added Partial will replace a Partial having the
same label, if such a Partial exists.
This may throw an InvalidArgument exception if an attempt is made
to add unlabeled Partials, or Partials labeled higher than the
allowable maximum.
- addPartials(*args)
- addPartials(self, l)
Add all the Partials in a PartialList to this SpcFile.
A SpcFile can contain only one Partial having any given (non-zero)
label, so an added Partial will replace a Partial having the
same label, if such a Partial exists.
This may throw an InvalidArgument exception if an attempt is made
to add unlabeled Partials, or Partials labeled higher than the
allowable maximum.
- markers(*args)
- markers(self) -> MarkerVector
Return the (possibly empty) collection of Markers for
this SpcFile.
- midiNoteNumber(*args)
- midiNoteNumber(self) -> double
- partials(*args)
- partials(self) -> PartialList
Return a copy of the Partials represented by this SdifFile.
- sampleRate(*args)
- sampleRate(self) -> double
Return the sample rate for this SpcFile in Hz.
- setMarkers(*args)
- setMarkers(self, markers)
Specify a new (possibly empty) collection of Markers for
this SpcFile.
- setMidiNoteNumber(*args)
- setMidiNoteNumber(self, nn)
Set the fractional MIDI note number assigned to this SpcFile.
If the sound has no definable pitch, use note number 60.0 (the default).
- setSampleRate(*args)
- setSampleRate(self, rate)
Set the sampling freqency in Hz for the spc data in this
SpcFile. This is the rate at which Kyma must be running to ensure
proper playback of bandwidth-enhanced Spc data.
The default sample rate is 44100 Hz.
- write(*args)
- write(self, filename, enhanced=True, endApproachTime=0)
write(self, filename, enhanced=True)
write(self, filename)
Export the envelope parameter streams represented by this SpcFile to
the file having the specified filename or path. Export phase-correct
bandwidth-enhanced envelope parameter streams if enhanced is true
(the default), or pure sinsoidal streams otherwise.
A nonzero endApproachTime indicates that the Partials do not include a
release or decay, but rather end in a static spectrum corresponding to the
final Breakpoint values of the partials. The endApproachTime specifies how
long before the end of the sound the amplitude, frequency, and bandwidth
values are to be modified to make a gradual transition to the static spectrum.
If the endApproachTime is not specified, it is assumed to be zero,
corresponding to Partials that decay or release normally.
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'SpcFile' objects>
- list of weak references to the object (if defined)
|
class SpcFilePtr(SpcFile) |
| |
- Method resolution order:
- SpcFilePtr
- SpcFile
- __builtin__.object
Methods defined here:
- __init__(self, this)
Methods inherited from SpcFile:
- __del__(self, destroy=<built-in function delete_SpcFile>)
- __del__(self)
Destroy this SpcFile.
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- addMarkers(*args)
- addMarkers(self, markers)
Append a collection of Markers for to the existing
set of Markers for this SpcFile.
- addPartial(*args)
- addPartial(self, p)
addPartial(self, p, label)
Add the specified Partial to the enevelope parameter streams
represented by this SpcFile. If a label is specified, use that
label, instead of the Partial's label, for the Partial added to
the SpcFile.
A SpcFile can contain only one Partial having any given (non-zero)
label, so an added Partial will replace a Partial having the
same label, if such a Partial exists.
This may throw an InvalidArgument exception if an attempt is made
to add unlabeled Partials, or Partials labeled higher than the
allowable maximum.
- addPartials(*args)
- addPartials(self, l)
Add all the Partials in a PartialList to this SpcFile.
A SpcFile can contain only one Partial having any given (non-zero)
label, so an added Partial will replace a Partial having the
same label, if such a Partial exists.
This may throw an InvalidArgument exception if an attempt is made
to add unlabeled Partials, or Partials labeled higher than the
allowable maximum.
- markers(*args)
- markers(self) -> MarkerVector
Return the (possibly empty) collection of Markers for
this SpcFile.
- midiNoteNumber(*args)
- midiNoteNumber(self) -> double
- partials(*args)
- partials(self) -> PartialList
Return a copy of the Partials represented by this SdifFile.
- sampleRate(*args)
- sampleRate(self) -> double
Return the sample rate for this SpcFile in Hz.
- setMarkers(*args)
- setMarkers(self, markers)
Specify a new (possibly empty) collection of Markers for
this SpcFile.
- setMidiNoteNumber(*args)
- setMidiNoteNumber(self, nn)
Set the fractional MIDI note number assigned to this SpcFile.
If the sound has no definable pitch, use note number 60.0 (the default).
- setSampleRate(*args)
- setSampleRate(self, rate)
Set the sampling freqency in Hz for the spc data in this
SpcFile. This is the rate at which Kyma must be running to ensure
proper playback of bandwidth-enhanced Spc data.
The default sample rate is 44100 Hz.
- write(*args)
- write(self, filename, enhanced=True, endApproachTime=0)
write(self, filename, enhanced=True)
write(self, filename)
Export the envelope parameter streams represented by this SpcFile to
the file having the specified filename or path. Export phase-correct
bandwidth-enhanced envelope parameter streams if enhanced is true
(the default), or pure sinsoidal streams otherwise.
A nonzero endApproachTime indicates that the Partials do not include a
release or decay, but rather end in a static spectrum corresponding to the
final Breakpoint values of the partials. The endApproachTime specifies how
long before the end of the sound the amplitude, frequency, and bandwidth
values are to be modified to make a gradual transition to the static spectrum.
If the endApproachTime is not specified, it is assumed to be zero,
corresponding to Partials that decay or release normally.
Data and other attributes inherited from SpcFile:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
- __weakref__ = <attribute '__weakref__' of 'SpcFile' objects>
- list of weak references to the object (if defined)
| |