Support linearly and exponentially chirped beeps
KOLANICH opened this issue · comments
-C (l|e) <first freq> <last freq>
How would you like that to work? We can only change the frequency of a square wave here.
I am not even sure whether changing the frequency starts a new square right now or only when the next wave period starts.
This needs some experiments with hardware. At the very least.
Absolutely. Currently I just use a sequence of beeps changing their freq, but I don't think the result is optimal. So, it is proposed to do the following:
- implement dumb "chirps" just sounding somehow like chirps, using just a sequence of beeps. Just a command line sugar.
- try to find a way to implement real chirps without using snd_pcsp (BTW, I tried to output to it from Audacity with zero success)
Looks to me like using (a variant of) sox' play -n synth 0.25 sine 100-5000 gain -10
would better do what you are describing.
Does it use PC Speaker?
No. sox uses normal PCM sound via sound card.
So, it is not a complete replacement to beep
.
Certainly not. But that does produce a proper chirp, at least AFAICT without analyzing the signal using a digital storage oscilloscope.