home RPC:

uRPC micro Remote Procedure Calls - 0.97

» news | search | translate
Email Facebook Linkedin Pinterest Reddit Telegram Tumblr Whatsapp X

mp3_wav

 converts MP3 input to WAV format.

Output: WAV mono 8 bit 8 KHz
On a microcontroller, you can send audio to a speaker by skipping the WAV header (first 44 bytes). The remaining data is raw unsigned 8-bit PCM samples, suitable for direct output via DAC, PWM, or I2S.

Arguments:
input                 MP3 audio
You can provide the input data via an HTTP POST request with the data in the request body (maximum 256 KB).

Endpoint:
http[s]://saltlake71.eu/urpc?function=mp3_wav