{"category":"audio","endpoint":"https://setget.net/v1/tools/audio-resample","examples":[{"input":{"bit_depth":24,"channels":"stereo","file":"sample.wav","sample_rate":48000},"title":"16 kHz mono to 48 kHz stereo, 24-bit"},{"input":{"file":"sample.mp3","format":"wav","sample_rate":8000},"title":"Telephone-quality WAV"}],"input_schema":{"additionalProperties":false,"properties":{"bit_depth":{"description":"Bits per sample, for wav and flac results: 16 or 24. Leave empty for 16, or 24 when the upload has more than 16.","enum":[16,24],"type":"integer"},"channels":{"description":"Mono or stereo. Leave empty to keep the original.","enum":["mono","stereo"],"type":"string"},"file":{"description":"The audio file.","format":"setget-file","type":"string","x-accept":["audio"]},"format":{"description":"Format of the result: mp3, wav, ogg, opus, flac or m4a. Leave empty to keep the format of the upload.","enum":["mp3","wav","ogg","opus","flac","m4a"],"type":"string"},"sample_rate":{"description":"New sample rate in Hz. Leave empty to keep the original.","enum":[8000,11025,12000,16000,22050,24000,32000,44100,48000,96000],"examples":[48000],"type":"integer"}},"required":["file"],"type":"object"},"keywords":["sample rate","resample","44100 to 48000","48khz","16 bit","24 bit","bit depth","stereo to mono","mono to stereo","downsample","upsample","hz"],"related":["audio-convert","audio-to-stt-wav","audio-info"],"slug":"audio-resample","summary":"Change the sample rate, mono or stereo, and bit depth of an audio file, for devices and software that need a set format.","tier":"job","timeout_seconds":300,"title":"Resample audio","url":"https://setget.net/tools/audio-resample"}
