Re: sox?


ab9ca@...
 

If you copy 9 lines, 134 thru 142,  from case 1 and add them to case 2 such that you end up with this:

............................

;;


1)

   # Validate tone frequency

   if [ "$1" -ge 10 -a "$1" -le 20000 ]; then

     REPLY=1;

   elif

     echo "Frequency $1 out of range (10 - 20000)"; then

     exit 1

   fi

   # Set frequency from command line arg

   freq=$1

;;

2)

  # Validate tone frequency

   if [ "$1" -ge 10 -a "$1" -le 20000 ]; then

     REPLY=1;

   elif

     echo "Frequency $1 out of range (10 - 20000)"; then

     exit 1

   fi

   # Set frequency from command line arg

   freq=$1

   # use channel 1 PTT gpio

   gpio_pin=23

;;

........................................


I think that gets the tone generator going OK on the mini DIN connector.

Case 1 and Case 2 are independent. The same validation needs to be done for both. 

No need to take it off the wiki.

With the tone generator running it is time to return to the original thread:

Where did the modulation go ..........

More troubleshooting there.

73 de dave

ab9ca/4


Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.