SDRTrunk - p25 decoder test release

Status
Not open for further replies.

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
I'll add an enhancement ticket for this.



I just changed the alias list handling. I load a hash map of all of the talkgroup IDs and corresponding aliases. I also check each talkgroup ID for wildcard characters (*) and load them into a separate list.

When I lookup an alias from a talkgroup, I first look in the map and if it's not found, I check each of the wildcarded talkgroups in the list to see if any of them match and then return the matching alias.

Hmm, wildcards no longer work for me. It would be nice to have an option to set all the trunkgroups to Do Not Monitor by default and the create alias groups to enable the ones you want. Wildcards, for an example ****, could be used to enable all the trunkgroups that SRDTrunk receives.
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
A little better explanation about wildcards is due. I am referring to an alias list I make using wildcards and then selecting Do Not Monitor for that group.It is a quick and dirty way to block out the majority of talkgroups I do not want to listen to. I currently do not use wildcards (only TG entries) for alias groups I do want to monitor.
 

chudgoo

Member
Joined
Oct 20, 2014
Messages
69
Reaction score
0
A little better explanation about wildcards is due. I am referring to an alias list I make using wildcards and then selecting Do Not Monitor for that group.It is a quick and dirty way to block out the majority of talkgroups I do not want to listen to. I currently do not use wildcards (only TG entries) for alias groups I do want to monitor.

Sorry if this is a stupid question, but how do you pull the 0.3.0 version?
I've been all over the sdrtrunk GitHub page and can't find a way to clone into 0.3.0...
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
Sorry if this is a stupid question, but how do you pull the 0.3.0 version?
I've been all over the sdrtrunk GitHub page and can't find a way to clone into 0.3.0...

Not a stupid question at all. While on the GitHub page, make sure you have the <> Code tab selected. Off to the right, you will see a green colored "Clone or download" button (see attached image). Click on it, and a pop-up will appear (also included on image), then click on the Download ZIP button and you should be able to download the code at that point. You will still have to recompile it with Ant like you would have had to do with the jmbe library except all you need to do is run the command "ant" in the /build dir and the new build 0.3.0 finished zip item will be in the /product directory if the compile succeded.
 

Attachments

  • git.PNG
    git.PNG
    18.7 KB · Views: 380

cpetraglia

Member
Joined
Mar 14, 2003
Messages
868
Reaction score
65
Location
Fairfax, VA
Not a stupid question at all. While on the GitHub page, make sure you have the <> Code tab selected. Off to the right, you will see a green colored "Clone or download" button (see attached image). Click on it, and a pop-up will appear (also included on image), then click on the Download ZIP button and you should be able to download the code at that point. You will still have to recompile it with Ant like you would have had to do with the jmbe library except all you need to do is run the command "ant" in the /build dir and the new build 0.3.0 finished zip item will be in the /product directory if the compile succeded.
Sorry for being a little slow on this compiling. I only see an XML file in the build dir. How do I run this command? I've tried this before and never been able to figure it out.

Thanks,
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
Sorry for being a little slow on this compiling. I only see an XML file in the build dir. How do I run this command? I've tried this before and never been able to figure it out.

Thanks,

The build.xml file contains instructions for the compiler, Ant in this case, to follow. There is nothing you need to do with the file. Ant will handle that part.

Before you can recompile the code, you need to install the Java Development Kit (JDK), not the Java Runtime Enviroment (JRE) version. The JDK version has all the java libraries and tools Ant will need to compile the final SDRTrunk product. Just google Java Development Kit or JDK to bring you to the Oracle site to download it.

The second item required is the compiler. It is called Ant. Just google Apache Ant to find the download site.

RR frowns upon posting external sites, so that is why I am stating "google" these items. Then the most important part after installing the above two programs is setting the environment variable, aka; PATH correctly. This is probably the main reason why people fail to compile SDRTrunk, or any other program, in Windows or Linux. The OS needs to know where these two programs are located in order to run them from a command line interface (Command Prompt). Once these two programs are entered into the enviroment variables correctly, the compiling process is easy to do.

A while ago I found a nice site that explaing setting up the PATH for java. Google "JAVA_HOME atlassian" and follow the "Setting the JAVA_HOME Variable in Windows" link. NOTE: If you have both the JRE and JDK versions of Java installed, set the JAVA_HOME path for the JDK version location. This method can be used for the ANT_HOME variable as well.

