Skip to content

Commit

Permalink
Merge pull request #458 from victorvhpg/master
Browse files Browse the repository at this point in the history
remove static method - class PitchShifterInternal
  • Loading branch information
filoe authored Jul 7, 2021
2 parents 81f3b21 + 621817f commit 16007a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CSCore/DSP/PitchShifterInternal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ internal class PitchShifterInternal
private readonly float[] SynMagn = new float[MaxFrameLength];
private long _gRover;

public static void PitchShift(float pitchShift, long numSampsToProcess,
public void PitchShift(float pitchShift, long numSampsToProcess,
float sampleRate, float[] indata)
{
PitchShift(pitchShift, numSampsToProcess, 2048, 10, sampleRate, indata);
}
public static void PitchShift(float pitchShift, long numSampsToProcess, long fftFrameSize,
public void PitchShift(float pitchShift, long numSampsToProcess, long fftFrameSize,
long osamp, float sampleRate, float[] indata)
{
long i;
Expand Down Expand Up @@ -226,7 +226,7 @@ public static void PitchShift(float pitchShift, long numSampsToProcess, long fft
}
}

public static void ShortTimeFourierTransform(float[] fftBuffer, long fftFrameSize, long sign)
public void ShortTimeFourierTransform(float[] fftBuffer, long fftFrameSize, long sign)
{
long i;
long j, le;
Expand Down

0 comments on commit 16007a5

Please sign in to comment.