Closed ghost closed 8 years ago
Sorry I switched to my account, disregard the user that was posted as.
before you say screw that, you should watch this https://www.youtube.com/watch?v=Sowoq7oL_WM
@kamalmostafa I actually just figured out how to tune it into TTY/TDD devices, check this out, this is over Google Voice, too:
erratic@laptop:pts/11->/home/erratic/minimodem/src (0)
·> ./minimodem --rx 45.45 --baudot --startbits 1 --stopbits 1.5 -c 4.5
### CARRIER 45.45 @ 1400.0 Hz ###
YOU HAVE REACHED AN ANSWERING MACHINE, PLEASE LEAVE A MESAGE GA
### NOCARRIER ndata=67 confidence=13.138 ampl=0.032 bps=43.78 (3.7% slow) ###
I figured I'd just hack on it a little and see how close it was and surprisingly it was really easy:
diff --git a/src/minimodem.c b/src/minimodem.c
index fa91f40..1cb3ab5 100644
--- a/src/minimodem.c
+++ b/src/minimodem.c
@@ -497,7 +497,7 @@ main( int argc, char*argv[] )
int c;
int option_index;
-
+
enum {
MINIMODEM_OPT_UNUSED=256, // placeholder
MINIMODEM_OPT_MSBFIRST,
@@ -719,7 +719,9 @@ main( int argc, char*argv[] )
bfsk_databits_decode = databits_decode_baudot;
bfsk_databits_encode = databits_encode_baudot;
bfsk_data_rate = 45.45;
- if ( bfsk_n_data_bits == 0 )
+ bfsk_mark_f = 1400; //2083.0 + 1/3.0
+ bfsk_space_f = 1800;
+ if ( bfsk_n_data_bits == 0 )
bfsk_n_data_bits = 5;
if ( bfsk_nstopbits < 0 )
bfsk_nstopbits = 1.5;
@@ -804,9 +806,9 @@ main( int argc, char*argv[] )
*/
autodetect_shift = 170;
if ( bfsk_mark_f == 0 )
- bfsk_mark_f = 1585;
+ bfsk_mark_f = 1400; //1585;
if ( bfsk_space_f == 0 )
- bfsk_space_f = bfsk_mark_f - autodetect_shift;
+ bfsk_space_f = 1800; //bfsk_mark_f - autodetect_shift;
if ( band_width == 0 ) {
band_width = 10; // FIXME chosen arbitrarily
}
Basic TTY/TDD support is now supplied by commit f48257ac595afbc8f576d5ac4fcc180a608c6a25.
http://en.wikipedia.org/wiki/Telecommunications_device_for_the_deaf#Sample_conversation
Ive tried various different things I can't get it to work :
You can find this pdf here: https://github.com/paigeadele/nBaudot/blob/master/C.S0028-A_v1.0_121503.pdf
--paigeadele (sorry I'm on the wrong account.)