For Ant, google "ant - How to set ANT_HOME with Windows" and follow the stackoverflow link. Depending on the OS, you may need to reboot your computer for the new PATH updates to take effect. You will at least have to close and reopen the command prompt.

Before you bother to go any further, I recommend opening a command prompt and typing:

java -version <enter>
This should return the java version if everything is OK.

ant -version <enter>
This should return the ant version if everything is OK.

Finally, type path <enter>. This works with Win 7... not sure about Win 8 or 10. Look for /bin entries for both Java SDK and Ant. An example would be C:\Program Files\apache-ant-1.9.7\bin;C:\Program Files\Java\jdk1.8.0_91\bin; NOTE: These are only examples and yours may differ depending on the OS, versions installed, and location path where the program was installed.

If all three of these commands responded back with version or correct path, you are good to go on. If not, you will need to troubleshoot the variable enviroment path and make corrections until all three report back good.

Download the SDRTrunk code (make sure the files in it are dated 8/1/2016 as of today). A couple of posts up explains an easy way to get it with windows as Linux will more than likely have git installed. There is a wildcard fix in that release which is important to have.

Unzip it, open a command prompt, then navigate the command prompt to the unzipped file directory and then the /build subdirectory.

Type "ant" (without quotes) and hit the enter key. Within a minute or so, you should see a message in the command prompt window stating the build was sucessful if it was. If not, I would imagine there would be an error with an explanation. Denny has done a great job with the build script, so I have never had a error recompiling this. There will be a tarball (Linux) and zip (Windows) files of the completed compile located in the /product folder upon sucessful completion. Just unzip the file into your existing SDRTrunk folder overwriting the existing ones. Before you do this, I would recommend backing up the existing directory as a precaution so you can restore it if needed.

This is as simple as I can explain the process. I hope this helps someone.

Craig
 

chudgoo

Member
Joined
Oct 20, 2014
Messages
69
Reaction score
0
Not a stupid question at all. While on the GitHub page, make sure you have the <> Code tab selected. Off to the right, you will see a green colored "Clone or download" button (see attached image). Click on it, and a pop-up will appear (also included on image), then click on the Download ZIP button and you should be able to download the code at that point. You will still have to recompile it with Ant like you would have had to do with the jmbe library except all you need to do is run the command "ant" in the /build dir and the new build 0.3.0 finished zip item will be in the /product directory if the compile succeded.

Ah! Ok weird...I -assumed- I was dealing with 0.2.0 based on the change log, but it IS in fact 0.3.0!
Awesome. Really wanting to test the new wildcard/alias list behavior...

The weird thing is that I now hear decoded P25 audio, but I see no application window! Weird!
I just reused the run_sdrtrunk_osx.sh script to launch. I'm guessing that might be part of the problem... ??
Is this the proper way to launch in OSX?

java -XX:+UseG1GC -cp "*:libs/*" gui.SDRTrunk
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
Ah! Ok weird...I -assumed- I was dealing with 0.2.0 based on the change log, but it IS in fact 0.3.0!
Awesome. Really wanting to test the new wildcard/alias list behavior...

The weird thing is that I now hear decoded P25 audio, but I see no application window! Weird!
I just reused the run_sdrtrunk_osx.sh script to launch. I'm guessing that might be part of the problem... ??
Is this the proper way to launch in OSX?

java -XX:+UseG1GC -cp "*:libs/*" gui.SDRTrunk


Interesting. I am sorry, but I cannot help you on that one. I do not have OSX to test it with. Perhaps Denny or someone else can chime in and help you solve that problem.
 

chudgoo

Member
Joined
Oct 20, 2014
Messages
69
Reaction score
0
Interesting. I am sorry, but I cannot help you on that one. I do not have OSX to test it with. Perhaps Denny or someone else can chime in and help you solve that problem.

It's a weird one for sure.
SDRTrunk doesn't throw any errors at all and IS producing audio...


