this is my first post. I want to create a .wav file from an array of amplitude and frequencies. How can I do this ? Thank you I am able to get the spectrum too.
-
"Amplitude and frequencies": do you mean that what you have is a the result of an FFT transform ? Can you tell us how was this array generated ?Gabriel Devillers– Gabriel Devillers2018-12-19 17:45:02 +00:00Commented Dec 19, 2018 at 17:45
-
that's it, and i've made some transformations on my signal, so i have one array containing amplitude and one list containing frequencies.nvoul– nvoul2018-12-19 18:00:52 +00:00Commented Dec 19, 2018 at 18:00
Add a comment
|
1 Answer
Use the write function to create a wav file. Make sure that the array is in integers as well.
2 Comments
Sebastian Bourgoin
stackoverflow.com/questions/10357992/… if you do not understand here is a link to someone's post who is more knowlegdeable then I.
nvoul
Ok but what should my array contain ? The amplitude of the signal ?