RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Computer Aided Monitoring and Programming > Software Defined Radio


Software Defined Radio - A forum for general discussion of software defined radio (SDR) receiver equipment.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #361 (permalink)  
Old 03-23-2018, 5:33 PM
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Feb 2014
Location: Callaway VA.
Posts: 9
Default

Quote:
Originally Posted by dseven View Post
Yes. Monitoring K6MDD now. Problem is .. I'm not sure if anyone's active on there It unmuted/muted once, with a strong spike on the FFT plot for a few seconds, but no voice. I think someone just "kerchunked" it
Try the TAC 310 DMR group. Lots of activity there.

Sent from my SM-S920L using Tapatalk
Reply With Quote
Sponsored links
  #362 (permalink)  
Old 03-26-2018, 9:08 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Sep 2012
Location: Southwest Ohio
Posts: 27
Default

The new web interface is really quite good.

Is it possible to stream the audio to windows easily? I tired enabling -W and using VLC on windows but that did not work out.
Reply With Quote
  #363 (permalink)  
Old 03-27-2018, 7:12 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Mar 2007
Location: Talbot Co, MD
Posts: 1,202
Default

Quote:
Originally Posted by N1OSU View Post
The new web interface is really quite good.

Is it possible to stream the audio to windows easily? I tired enabling -W and using VLC on windows but that did not work out.
Live audio requires the use of a streaming protocol (e.g. shoutcast) rather than simply transferring a file. I've casually explored the idea but haven't found a solution that doesn't require considerable extra software/libraries.
Reply With Quote
  #364 (permalink)  
Old 03-27-2018, 4:10 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Sep 2012
Location: Southwest Ohio
Posts: 27
Default

Too bad it requires so much, as streaming to something like VLC, even if it was a UDP would be awesome, since VLC runs on everything.
Reply With Quote
  #365 (permalink)  
Old 03-27-2018, 6:55 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Mar 2007
Location: Talbot Co, MD
Posts: 1,202
Default

Quote:
Originally Posted by N1OSU View Post
Too bad it requires so much, as streaming to something like VLC, even if it was a UDP would be awesome, since VLC runs on everything.
If anyone has a python module that streams vlc, I'd be happy to integrate it into op25.
Reply With Quote
Sponsored links
  #366 (permalink)  
Old 04-03-2018, 6:26 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default where to put this

Quote:
Originally Posted by hamradionl View Post
yes its a workaround for now

Display only show
"mute slot 0"
"unmute slot 1"
"resync for protocol"
"DMR"
"symbol + (numbers)"

Thats all
where to put this, in the .json or .tsv file.
using rpi3 and op25 boatbod.
Thanks
Reply With Quote
  #367 (permalink)  
Old 04-03-2018, 6:43 PM
dseven's Avatar
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Sep 2008
Location: SF Bay / Delta, CA
Posts: 301
Default

Quote:
Originally Posted by Mudary View Post
where to put this, in the .json or .tsv file.
Where to put what? The above was sample output. If you mean the "rtl=0" or "rtl", vs. "rtl:0", that was an error in the "args" in the sample cfg.json file for multi_rx.
Reply With Quote
  #368 (permalink)  
Old 04-03-2018, 6:49 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default

{
"channels": [
{
"demod_type": "fsk4",
"destination": "udp://127.0.0.1:56120",
"excess_bw": 0.3,
"filter_type": "rrc",
"frequency": 152300000,
"if_rate": 24000,
"name": "dmr",
"plot": "fft",
"symbol_rate": 4800
},
{
"demod_type": "fsk4",
"destination": "file:///tmp/out1.raw",
"excess_bw": 0.2,
"filter_type": "rrc",
"frequency": 152300000,
"if_rate": 24000,
"name": "ysf",
"plot": "datascope",
"symbol_rate": 4800
},
{
"demod_type": "fsk4",
"destination": "udp://127.0.0.1:56122",
"excess_bw": 0.3,
"filter_type": "rrc",
"frequency": 152300000,
"if_rate": 24000,
"name": "dmr",
"plot": "symbol",
"symbol_rate": 4800
}
],
"devices": [
{
"args": "rtl=0",
"frequency": 152300000,
"gains": "lna:49",
"name": "rtl0",
"offset": 0,
"ppm": 44,
"rate": 1000000,
"tunable": false
"mute slot 0"
"unmute slot 1"
"resync for protocol"
"DMR"
"symbol + (numbers)"
}
]
}
Reply With Quote
  #369 (permalink)  
Old 04-03-2018, 6:52 PM
dseven's Avatar
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Sep 2008
Location: SF Bay / Delta, CA
Posts: 301
Default

Quote:
Originally Posted by Mudary View Post
{
...
"devices": [
{
"args": "rtl=0",
"frequency": 152300000,
"gains": "lna:49",
"name": "rtl0",
"offset": 0,
"ppm": 44,
"rate": 1000000,
"tunable": false
"mute slot 0"
"unmute slot 1"
"resync for protocol"
"DMR"
"symbol + (numbers)"
}
]
}
Noooo - don't do that! Those lines were example output. Do not add them to any file.
Reply With Quote
  #370 (permalink)  
Old 04-03-2018, 6:53 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default

That was my question.
Thanks
Reply With Quote
  #371 (permalink)  