$ java -XX:+UseG1GC -cp "*:libs/*" gui.SDRTrunk
14:21:18.050 INFO gui.SDRTrunk -
14:21:18.054 INFO gui.SDRTrunk -
14:21:18.054 INFO gui.SDRTrunk - *******************************************************************
14:21:18.054 INFO gui.SDRTrunk - **** sdrtrunk: a trunked radio and digital decoding application ***
14:21:18.054 INFO gui.SDRTrunk - **** website: https://github.com/dsheirer/sdrtrunk ***
14:21:18.054 INFO gui.SDRTrunk - *******************************************************************
14:21:18.054 INFO gui.SDRTrunk -
14:21:18.054 INFO gui.SDRTrunk -
14:21:18.062 INFO gui.SDRTrunk - Home path: /Users/chud/SDRTrunk
14:21:18.064 INFO p.SystemProperties - SystemProperties - loaded [/Users/chud/SDRTrunk/SDRTrunk.properties]
14:21:18.064 INFO p.SystemProperties - SystemProperties - application properties loaded [/Users/chud/SDRTrunk/SDRTrunk.properties]
14:21:18.073 INFO settings.SettingsManager - SettingsManager - loading settings file [/Users/chud/SDRTrunk/settings/settings.xml]
14:21:18.406 INFO source.mixer.MixerManager - loading system mixer devices
[LOADED] Input: Default Audio Device CHANNELS: [MONO]
[LOADED] Output: Default Audio Device CHANNELS: [MONO, STEREO]
[LOADED] Output: Built-in Output CHANNELS: [MONO, STEREO]
[LOADED] Output: Built-in Line Output CHANNELS: [MONO, STEREO]
[LOADED] Output: HDMI CHANNELS: [MONO, STEREO]
[LOADED] Input: Display Audio CHANNELS: [MONO]
[LOADED] Output: Display Audio CHANNELS: [MONO, STEREO]
[LOADED] Input: Display Audio CHANNELS: [MONO]
[LOADED] Output: Display Audio CHANNELS: [MONO, STEREO]
[LOADED] Output: Wireless Stereo Headset CHANNELS: [MONO, STEREO]
[LOADED] Input: Wireless Stereo Headset CHANNELS: [MONO]
[LOADED] Input: Soundflower (2ch) CHANNELS: [LEFT, RIGHT, MONO]
[LOADED] Output: Soundflower (2ch) CHANNELS: [MONO, STEREO]
[LOADED] Input: Soundflower (64ch) CHANNELS: [LEFT, RIGHT, MONO]
[LOADED] Output: Soundflower (64ch) CHANNELS: [MONO, STEREO]
[LOADED] Output: Instant On Sound Effects CHANNELS: [MONO, STEREO]
[LOADED] Input: Loopback Audio CHANNELS: [LEFT, RIGHT, MONO]
[LOADED] Output: Loopback Audio CHANNELS: [MONO, STEREO]

