[arm-allstar] using command line to play available CT= for demo
Dave Petrie
wa2kjc at gmail.com
Mon Jan 22 17:13:47 EST 2024
i got it, now for the long editing and separate dtmf commands to play each
choice so the club
can decide which ones they like and for what purpose.
i edited the existing ct= and used Patricks conversion and programmed the
command to play
in rpt.conf, here are two examples one is ct3 and the other is ct14
ct3=|t(440,0,150,4096)
9555=cop,48,!440/150
ct14=|t(500,0,100,2048)(0,0,50,0)(500,0,100,2048)(0,0,50,0)(750,0,100,2048)
9556=cop,48,!500/100,!500/100,!750/100
Dave wa2kjc
On Mon, Jan 22, 2024 at 4:21 PM Patrick Perdue <borrisinabox at gmail.com>
wrote:
> cop 48 only works across USB, I think. But anyway, try something like
> this. The following generates two separate tones.
>
> 9551=cop,48,!654/250,!523/250
> And here's an example that generates a sequence of 3x2 tones.
>
> 9552=cop,48,!654+523/125,!523+392/125,!523+784/250
> As you can see, this is very different from app.rpt/s CT format.
>
>
>
> On 1/22/2024 3:58 PM, Dave Petrie wrote:
>
> i can't find the example of sending a page tone using cop 48, one example
> i found
> doesn't work.
> i used 9551 because it was available in my command structure but the !
> doesn't work and i tried |
> any ideas ?
>
> 9551=cop,48,!0/500,1,!0/250,2,!0/250,3
>
>
>
> On Mon, Jan 22, 2024 at 2:58 PM Patrick Perdue via ARM-allstar <
> arm-allstar at hamvoip.org> wrote:
>
>> Theoretically, a script could be written that converts the app.rpt
>> expected sequence to something that SoX can understand, which then
>> creates a raw linear PCM file and plays it via Asterisk... but, yeah,
>> that's not something I want to try doing. There's a lot of ways that can
>> break.
>>
>> Even the pager spec is different from what app.rpt expects. Another
>> theoretical possible workaround without adding functionality to app.rpt
>> (which, by the way, I think would be really cool if it could support
>> this directly) would be to have something that reads a specified
>> definition as defined in telemetry for a node, then convert it to a
>> string that can be fed into cop,48's Page Tone format for previewing
>> purposes. I *think* it supports all the same stuff, but formatted
>> differently than a courtesy tone.
>>
>>
>> 73
>> N2DYI
>>
>> On 1/22/2024 1:08 PM, Dave Petrie via ARM-allstar wrote:
>> > problem is creating the sound files from the existing ct= tones, i know
>> > how to do playback or localplay an audio file, i need to know how to
>> > get the ct files into something playable without having to mess with
>> > editing rpt.conf to point to a different ct
>> > Thanks
>> > Dave
>> >
>> > On Mon, Jan 22, 2024 at 11:25 AM Michael Champion <mikec at pcpackrat.net>
>> > wrote:
>> >
>> >> One way is to use sound files. Set the filename to generic
>> >> ct.wav/gsm/ulaw and then use a script to copy the tone you want to
>> that
>> >> filename. Then setup the command in rpt.conf to assign a code to the
>> >> script.
>> >>
>> >> -Michael
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: ARM-allstar <arm-allstar-bounces at hamvoip.org> On Behalf Of Dave
>> >> Petrie via ARM-allstar
>> >> Sent: Sunday, January 21, 2024 2:05 PM
>> >> To: ARM Allstar <arm-allstar at hamvoip.org>
>> >> Cc: Dave Petrie <wa2kjc at gmail.com>
>> >> Subject: [arm-allstar] using command line to play available CT= for
>> demo
>> >>
>> >> I would like to know if there is a command i can use in putty menu 9 to
>> >> play the available CT= courtesy tones without using the script and
>> >> modifying rpt.conf and restarting every time to play a different one,
>> just
>> >> want an easy way which could also be on the internet using teamviewer
>> if
>> >> someone knows of a site that is free, just trying to help a club that i
>> >> just upgraded to a raspberry pi 3B+ with hamvoip hear the choices.
>> >> Dave wa2kjc
>> >> _______________________________________________
>> >>
>> >> ARM-allstar mailing list
>> >> ARM-allstar at hamvoip.org
>> >>
>> >>
>> https://u20598202.ct.sendgrid.net/ls/click?upn=09V9cxkRtbTRgot8gmcwxsnX5hn7TU325G8oi6-2B-2B68-2BwhGiBBSG1LJ7LE7aAp27FZgqyhqVoEw-2FwyPvjgnS0NvVKx6aV7q9NtnkjF2E6-2F20-3DnSqI_dBXodhfvs0cHT6z85Wa78l9DcrpYul-2BjfYvuiE8GPyKUwiD90DaUSv9WNRwr8pvLOX9llv93mNckZDZX7zfGWKkRtgEqu4ygGF3U3YliL-2B9dk-2FmwFZ2Y9NfDW0CTnUy8sNilwRvpfHAICruO4kLuI3d5prY2AzCTgzEtmw2VB4unnYiyVz7xSiYxFp0WjpigpJK7zzN7GaZaGk7atrOPkg-3D-3D
>> >>
>> >> Visit the BBB and RPi2/3/4 web page -
>> >>
>> https://u20598202.ct.sendgrid.net/ls/click?upn=09V9cxkRtbTRgot8gmcwxrKRilralangPbcAyv4gV30-3D5glo_dBXodhfvs0cHT6z85Wa78l9DcrpYul-2BjfYvuiE8GPyKUwiD90DaUSv9WNRwr8pvLvJn8sGvLjA-2FFfZuNPf2jiFVYDtFTE2eaqLhRTyfW8gIYDqRqX3OQMtnjhV7Wh8frVIfOd-2F72Z9DOyVwt02jOo905rVkqXKhSw11-2BgZhvcJUoULAn6XBIptpsf33WCwBR9rHgvsK9J2mz9qj-2BdMW7iQ-3D-3D
>> >>
>> >>
>> > _______________________________________________
>> >
>> > ARM-allstar mailing list
>> > ARM-allstar at hamvoip.org
>> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>> >
>> > Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>> _______________________________________________
>>
>> ARM-allstar mailing list
>> ARM-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>>
>
More information about the ARM-allstar
mailing list