Old 04-03-2018, 7:51 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default

Can someone please upload a DMR datascope and or symbol?
Thanks for the hard work.
Reply With Quote
  #372 (permalink)  
Old 04-05-2018, 12:15 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default op25 DMR decode

Quote:
Originally Posted by Mudary View Post
Can someone please upload a DMR datascope and or symbol?
Thanks for the hard work.
Nevermind, got DMR to decode.
Reply With Quote
  #373 (permalink)  
Old 04-05-2018, 12:33 PM
Member
   
Join Date: Oct 2017
Posts: 16
Default

I am a little confused now. Took a break from this thread for some time and looked recently and you guys are talking about DMR. I have op25 going doing a trunked p1 and p2 system and that works good. Now I see DMR is available too.

Mudary - Can you share what you put and where you put it and what you execute to make it decode DMR?
Reply With Quote
  #374 (permalink)  
Old 04-05-2018, 12:44 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default

cd op25
git pull https://github.com/boatbod/op25.git

my cut and paste of json file. RPI3 with offset -200 and ppm 44.

terminal 1
nc -kluvw 1 127.0.0.1 23456 | aplay -c1 -f S16_LE -r 8000


sorry, command line is in terminal 2.

terminal 2
./multi_rx.py cfg.json -v 255


{
"channels": [
{
"demod_type": "fsk4",
"destination": "udp://127.0.0.1:23456",
"excess_bw": 0.2,
"filter_type": "rrc",
"frequency": 164520000,
"if_rate": 24000,
"name": "dmr",
"plot": "fft",
"symbol_rate": 4800
},
{
"demod_type": "fsk4",
"destination": "file:///tmp/out1.raw",
"excess_bw": 0.2,
"filter_type": "rrc",
"frequency": 164520000,
"if_rate": 24000,
"name": "ysf",
"plot": "datascope",
"symbol_rate": 4800
},
{
"demod_type": "fsk4",
"destination": "udp://127.0.0.1:23458",
"excess_bw": 0.2,
"filter_type": "rrc",
"frequency": 164520000,
"if_rate": 24000,
"name": "dmr",
"plot": "symbol",
"symbol_rate": 4800
}
],
"devices": [
{
"args": "rtl=0",
"frequency": 164520000,
"gains": "lna:49",
"name": "rtl0",
"offset": -200,
"ppm": 44,
"rate": 1000000,
"tunable": false
}
]
}

Last edited by Mudary; 04-05-2018 at 1:57 PM.. Reason: added command line
Reply With Quote
  #375 (permalink)  
Old 04-05-2018, 1:46 PM
Member
   
Join Date: Oct 2017
Posts: 16
Default

you don't have to run anything to start op25 so it serves up the audio on port 23456?

or do you still start up op25 with rx.py then run nc to play back the audio?
Reply With Quote
  #376 (permalink)  
Old 04-05-2018, 1:59 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default

./rx.py is for P25

./multi_rx.py is for DMR
Reply With Quote
  #377 (permalink)  
Old 04-05-2018, 5:44 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Mar 2007
Location: Talbot Co, MD
Posts: 1,202
Default

If you use the boatbod fork, you can use the sockaudio player and it has the capability to multiplex both DMR timeslots into the L & R channels of a single audio device. Since multi_rx.py operates a little differently than rx.py you have to manually run the audio player using the ./audio.py front end.
Reply With Quote
  #378 (permalink)  
Old 04-05-2018, 7:03 PM
Member
   
Join Date: Jun 2003
Posts: 82
Default

EXTERNAL UDP AUDIO SERVER


1. Execute ./audio.sh on a remote machine equipped with python2.7,
libasound.so.2 and the sockaudio.py file.

I'm just wondering where the audio.sh is? And is the command line ./audio.py -2?

Thanks Mudary
Reply With Quote
  #379 (permalink)  
Old 04-05-2018, 9:59 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Mar 2007
Location: Talbot Co, MD
Posts: 1,202
Default

Quote:
Originally Posted by Mudary View Post
EXTERNAL UDP AUDIO SERVER


1. Execute ./audio.sh on a remote machine equipped with python2.7,
libasound.so.2 and the sockaudio.py file.

I'm just wondering where the audio.sh is? And is the command line ./audio.py -2?

Thanks Mudary
You can find audio.py in the same directory as sockaudio.py
~/op25/op25/gr-op25_repeater/apps

Usage: audio.py [options]

Options:
-h, --help show this help message and exit
-O AUDIO_OUTPUT, --audio-output=AUDIO_OUTPUT
audio output device name
-u WIRESHARK_PORT, --wireshark-port=WIRESHARK_PORT
Wireshark port
-2, --two-channel single or two channel audio
Reply With Quote
  #380 (permalink)  
Old 04-06-2018, 12:43 AM
Member
   
Join Date: Jun 2003
Posts: 82
Default

Using ./audio.py with and without -2, my audio is slow.
nc -kluvw 1 127.0.0.1 23456 | aplay -c1 -f S16_LE -r 8000
nc -kluvw 1 127.0.0.1 23456 | aplay -c2 -f S16_LE -r 4000
xx xxxx
By using nc | aplay command, the voices are clear.
Running RPI3/Stretch, cpu runs pretty constant at 40%
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 7:14 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2015 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions