Comments (4)
from svxlink.
Dependent on where you have the .tcl files /usr/share/svxlink/events.d/ or one more folder deep ....local/ - sudo nano Logic.tcl. you will see the definition of the announcements. I've not done it, but you can set voice as 0 and CW as 1.... Will this solve the problem? Chris g4nab
…
On Thu, 28 Dec 2023, 19:48 Christian, @.> wrote: Hi all, i set up an svxlink server in a Raspberry and in my svxlink.conf configuration file i specified these parameters to manage the IDENT and the ANNOUNCE about my repeater: SHORT_IDENT_INTERVAL=10 LONG_IDENT_INTERVAL=30 #IDENT_ONLY_AFTER_TX=4 #SHORT_ANNOUNCE_ENABLE=1 LONG_ANNOUNCE_ENABLE=1 #SHORT_ANNOUNCE_FILE= LONG_ANNOUNCE_FILE=/home/pi/sintesi.wav Unfortunatly i have a problem: when the long ident is reproduced also the long announce is reproduce after (cascading). But if i comment out the LONG_IDENT_INTERVAL parameter also the long announce isn't reproduce. Is there a way to reproduce only the long announce file at every LONG_IDENT_INTERVAL time without the long ident first? Thanks you so much in advance Christian — Reply to this email directly, view it on GitHub <#656>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5HJIDY3UH7HZNZCOUDYLXEKTAVCNFSM6AAAAABBF26JECVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TQNZXGE2TSMQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
Hi,
do you think is a good idea to modify the .tcl file directly? Yes, they are in that folder (/usr/share/svxlink/events.d/).
What are "voice" and "CW" parameters? What they control?
Thank you in advance
Christian
from svxlink.
from svxlink.
Hi @f5vmr ,
at the end i solved my problem.
By reading the Logic.tcl you suggested me some days ago, i founded some parameters to add in the svxlink.conf configuration file to exclude the ident reading before the LONG_ANNOUNCE.
This is the code inside the Logic.tcl:
proc send_long_ident {hour minute} {
global mycall;
global loaded_modules;
global active_module;
variable CFG_TYPE;
variable long_announce_file
variable long_announce_enable
variable long_voice_id_enable
variable long_cw_id_enable
# Play the voice ID if enabled
if {$long_voice_id_enable} {
puts "Playing Long voice ID"
spellWord $mycall;
if {$CFG_TYPE == "Repeater"} {
playMsg "Core" "repeater";
}
playSilence 500;
playMsg "Core" "the_time_is";
playSilence 100;
playTime $hour $minute;
playSilence 500;
# Call the "status_report" function in all modules if no module is active
if {$active_module == ""} {
foreach module [split $loaded_modules " "] {
set func "::";
append func $module "::status_report";
if {"[info procs $func]" ne ""} {
$func;
}
}
}
playSilence 500;
}
# Play announcement file if enabled
if {$long_announce_enable} {
puts "Playing long announce"
if [file exist "$long_announce_file"] {
playFile "$long_announce_file"
playSilence 500
}
}
# Play CW id if enabled
if {$long_cw_id_enable} {
puts "Playing long CW ID"
if {$CFG_TYPE == "Repeater"} {
set call "$mycall/R"
CW::play $call
} else {
CW::play $mycall
}
playSilence 100
}
}
As you can see, there is a variable $long_voice_id_enable and its default value (from code) is 1 (enabled). By reading the svxlink manual page, i founded some parameters to add in the svxlink.conf configuration file to manage these behaviors:
SHORT_VOICE_ID_ENABLE=1
LONG_VOICE_ID_ENABLE=0
By set the LONG_VOICE_ID_ENABLE at 0 i can exclude the ident reading during the long announce.
Thank you so much for your suggestion, i hope this recap can help other users with the same problem.
Christian IU6DJR
from svxlink.
Related Issues (20)
- SQL_DET for UDP Audio device HOT 22
- SVXLINK Metar Airport Weather Data are not working till 3 Days HOT 1
- RemoteTrx ipv6
- METAR HOT 14
- different Roger-beeps
- Compile svxlink on Debian v12 Bookworm HOT 11
- Compile on Jessie will fail in 2023. HOT 2
- GPIO issue orangepi HOT 6
- ERROR: symbol lookup error: svxlink: undefined symbol HOT 4
- Identifier reproduction in RemoteTRX service HOT 1
- Ident in simplex config on/off and some Darkice HOT 1
- Memory overrun in bookworm while using parrot HOT 1
- missing information in INSTALL.adoc HOT 1
- Informations about svxlink compilation and services HOT 8
- svxreflector: status page not working HOT 3
- Repeater Timeout notification
- Kerchunking Protection / Voice Activity Detection HOT 9
- New release HOT 1
- Remove the roger beeps/CW digits on repeater tail with Echolink node! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svxlink.