14:21:18.407 INFO s.r.RecordingSourceManager - RecordingSourceManager - discovered [0] recording configurations
14:21:18.487 INFO source.tuner.TunerManager - LibUSB API Version: 16777474
14:21:18.488 INFO source.tuner.TunerManager - LibUSB Version: 1.0.18.10866
14:21:18.489 INFO source.tuner.TunerManager - discovered [22] attached USB devices
14:21:18.498 INFO source.tuner.TunerManager - usb device [12BA:0030] NOT LOADED: Unknown Device
14:21:20.148 INFO source.tuner.TunerManager - usb device [0BDA:2832] LOADED: RTL2832 SDR/R820T SER#3
14:21:21.777 INFO source.tuner.TunerManager - usb device [0BDA:2838] LOADED: RTL2832 SDR/R820T 00000001
14:21:21.778 INFO source.tuner.TunerManager - usb device [0922:0008] NOT LOADED: Unknown Device
14:21:21.778 INFO source.tuner.TunerManager - usb device [056A:00B0] NOT LOADED: Unknown Device
14:21:21.778 INFO source.tuner.TunerManager - usb device [05AC:9227] NOT LOADED: Unknown Device
14:21:21.778 INFO source.tuner.TunerManager - usb device [05AC:9227] NOT LOADED: Unknown Device
14:21:21.778 INFO source.tuner.TunerManager - usb device [05AC:1112] NOT LOADED: Unknown Device
14:21:21.779 INFO source.tuner.TunerManager - usb device [1A40:0101] NOT LOADED: Unknown Device
14:21:21.779 INFO source.tuner.TunerManager - usb device [05AC:1107] NOT LOADED: Unknown Device
14:21:21.779 INFO source.tuner.TunerManager - usb device [05AC:1107] NOT LOADED: Unknown Device
14:21:21.779 INFO source.tuner.TunerManager - usb device [05AC:024F] NOT LOADED: Unknown Device
14:21:21.780 INFO source.tuner.TunerManager - usb device [0BC2:AB24] NOT LOADED: Unknown Device
14:21:21.780 INFO source.tuner.TunerManager - usb device [046D:C069] NOT LOADED: Unknown Device
14:21:21.780 INFO source.tuner.TunerManager - usb device [05AC:9127] NOT LOADED: Unknown Device
14:21:21.780 INFO source.tuner.TunerManager - usb device [05AC:9127] NOT LOADED: Unknown Device
14:21:21.780 INFO source.tuner.TunerManager - usb device [05AC:1006] NOT LOADED: Unknown Device
14:21:21.781 INFO source.tuner.TunerManager - usb device [8087:0024] NOT LOADED: Unknown Device
14:21:21.781 INFO source.tuner.TunerManager - usb device [05AC:8005] NOT LOADED: Unknown Device
14:21:21.781 INFO source.tuner.TunerManager - usb device [05AC:8005] NOT LOADED: Unknown Device
14:21:21.781 INFO source.tuner.TunerManager - usb device [05AC:8005] NOT LOADED: Unknown Device
14:21:21.782 INFO source.tuner.TunerManager - usb device [05AC:8005] NOT LOADED: Unknown Device
14:21:24.613 INFO playlist.PlaylistManager - loading version 2 playlist file [/Users/chud/SDRTrunk/playlist/playlist_v2.xml]
14:21:24.613 INFO playlist.PlaylistManager - PlaylistManager - playlist not found at [/Users/chud/SDRTrunk/playlist/playlist_v2.xml]
14:21:24.613 INFO playlist.PlaylistManager - Couldn't find version 2 playlist - looking for version 1 playlist to convert
14:21:24.614 INFO p.v.PlaylistConverterV1ToV2 - attempting playlist v1 to v2 conversion [/Users/chud/SDRTrunk/playlist/playlist.xml]
14:21:24.828 INFO p.v.PlaylistConverterV1ToV2 - Converted [9] channels to new playlist format
14:21:24.829 INFO p.v.PlaylistConverterV1ToV2 - Converted [4] aliases to new playlist format
14:21:24.829 INFO p.v.PlaylistConverterV1ToV2 - Converted [1] channel maps to new playlist format
14:21:24.954 INFO m.d.p.a.P25AudioModule - JMBE audio conversion library successfully loaded - P25 audio will be available
14:21:24.969 INFO module.log.EventLogger - Creating log file:/Users/chud/SDRTrunk/event_logs/20160801_142124_406.1125_call_events.log
14:21:24.993 INFO module.log.EventLogger - Creating log file:/Users/chud/SDRTrunk/event_logs/20160801_142124_406.5500_binary_messages.log
14:21:24.994 INFO module.log.EventLogger - Creating log file:/Users/chud/SDRTrunk/event_logs/20160801_142124_406.5500_decoded_messages.log
14:21:24.994 INFO module.log.EventLogger - Creating log file:/Users/chud/SDRTrunk/event_logs/20160801_142124_406.5500_call_events.log


Nothing stands out... Weird.
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
Craig, there was a bug in the alias wildcard lookup. I just fixed it, if you want to pull down the fix and recompile.

This is actually great news for me! I just spent part of this morning hacking the playlist_v2.xml file to add around 400 talkgroups to a Do Not Monitor alias group to replace the wildcard group list. This method was a lot better than manually entering all of them through the GUI, but it was still time consuming. There was no way I planned on doing this to my heavy hitter simulcast site with over 1000 talkgroups to block.

I recompiled and installed the latest update. I suspect you completed your wildcard work as it seems to be a bit faster regarding wildcards. The frequency bar pop-up in the channel section is now almost as fast with displaying Call Group TGIDs and RIDs as it was with 0.2.0. Still seeing a bit of shifting and lag on the TGID and RID when the frequency bar first pops up, but it is definitely faster responding now.

The wildcards are working fine, and the wildcard group alias list contains all kinds of wildcards. From major A*** blocks down to AAA* blocks with at least 80 entries. The site I am using this list on is so busy that the "Wildcard" Call - Do Not Monitor events out do the Patch Group Add entries by a large margin. Not one blocked wildcard TG has slipped through so far, which happened from time to time with earlier releases.

