Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

  ArrayExtensions

  CavernAmp

  ChannelExtensions

  ColorUtils

  Complex

  ComplexArray

  FFTCache

  IComparable

  IEquatable

  IEquatable

  Linked

  ListExtensions

  Measurements

  RenderStats

  Resample

  Adaptive(float[], int, int, QualityModes)

  Adaptive(float[], int, QualityModes)

  CatmullRom(float[], int)

  Lerp(float[], int)

  NearestNeighbour(float[], int)

  RunningChannelSeparator

  ThreadSafeFFTCache

  Tunneler

  VectorExtensions

  VectorUtils

  WaveformUtils

  WindowBase

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

float[] Lerp(float[] samples, int to)

Resamples a single channel with medium quality (linear interpolation).
VisibilityPublic
Modifiersstatic
ReturnsReturns a resampled version of the given array

Parameters

float[] samplesSamples of the source channel
int toNew sample count