how to squeeze 600sample wave to 256 for synth

i need to squeeze(not trim) a 600 samples long wave to 256 sample length and export it as txt file(using"Sample data export")for use in wavetable synths(Anawave etc).i tried “change speed” plugin -not able to set correct length in samples.how can i do it?i am attaching 600sample wave to be converted and a 256 sample wave which comes with Anawave synth.-thanks

Shape 1.txt (2.65 KB)

You should, I guess, change the sampling rate with the number at the Audacity lower left. The fidelity and quality of the sound is going to dive.

For example, changing the sampling rate from 44100 to 22050 will reduce the number of samples in the song to half without changing anything else except the quality. 11025 is half again and even lower fidelity.

Koz

All else being equal, that might sound like an AM radio.

Koz

You need to resample the waveform.
The required sampling rate is (256 / 600) x 44100 = 18816

  • Open Audacity.
  • Import the file AKWF_flute_0001.wav
  • Set the “Project Rate” (lower left corner of the main Audacity window) to 18816
  • Export the file in WAV format with a new name (for example, AKWF_flute_0002.wav)
  • Change the Project Rate back to 44100, or close and restart Audacity.

Just a comment - it does not sound much like a flute.

thanks,that worked.“change speed” effect also works-using formula ( ((original length) - (target length)) / (target length) ) * 100 = Percent Change.