On another note, the TGID and RID display for the frequency bar pop up is normally missing on patched TGs. It seems every fifth or sixth start of SDRTrunk shows the TGID for a bit then it goes away with both fields blank.

Thanks,
Craig
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
It's a weird one for sure.
SDRTrunk doesn't throw any errors at all and IS producing audio...

<snip>

Nothing stands out... Weird.

That is strange as it shows a normal start up with no complaints. 0.3.0 did have some GUI changes, maybe something minor was overlooked that OSX needs to display properly.
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
chudgoo,

Was SDRTrunk running when you copied over the new files? If so, some of the files may not have overwritten the old one. The program also may not have completely colsed even though it looked like it did. I would try rebooting the computer and before you start SDRTrunk, copy the files over again.

One other thought. How old is the java running on your machine? If it is an older version, you should update it and try SDRTrunk again. Some of the changes may require a newer version of java to make it display properly being it tracks and decodes audio fine.
 

chudgoo

Member
Joined
Oct 20, 2014
Messages
69
Reaction score
0
chudgoo,

Was SDRTrunk running when you copied over the new files? If so, some of the files may not have overwritten the old one. The program also may not have completely colsed even though it looked like it did. I would try rebooting the computer and before you start SDRTrunk, copy the files over again.

It was closed at the time and I have rebooted since.
I even tried rebooting, rebuilding with ant and running again. Audio but no GUI.
I also have them in separate directories (sdrtrunk and sdrtrunk030)

And in a further update, 0.2.0 AND 0.3.0 are doing the audio but no GUI thing. Well crap.

One other thought. How old is the java running on your machine? If it is an older version, you should update it and try SDRTrunk again. Some of the changes may require a newer version of java to make it display properly being it tracks and decodes audio fine.


One other thought. How old is the java running on your machine? If it is an older version, you should update it and try SDRTrunk again. Some of the changes may require a newer version of java to make it display properly being it tracks and decodes audio fine.[/QUOTE]

$ java -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
.
.
.
.
OH WAIT.... Regardless of which version, or where it's running from, the global/user config files are in ~/SDRTrunk, huh??

$ cat ~/SDRTrunk/SDRTrunk.properties
#SDRTrunk - SDR Trunking Decoder Application Settings
#Mon Aug 01 15:42:02 MDT 2016
playlist.v2.defaultfilename=playlist_v2.xml
spectral.display.frame.rate=20
audio.manager.channels=STEREO
playlist.currentfilename=playlist.xml
settings.defaultFilename=settings.xml
playlist.v2.currentfilename=playlist_v2.xml
root.directory=SDRTrunk
spectral.display.dft.size=FFT08192
audio.manager.mixer=Wireless Stereo Headset
playlist.defaultfilename=playlist.xml
settings.currentFilename=settings.xml


$ cat ~/SDRTrunk/settings/settings.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SDRTrunk_settings>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="defaultIcon" name="No Icon"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_LABEL_DECODER" rgb="#00ff00"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_LABEL_DETAILS" rgb="#c0c0c0"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="mapViewSetting" latitude="43.048" longitude="-76.147" zoom="7" name="Default"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="SPECTRUM_BACKGROUND" rgb="#000000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="128" colorSettingName="SPECTRUM_GRADIENT_BOTTOM" rgb="#00ff00"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="128" colorSettingName="SPECTRUM_GRADIENT_TOP" rgb="#ffffff"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="128" colorSettingName="SPECTRUM_LINE" rgb="#c0c0c0"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="SPECTRUM_CURSOR" rgb="#ffc800"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="140" colorSettingName="CHANNEL_CONFIG" rgb="#32ff65"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="73" colorSettingName="CHANNEL_CONFIG_PROCESSING" rgb="#ff6599"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="130" colorSettingName="CHANNEL_CONFIG_SELECTED" rgb="#ff0000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_BACKGROUND" rgb="#000000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_SELECTED_CHANNEL" rgb="#ffff00"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_TOP_CALL" rgb="#000000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_MIDDLE_CALL" rgb="#0000ff"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_TOP_CONTROL" rgb="#000000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_MIDDLE_CONTROL" rgb="#c64f00"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_TOP_DATA" rgb="#000000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_MIDDLE_DATA" rgb="#cc00cc"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_TOP_FADE" rgb="#000000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_MIDDLE_FADE" rgb="#404040"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_TOP_IDLE" rgb="#000000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_MIDDLE_IDLE" rgb="#404040"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_TOP_NO_TUNER" rgb="#ff0000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_GRADIENT_MIDDLE_NO_TUNER" rgb="#990000"/>
<setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="colorSetting" alpha="255" colorSettingName="CHANNEL_STATE_LABEL_AUX_DECODER" rgb="#ffff00"/>
<tuner_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="r820TTunerConfiguration" frequency_correction="0.0" lna_gain="GAIN_222" master_gain="GAIN_327" mixer_gain="GAIN_105" sample_rate="RATE_2_400MHZ" vga_gain="GAIN_210" assigned="true" frequency="406931250" name="New" tuner_type="RAFAELMICRO_R820T" unique_id="SER#3"/>
</SDRTrunk_settings>




