View Source Evision.Signal (Evision v0.2.9)

Summary

Types

t()

Type that represents an Signal struct.

Types

@type t() :: %Evision.Signal{ref: reference()}

Type that represents an Signal struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

resampleSignal(named_args)

View Source
@spec resampleSignal(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

resampleSignal(inputSignal, inFreq, outFreq)

View Source
@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
Link to this function

resampleSignal(inputSignal, inFreq, outFreq, opts)

View Source
@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