Ok folks, I have been trying to get something working off and on for a very very long time.
I’ve been stubborn up till now and because of that, haven’t requested the help previously.
Here is the hardware I am attempting to work with.
Teensy 3.2
Teensy audio board with optional memory chip
BC-127 (for initial programming I intended to use a purple tooth jamboree board, then switch to just the BC-127, however over the years I have tried both ways without success)
My desired process is to have 2 audio channels from my ham radio fed in to the audio board via analog in.
The audio would simultaneously be sent to a delay buffer of (guessing) 1.5s, as well as fed to a peak detect or possibly RMS(not sure what would be best to detect if the squelch has been broken)
Upon detecting audio, the bc127 board should 1)send an incoming call signal, 2) answer call signal, and 3) send the delay buffer to the bc127 via i2s.
It should remain in that state for at least 8-10 seconds after the audio has gone silent before sending the terminate call signal.
The purpose of this is so that while I am out with friends, I can listen to the stereo at whatever volume I want, and when someone tries to talk, it will automatically cut off the music and switch to the Ham.
I have at times gotten some basic feedback from the peak detect, then trying to move forward would somehow lose it. I would then step back to what was working and find that it no longer functioned...
I know some of you will want some code to review, hopefully I can dig some up in the morning. With all the revisions over the years it will take some time to remember what the last one that functioned at all was.
Thanks
Nathan
I’ve been stubborn up till now and because of that, haven’t requested the help previously.
Here is the hardware I am attempting to work with.
Teensy 3.2
Teensy audio board with optional memory chip
BC-127 (for initial programming I intended to use a purple tooth jamboree board, then switch to just the BC-127, however over the years I have tried both ways without success)
My desired process is to have 2 audio channels from my ham radio fed in to the audio board via analog in.
The audio would simultaneously be sent to a delay buffer of (guessing) 1.5s, as well as fed to a peak detect or possibly RMS(not sure what would be best to detect if the squelch has been broken)
Upon detecting audio, the bc127 board should 1)send an incoming call signal, 2) answer call signal, and 3) send the delay buffer to the bc127 via i2s.
It should remain in that state for at least 8-10 seconds after the audio has gone silent before sending the terminate call signal.
The purpose of this is so that while I am out with friends, I can listen to the stereo at whatever volume I want, and when someone tries to talk, it will automatically cut off the music and switch to the Ham.
I have at times gotten some basic feedback from the peak detect, then trying to move forward would somehow lose it. I would then step back to what was working and find that it no longer functioned...
I know some of you will want some code to review, hopefully I can dig some up in the morning. With all the revisions over the years it will take some time to remember what the last one that functioned at all was.
Thanks
Nathan