简体   繁体   English

从数组生成音频文件(频谱…)

[英]Generate an audio file from an array (spectrum…)

this is my first post. 这是我的第一篇文章。 I want to create a .wav file from an array of amplitude and frequencies. 我想从振幅和频率数组创建一个.wav文件。 How can I do this ? 我怎样才能做到这一点 ? Thank you I am able to get the spectrum too. 谢谢,我也能获得频谱。

Use the write function to create a wav file. 使用写功能创建一个wav文件。 Make sure that the array is in integers as well. 确保数组也是整数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM