Activity for herdian ferdianto

  • herdian ferdianto herdian ferdianto posted a comment on discussion Help

    I got the issues covered by using float buffer now the issue is stutter. I will look for another solution for this.

  • herdian ferdianto herdian ferdianto posted a comment on discussion Help

    Hi I am using SoundTouch with QT to do some pitch shifting. And currently using SOUNDTOUCH_INTEGER_SAMPLES instead of the float samples. Please see the code below const unsigned char *ptr = reinterpret_cast<const unsigned char*>(data.data()); SAMPLETYPE sampleBuffer[BUFF_SIZE]; int nSamples = BUFF_SIZE / nChannels; for(int i=0; i<BUFF_SIZE; i++){ sampleBuffer[i] = reinterpret_cast<SAMPLETYPE>(ptr); ptr+=sampleSize; } soundTouch.putSamples(&sampleBuffer[0], nSamples); do { SAMPLETYPE outputSamples[BUFF_SIZE*2];...

1