Leaving out the 4000+ hex TGIDs....

$ cat ~/SDRTrunk/playlist/playlist.xml

<system_list>
<system name="P25">
<site name="P25-SITE">
<channel enabled="true" name="406.1125">
<alias_list_name>LA-P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration>
<logger>CALL_EVENT</logger>
</event_log_configuration>
<record_configuration>
<recorder>AUDIO</recorder>
</record_configuration>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="406112500" source_type="TUNER"/>
</channel>
<channel enabled="true" name="406.1875">
<alias_list_name>P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration/>
<record_configuration>
<recorder>AUDIO</recorder>
</record_configuration>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="406187500" source_type="TUNER"/>
</channel>
<channel enabled="true" name="406.5500">
<alias_list_name>LA-P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration>
<logger>BINARY_MESSAGE</logger>
<logger>DECODED_MESSAGE</logger>
<logger>CALL_EVENT</logger>
</event_log_configuration>
<record_configuration>
<recorder>AUDIO</recorder>
</record_configuration>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="406550000" source_type="TUNER"/>
</channel>
<channel enabled="true" name="406.7875">
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration/>
<record_configuration>
<recorder>AUDIO</recorder>
</record_configuration>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="406787500" source_type="TUNER"/>
</channel>
<channel enabled="true" name="406.9875">
<alias_list_name>P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration/>
<record_configuration>
<recorder>AUDIO</recorder>
</record_configuration>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="406987500" source_type="TUNER"/>
</channel>
<channel enabled="true" name="New Channel">
<alias_list_name>LA-P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration/>
<record_configuration/>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="408125000" source_type="TUNER"/>
</channel>
<channel enabled="true" name="408.1875">
<alias_list_name>LA-P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration/>
<record_configuration/>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="408187500" source_type="TUNER"/>
</channel>
<channel enabled="true" name="New Channel">
<alias_list_name>LA-P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration/>
<record_configuration/>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="408125000" source_type="TUNER"/>
</channel>
<channel enabled="true" name="New Channel">
<alias_list_name>LA-P25</alias_list_name>
<aux_decode_configuration/>
<decode_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="decodeConfigP25Phase1" ignore_data_calls="true" modulation="CQPSK" traffic_channel_pool_size="3">
<afc>false</afc>
<AFCMaximumCorrection>3000</AFCMaximumCorrection>
</decode_configuration>
<event_log_configuration/>
<record_configuration/>
<source_configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sourceConfigTuner" frequency="407987500" source_type="TUNER"/>
</channel>
</site>
</system>
</system_list>
</playlist>




Do you think the waterfall fft (8092) is too huge? Or did something happen with the playlist conversion...??
 

chudgoo

Member
Joined
Oct 20, 2014
Messages
69
Reaction score
0
Aha! renamed the old SDRTrunk directory to OLDSDRTrunk and re-ran...
GUI is working normally again!

Now to bring back the playlist and whatnot, one by one until I break it...
 

chudgoo

Member
Joined
Oct 20, 2014
Messages
69
Reaction score
0
I'm really liking the changes in the 0.3.0 alpha! The ability to clone is a huge time saver!
I didn't end up moving playlist files over this time because setting everything up again took maybe 15min!


Just so I know, am I building out the aliases properly?

Black list is 99.999% of it...
Do I make an Alias/list/name/group of "IGNORE"
and add TGID "****" and "Do not monitor" for audio priority?

Whitelist
0434
0435
Priority 1

