Send data to audio card for playback.
Use TSignalOut for playback of audio data. There are two ways to provide an audio stream to the component. One is via the Pull method, which is called each time a new buffer is required once the processing has started.
The Pull method is called only, if AutoPull property is True. The other method uses the OnBufferFill event. In both cases the audio data must be placed in the TSignal object connected to the Input property.
| Name | Type | Description |
|---|
| Active | Boolean | |
| AutoPull | Boolean | Set the property to True, for the component to call Pull method each time a new buffer is requested. |
| BandWidth | Double | Return the bandwidth of the signal. |
| BandwidthH | Double | Returns the upper bandwidth edge of the signal. |
| BandwidthL | Double | Returns the lower bandwidth edge of the signal. |
| BlockAssign | Boolean | Block streaming of specific properties when storing only a "template". |
| BufferSize | Int32 | |
| ChannelCount | Int32 | Get or set the number of channels multiplexed in the data property. |
| Complex | Boolean | Set this property to true, to request computation using complex numbers. |
| Continuous | Boolean | If True, the component will pass on the udpate request to the connected component. |
| Data | TVec | Stores the result of the processing. |
| Dt | Double | Time between two consecutive samples. |
| EditorActive | Boolean | Returns True, if the component editor is displayed. |
| FloatPrecision | TMtxFloatPrecision | Set this property to request computation in 32bit/64bit precision with real/complex numbers. |
| FloatPrecisionLock | Boolean | Set this property to true to lock changes to FloatPrecision property. |
| HzRes | Double | Frequency resolution obtained, if an FFT algorithm would be run on the data. |
| Input | TSignal | |
| IsDouble | Boolean | Set this property to false, to request computation in 32bit floating point precision, 64bit, if true. |
| Item | Double | Default property to access values of a real signal. |
| ItemNumber | Int32 | Number to label the object when it is an item in the List. |
| Length | Int32 | Get or set the length of the signal in samples. |
| Marks | TMarkList | Stores the time stamps and amplitude of selected samples. |
| MaxAmplt | Double | Stores the maximum amplitude of the signal found by the MinMax method. |
| MaxX | Double | Use the MaxX property to store the time stamp (in seconds) of the right most sample. |
| MinAmplt | Double | Stores the minimum amplitude of the signal found by the MinMax method. |
| MinX | Double | Use the MinX property to store the time stamp of the left-most sample. |
| MonitorAggressiveness | Int32 | Defines how aggressivelly will the MonitorData function attempt to obtain the very latest data (just to be recorded or just to be played back.) The value is defined in miliseconds. |
| MonitorFreq | Single | The property keeps the track of the actual frequency of the calls to the MonitorData property. |
| NumBuffers | Int32 | Defines number of buffers being gueued to be processed. |
| OnAfterUpdate | TNotifyEvent | The event is triggered after the call to the Update method. |
| OnBeforeUpdate | TNotifyEvent | The event is triggered just before the call to the Update method. |
| OnDisplayUpdate | TNotifyEvent | The event is triggered after the OnAfterUpdate event. Use this event to update any associated charts or graphs or result tables. |
| OnGetInput | TNotifyEvent | If the Input property is not assigned, the component will call OnGetInput. |
| OnNotifyUpdate | TNotifyEvent | The event is called after a call to InternalUpdate, OnAfterUpdate and OnDisplayUpdate from within the Update method. |
| OnParameterUpdate | TNotifyEvent | The event is triggered when ParamUpdate method is called. The ParamUpdate method is usually called by component editors when a value was changed by the user and the editor was "Live". |
| Overlapping | Single | The property holds the statistics for the MonitorData method. |
| Paused | Boolean | Set it to true, if you want to pause the playback. |
| PipeState | TPipeState | Returns the state of the pipe after the last update. |
| Quantization | UInt16 | Define dynamics of the signal. 8,16 or 24 bit. |
| Reference | TReferenceList | Stores a list of components that have to be notified, when this component is destroyed. |
| Rounding | TRounding | Specifies the rounding mode used when converting floating point data to the integer type format needed by the windows sound driver. |
| SamplingFrequency | Double | Defines the sampling frequency of the signal. |
| SamplingTime | Double | The length of the signal in seconds. |
| ScaleFactor | Double | Defines the scale factor by which the data will be scaled just before it will be played. |
| SuspendNotifyUpdate | Boolean | Set this property to True, to prevent calling OnNotifyUpdate from the Update Method. |
| UsesInputs | Boolean | Set it to True to indicate, that valid signals will be connected to the Input or Inputs properties. |
| WaveDevice | Int32 | Set WaveDevice to -1, to always use default windows sound device. |
| Name | Description |
|---|
| AllowStreaming | Returns the negatated value of BlockAssign. |
| Append | Appends Sample to the end of the signal. |
| Assign | Assign values of all published properties from Source. |
| AssignTemplate | Assign values of "template-like" published properties from Source. |
| Copy | Copies signal Data and sampling frequency information. |
| Crest | Compute the CREST parameter. |
| ctor (3) | |
| Dispose | |
| EditorClass | |
| ElapsedSamples | The function returns the total number of samples elapsed since the start of the playback. |
| ElapsedTime | The function returns the total time elapsed in seconds since the start of the playback. |
| InputsDirty | If all Inputs[i] are dirty the function returns true. |
| InternalPull | When called, the method will pass Update requests recursively to all connected objects. |
| Invalidate | Notifies all connected components that this component has fresh data. |
| LoadFromStream | Load the component from Src stream. |
| LoadTemplateFromFile | Load a template from file. |
| LoadTemplateFromStream | Load a template from stream. |
| MarksToStrings | Convert marks to strings. |
| MinMax | Find minimum and maximum amplitude and store the result in the MinAmplt and MaxAmplt properties. |
| MonitorData (2) | Returns data multiplexed. |
| ParamUpdate | The method can be assigned to some other component even handler, as a notification that a parameter has changed and that Self should consider a recalculation. |
| Peak | Find the maximum deviation of the signal from its mean value. |
| PipeReset | Recursively processes all connected components backward and calls Reset method. |
| Pull | Request recalculation of the entire chain of all connected components. |
| PullUntilEnd | Calls Pull until pipeEnd is returned. |
| RecomendedBufferLength | To ensure skip free recording an playback, audio buffers must have some minimum size. |
| RecomendedBufferSize | To ensure skip free recording an playback, audio buffers must have some minimum size. |
| Reset | Reset is called after loading the data from stream or file. |
| SaveTemplateToFile | Save template to file. |
| SaveTemplateToStream | Save template to stream. |
| SaveToStream | Save the component to Dst stream. |
| Size | Assign the size of the signal from Src. |
| Start | Start playback. |
| Stereo | Returns True, if the signal is Stereo. |
| StopAtOnce | |
| StopGracefully | |
| Update | Recalculate request. |
| UpdateNotify | Call this method only, if SuspendNotifyUpdate is True. |
| ValuesToStrings | Convert values to strings. |