There is no problem not worth solving, and no technology not worth learning!

Audio format Size comparison of PCM/WAV/MP3 (the real size of the MP3 format is only about 12% of the other two formats)

在 Postman 中请求接口,当响应格式为 mp3 时,其大小为:187.62 KB

1. When requesting Alibaba Cloud Intelligent Voice Interaction – Speech Synthesis API, its audio encoding format supports PCM/WAV/MP3 format. Default: PCM. It is hoped that the response body should be as small as possible when responding, so it is necessary to confirm the size of the response body in these three formats.

2. Request the interface in Postman, when the response format is MP3, its size is: 187.62 KB. as shown in Figure 1

在 Postman 中请求接口,当响应格式为 mp3 时,其大小为:187.62 KB
Figure 1

3. When the response format is PCM, its size is: 1.48 MB. as shown in Figure 2

当响应格式为 pcm 时,其大小为:1.48 MB
Figure 2

4. When the response format is WAV, its size is: 1.47 MB. as shown in Figure 3

当响应格式为 wav 时,其大小为:1.47 MB
Figure 3

5. It is found that the size of MP3 accounts for only about 12% of the other two formats. Since this interface is the interface of its own server (this interface transmits the parameters to the Alibaba Cloud API through the transparent parameters), it is suspected that the MP3 transmission happened to be compressed. However, if you look closely at the response header, the response header is exactly the same, especially the values of Transfer-Encoding are all chunked (blocked encoding). Description is not compressed. The real size of the MP3 format is indeed only about 12% of the other two formats.

Linux Server Operations, Deployment & Production Troubleshooting

If your website or backend service runs on a Linux server and you are facing unstable access, Nginx configuration issues, MySQL / Redis errors, Docker service failures, full disk usage, or high CPU / memory usage, feel free to contact me for remote troubleshooting.

Ideal For:
✅ Website downtime or unstable access
✅ Nginx / PHP-FPM configuration issues
✅ MySQL / Redis performance or connection problems
✅ Docker service deployment and maintenance
✅ Server migration and environment setup
✅ CPU / memory / disk usage investigation

What I Offer:
✅ Linux environment inspection
✅ Website migration and deployment
✅ Nginx / PHP-FPM / MySQL / Redis troubleshooting
✅ Docker configuration and maintenance
✅ Server performance analysis
✅ Long-term remote operations support

Please contact me and mention: Linux Operations Consultation.

Contact Me:
Telegram: @shuijingwan
WeChat: 13980074657
Email: shuijingwanwq@gmail.com

评论

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.