0
I want to create a sound whose frequency is time-dependent, let's say that the frequency of time ms is timeHz, hence in 20 s you have all the audible frequencies. Just as an example, with ffmpeg you can use time variable (%T) to overlay the time of every frame on a video. I thought I could use %T variable to generate such a wave. I've tried
ffmpeg -f lavfi -i "sine=frequency=%T*1000:sample_rate=44100:duration=20" -c:a pcm_s16le allfreq.wav
but it seems sine filter must have a fixed frequency.
I tried to use ffmpeg but it doesn't matter what program you use as long as it's free (light downloads appreciated).
2
You can overlay every frame of a video and just all of a sudden switch to audio? As for the
– Seth – 2016-12-14T12:30:45.553sinefunction what you're actually trying to do is only generate part of the sine. Otherwise you would have an increasing base frequency while the sine would still continue to be sine. Maybe you could use the Chirp Generator from Audacity.The chirp generator suits perfectly. It has got more options that I didn't think, but interesting nevertheless. You can write it in as answer. – cdlvcdlv – 2016-12-14T12:43:31.143