I'm trying to make a sine wave generator using a Raspberry Pi. I need an sine wave(1Vpp) with user supplied frequency riding on a 4V DC bias. The SoX package seems useful to generate sine waves and output them through the audio port. But I want a realtime continuous generator-is there any way to play a generated file on loop? And how do I introduce the DC bias?

Thanks a lot for your help!!

New contributor
thebionicandroid is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

thebionicandroid is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.