ykaw / PiCW

A morse code keyer running on Raspberry Pi
6 stars 3 forks source link

Adding Sidetone Audio through RPi Audio Jack #6

Open slowrunner opened 4 months ago

slowrunner commented 4 months ago

This is a great package but I wanted to try it without hooking anything to the GPIO connector - so I added audio output through the Raspberry Pi audio jack. It clicks like crazy but it works:

https://github.com/slowrunner/HamPi/tree/main/projects/PiCW

ykaw commented 1 month ago

First of all, I sincerely apologize for the very, very late reply.

Having the PiCW sidetone output from the audio jack is a natural idea, but I have not been able to implement it. Thank you very much for presenting this idea to me.

I think your implementation is fully functional and practical. In addition, it might be better if you could switch between audio and PWM outputs by command. Specifically, I think it would be good to extend the BEEP command to allow switching the output destination, setting the tone frequency, etc.