Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTMF sketch, codes transmitted seperately, sounds jumbled. #41

Closed
cjlawson02 opened this issue Jul 1, 2018 · 8 comments
Closed

DTMF sketch, codes transmitted seperately, sounds jumbled. #41

cjlawson02 opened this issue Jul 1, 2018 · 8 comments

Comments

@cjlawson02
Copy link

cjlawson02 commented Jul 1, 2018

I've been trying to make it detect multiple codes in a single serial command and transmit them in one go, but I've been struggling. If I figure it out, I'll PR.

@mogar
Copy link
Contributor

mogar commented Jul 3, 2018

I adapted the DTMF example to send all DTMF tones in the buffer before turning off TX. Take a look and let me know if it works for you.

@cjlawson02
Copy link
Author

Can you add 20ms before the cutoff? last number gets partially cut off. Other than that, works great!

@cjlawson02
Copy link
Author

cjlawson02 commented Jul 3, 2018

also invalid codes break the transmission and don't error in serial

@mogar
Copy link
Contributor

mogar commented Jul 3, 2018

Ok, I've updated for both of those issues. LMK what you think.

@cjlawson02
Copy link
Author

Great. Sorry to be so picky, but 20ms at the beginning would be good too. You have to time it in the loop so that the first one doesn't get cut off. Also, there's a weird noise at the end of each code. Sound file attached; slightly hard to hear but its apparent on the radio. I'll try inspecting with it to see if it affects HT decoding.

@cjlawson02
Copy link
Author

HT won't decode because the codes aren't sent fast enough 😞

@mogar
Copy link
Contributor

mogar commented Jul 4, 2018 via email

@mogar
Copy link
Contributor

mogar commented Aug 5, 2018

I've updated the library with some functions that support manual timing for DTMF. Please take a look at the DTMF example in master and let me know how it works for you.

@mogar mogar closed this as completed Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants