On Fri, Feb 04, 2022 at 10:49:59AM +0100, Peter wrote: > Dear All, > > inspired by the "A History of Audio on Linux somewhere?" I took a look at my > very old Linux Audio projects. > > I have one which amazingly still compiles, namely FeigenSound from the Linux > Magazin 03/2001, > however I can't hear the output, even when the pcspkr module is loaded. > I assume that todays Laptops just don't have speaker anymore. > > There I was using the KbdCtl.bell_* to generate tones with a given frequency > and duration: > > // switch to new state > KbdCtl.bell_percent = 100; > KbdCtl.bell_pitch = Frequency; > KbdCtl.bell_duration = Duration; > XChangeKeyboardControl(pDisplay, KBBellPercent | KBBellPitch | > KBBellDuration, &KbdCtl); > > > Is there still such a simple method available to generate a tone with a given > duration and frequency. > Of course I could generate a corresponding array and send it to jackd, I'm > just looking for something simple.
1200Hz for 10s ecasound -i:tone,sine,1200,10 -o:jack,system > Best regards, > Peter > _______________________________________________ > Linux-audio-dev mailing list > Linux-audio-dev@lists.linuxaudio.org > https://lists.linuxaudio.org/listinfo/linux-audio-dev -- Joel Roth _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org https://lists.linuxaudio.org/listinfo/linux-audio-dev