Click or drag to resize
Accord.NET (logo)

Signal Methods

The Signal type exposes the following members.

Methods
  NameDescription
Public methodCopyTo(Array)
Copies this signal to a given array.
Public methodCopyTo(Double)
Copies this signal to a given array.
Public methodCopyTo(Single)
Copies this signal to a given array.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Public methodStatic memberDurationOfSamples
Gets the duration of each sample in a signal with the given number of samples and sampling rate.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Signal is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodStatic memberFromArray(Array, Int32, SampleFormat)
Creates a new Signal from a float array.
Public methodStatic memberFromArray(Array, Int32, Int32, SampleFormat)
Creates a new Signal from a float array.
Public methodStatic memberFromArray(Array, Int32, Int32, Int32, SampleFormat)
Creates a new Signal from a float array.
Public methodStatic memberFromFile
Loads a signal from a file, such as a ".wav" file.
Public methodCode exampleGetEnergy
Computes the signal energy.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSample
Gets the value of the specified sample in the Signal.
Public methodStatic memberGetSampleSize
Gets the size (in bits) of a sample format.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNumberOfSamples
Gets the number of samples contained in a signal of given duration and sampling rate.
Public methodSetSample
Sets the value of the specified sample in the Signal.
Public methodToComplex
Converts this signal to a ComplexSignal object.
Public methodToDouble
Converts this signal into a array of floating-point samples.
Public methodToFloat
Converts this signal into a array of floating-point samples.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodSplit(Int32, Int32)Overloaded.
Splits a signal using a window
(Defined by Extensions.)
Public Extension MethodSplit(IWindow, Int32)Overloaded.
Splits a signal using a window
(Defined by Extensions.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also