从Wav文件中删除秒的前.5 [英] Remove the first .5 of a second from Wav file

查看:130
本文介绍了从Wav文件中删除秒的前.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从Wav文件中删除秒的前.5?

How can I remove the first .5 of a second from Wav file?

推荐答案

此处为格式.您需要打开文件,找到标题的大小,然后删除所需数量的样本.您可以在标题中找到每个样本的位数.一个16位WAV文件(采样率为44100 Hz)将要求您删除(16/8) * 44100 * 0.5 = 44100 bytes

Here is the format. You need to open up the file, find the size of the header, then remove the required number of samples. You can find the number of bits per sample in the header. A 16-bit WAV file at a sampling rate of 44100 Hz would require you to remove (16/8) * 44100 * 0.5 = 44100 bytes

这篇关于从Wav文件中删除秒的前.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