View Source Evision.Signal (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.Signal{ref: reference()}
Type that represents an Signal
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec resampleSignal(Evision.Mat.maybe_mat_in(), integer(), integer()) :: Evision.Mat.t() | {:error, String.t()}
Signal resampling
Positional Arguments
- inputSignal:
Evision.Mat
- inFreq:
integer()
- outFreq:
integer()
Return
outSignal:
Evision.Mat.t()
.Array with output signal
Detail: https://en.wikipedia.org/wiki/Sample-rate_conversion
Python prototype (for reference only):
resampleSignal(inputSignal, inFreq, outFreq[, outSignal]) -> outSignal
@spec resampleSignal( Evision.Mat.maybe_mat_in(), integer(), integer(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
Signal resampling
Positional Arguments
- inputSignal:
Evision.Mat
- inFreq:
integer()
- outFreq:
integer()
Return
outSignal:
Evision.Mat.t()
.Array with output signal
Detail: https://en.wikipedia.org/wiki/Sample-rate_conversion
Python prototype (for reference only):
resampleSignal(inputSignal, inFreq, outFreq[, outSignal]) -> outSignal