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

add preamble sync tone for VOX #11

Open
sisari opened this issue Aug 25, 2024 · 1 comment
Open

add preamble sync tone for VOX #11

sisari opened this issue Aug 25, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sisari
Copy link

sisari commented Aug 25, 2024

Hello,

Can you add for the TX function a preamble tone (duration in miliseconds user modifiable) 500 - 2000ms
for opening VOX on radio transmit ?

@lavajuno
Copy link
Owner

The optional training_time (float) argument for Transmitter's constructor allows the user to specify how long the training sequence (alternating tones) is transmitted before a message. The default is 0.5s, you can override it to be longer to open up VOX.

It would be possible to transmit a tone, but there's no downside to just transmitting a longer training sequence. (It also gives the receiver more data to work with when picking up the signal)

Here's how you would create a Transmitter with a training time of 2000ms:

from afskmodem import Transmitter

tx = Transmitter(1200, training_time=2)
tx.transmit("Hello")

@lavajuno lavajuno added the enhancement New feature or request label Aug 25, 2024
@lavajuno lavajuno self-assigned this Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants