0

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.

2
  • "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 ? Commented 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. Commented Dec 19, 2018 at 18:00

1 Answer 1

0

Use the write function to create a wav file. Make sure that the array is in integers as well.

Sign up to request clarification or add additional context in comments.

2 Comments

stackoverflow.com/questions/10357992/… if you do not understand here is a link to someone's post who is more knowlegdeable then I.
Ok but what should my array contain ? The amplitude of the signal ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.