Is this how the wildcards are used now? Does this sound right?
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
Do you think the waterfall fft (8092) is too huge? Or did something happen with the playlist conversion...??

I really doubt the playlist could be the cause as that deals with the site radio configurations and Talkgroups which are working fine.

My FFT setting is 16382 for my laptop. If you have a newer system, 8192 should be fine. You could try setting it to 4096, but I suspect this a a bigger issue as you have no part of the GUI displaying now.

I looked over our posts again. I see you have both versions in seperate directories which is good. In windows, there is a seperate directory where SDRTrunk.properties, both version playlists, logs and settings files are stored in a common way for all versions. Is that true for OSX as well?

Also, has version 0.2.0 ever worked properly for you, or was the GUI missing with that as well?
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
I'm really liking the changes in the 0.3.0 alpha! The ability to clone is a huge time saver!
I didn't end up moving playlist files over this time because setting everything up again took maybe 15min!


Just so I know, am I building out the aliases properly?

Black list is 99.999% of it...
Do I make an Alias/list/name/group of "IGNORE"
and add TGID "****" and "Do not monitor" for audio priority?

Whitelist
0434
0435
Priority 1

Is this how the wildcards are used now? Does this sound right?

I am glad you got the GUI working. I also like 0.3.0 better even with the few bugs I noticed. They are no big deal and will be addressed when Denny gets more time to work on this project. Overall, SDRTrunk functions quite well and is the best method for me in dealing with LSM and multipath issues. I have been quite impressed with the results.

On most of the systems I monitor, all the state, county, and local municipalities use the system. The result is thousands of talkgroups and chances are rare you would even hear the talkgroups you want to monitor without using wildcards to block all the other talkgroups.

When setting up a new simulcast site, I figure out what talkgroups I want to monitor first. Usually, they all fall within a narrow range. I then create an alias group named "Wildcard Lockouts" and start creating big block ranges around my selected group(s). An example would be I want a range between 20D1 and 20EF to remain open. I first create wildcard entries for 0***, 1***, 3***, etc entries leaving only block 2*** open. Next, I narrow down the unwanted talkgroups by creating 21***, 22**, 23**, etc entries leaving only 20xx open. then I narrow it down even more using 201*, 202*, 203*, etc leaving out only 20Dx and 20Ex. The final step is to create Do Not Monitor and Audio Non-recordable entries, which on 0.3.0 if you haven't already figured Do Not Monitor out, is to move the priority slider left from 100 and move it back towards the right to the end. Do Not Monitor then appears. If there are any additional talkgroups I do not want to monitor with in the range I chose, I create another alias group called "Block 2 Lockouts", for this example, and enter the individual talkgroups. Then set that group to do not monitor. As I grow my alias monitoring groups and lists, I go back and update the wild card group to match.

I wish all talkgroups were blocked by default like scanners do, and you would only need to create alias groups/lists for the ones you want to monitor. The wildcard method above is the easiest method I have come up with, especially for large systems in metro areas, to work around this.
 

Chewmeister

Member
Joined
Jun 8, 2007
Messages
58
Reaction score
0
Location
Hennepin County, MN
I'm really liking the changes in the 0.3.0 alpha! The ability to clone is a huge time saver!
I didn't end up moving playlist files over this time because setting everything up again took maybe 15min!


Just so I know, am I building out the aliases properly?

Black list is 99.999% of it...
Do I make an Alias/list/name/group of "IGNORE"
and add TGID "****" and "Do not monitor" for audio priority?

Whitelist
0434
0435
Priority 1

Is this how the wildcards are used now? Does this sound right?

Your method works perfect and is exactly what I want the wildcard for. Now this works like I want as in everything is blocked except for what I want to monitor (whitelist). I tried this method a while ago and it didn't work. Every talkgroup was blocked from the ***** entry so it ignore my other aliast groups/lists.

Thanks,
Craig
 

chudgoo

Member
Joined
Oct 20, 2014
Messages
69
Reaction score
0
In windows, there is a seperate directory where SDRTrunk.properties, both version playlists, logs and settings files are stored in a common way for all versions. Is that true for OSX as well?

Also, has version 0.2.0 ever worked properly for you, or was the GUI missing with that as well?


Yes, in OSX the common files are stored separately from the main sdrtrunk directory.
I have the application running from ~/Desktop/sdrtrunk and the common files in ~/SDRTrunk.
 
Status
Not open for further replies.
Top