Date   

Re: DSTAR to DMR, getting started

Steve KC1AWV
 

This is how I would do it:

Brandmeister TG <-> MMDVM_Bridge <-> XLX <-> ambed


Re: DSTAR to DMR, getting started

Steve KC1AWV
 

If you're transcoding on XLX already, you can use MB as a client to connect to Brandmeister. You don't need to go from DStar to Analog to Analog to DMR, you're over engineering the effort.

Steve KC1AWV


DSTAR to DMR, getting started

Patrick Perdue
 

Hello all:


I have been tasked with creating a cross-link between an XLX reflector for DSTAR and a Brandmeister DMR talk group.

I have installed XLXD, ircDdbgateway and DVSwitch on a VPS. Ambed with two vocoders is running on a Debian machine at my house, verified connected to XLXD.

As I understand it, the route should look like this:

D-Star <---> ircddbgateway <---> MMDVM_Bridge <---. Analog_Bridge <---> Analog_Bridge <---> MMDVM_Bridge <---> DMR

I have all these tools installed. I'm just looking for a basic outline on how to configure the two instances of MMDVM_Bridge and Analog_Bridge for this type of link. For that matter, I'm not sure if I have configured ircDdbgateway correctly, using a configuration template and ircDdbgatewayd, but I suppose that's technically out of the scope of this group.

I found a guide for bridging P25 to DMR, but haven't come across a good resource for doing the same between DSTAR and DMR.

I hate to be that guy that re-invents the wheel, but I'm just looking for a good starting-point.


Thanks for any help.

733

de

KE4DYI


Re: Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

Tom,

I use MB / AB to play  newsletters, emcom alerts, etc which are recorded in wav files., and I need to change TG in scripts that are call  in crontab


73 Waldek


Re: Analog_Bridge and tune.sh script #analog_bridge

Tom Corcoran
 


-- I enter new TG directly in DVSmobile. Can you please advise how I would use scripts?
Tnx ... Tom VE3NY


Re: 1 Way Audio (XLX DMR to ASL)

Eric-K6KWB
 

How do you go direct? I guess just enter the 4001 under TG on DVS.ini or AB?


Re: 1 Way Audio (XLX DMR to ASL)

Steve KC1AWV
 

Ah, I gotcha. If it's DMR on XLX, then YSF can just go direct there without having to transcode through analog.
I have a mindset that prefers not to daisy chain links, I like hub and spoke more. If one of the reflectors goes offline, I still have a path out somewhere and I'm not an island to myself.

There's more than one way to skin a cat, as they say :)


On Wed, Jul 10, 2019 at 2:50 PM Steve N4IRS <szingman@...> wrote:
I was thinking about having to transcode DMR to YSF when it's not needed. I do understand the control issue.

On 7/10/2019 2:49 PM, Steve KC1AWV wrote:
Eh, I suppose it's personal preference really. ASL has a lot more control, and I do prefer to add or remove connections (reflectors) direct from the radio or mobile app.

On Wed, Jul 10, 2019 at 2:25 PM Steve N4IRS <szingman@...> wrote:
Steve,
Is this XLX D-Star or XLX DMR? If it is DMR,  though I see the advantage to doing the mixing (and control) in ASL, Would it not be better to bridge XLX to YSF and add a Analog connection to XLX or YSF?  

On 7/10/2019 2:20 PM, Steve KC1AWV wrote:
I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV

On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


--
Steve Miller
KC1AWV



--
Steve Miller
KC1AWV



--
Steve Miller
KC1AWV


Re: 1 Way Audio (XLX DMR to ASL)

Eric-K6KWB
 

Cool will try that, many thanks.


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

OK,
I'll test when I get a chance.

On 7/10/2019 2:42 PM, Waldek SP2ONG wrote:
Yes, exactly.


Re: 1 Way Audio (XLX DMR to ASL)

Steve N4IRS
 

I was thinking about having to transcode DMR to YSF when it's not needed. I do understand the control issue.

On 7/10/2019 2:49 PM, Steve KC1AWV wrote:
Eh, I suppose it's personal preference really. ASL has a lot more control, and I do prefer to add or remove connections (reflectors) direct from the radio or mobile app.

On Wed, Jul 10, 2019 at 2:25 PM Steve N4IRS <szingman@...> wrote:
Steve,
Is this XLX D-Star or XLX DMR? If it is DMR,  though I see the advantage to doing the mixing (and control) in ASL, Would it not be better to bridge XLX to YSF and add a Analog connection to XLX or YSF?  

On 7/10/2019 2:20 PM, Steve KC1AWV wrote:
I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV

On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


--
Steve Miller
KC1AWV



--
Steve Miller
KC1AWV


Re: 1 Way Audio (XLX DMR to ASL)

Steve KC1AWV
 

Eh, I suppose it's personal preference really. ASL has a lot more control, and I do prefer to add or remove connections (reflectors) direct from the radio or mobile app.

On Wed, Jul 10, 2019 at 2:25 PM Steve N4IRS <szingman@...> wrote:
Steve,
Is this XLX D-Star or XLX DMR? If it is DMR,  though I see the advantage to doing the mixing (and control) in ASL, Would it not be better to bridge XLX to YSF and add a Analog connection to XLX or YSF?  

On 7/10/2019 2:20 PM, Steve KC1AWV wrote:
I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV

On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


--
Steve Miller
KC1AWV



--
Steve Miller
KC1AWV


Re: Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

Yes, exactly.


Re: 1 Way Audio (XLX DMR to ASL)

Steve N4IRS
 

Steve,
Is this XLX D-Star or XLX DMR? If it is DMR,  though I see the advantage to doing the mixing (and control) in ASL, Would it not be better to bridge XLX to YSF and add a Analog connection to XLX or YSF?  

On 7/10/2019 2:20 PM, Steve KC1AWV wrote:
I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV

On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


--
Steve Miller
KC1AWV


Re: 1 Way Audio (XLX DMR to ASL)

Steve KC1AWV
 

I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV


On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric



--
Steve Miller
KC1AWV


Re: 1 Way Audio (XLX DMR to ASL)

Eric-K6KWB
 

Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

So,
After all that, you are sending the command to AB which is listening on port 31100.

On 7/10/2019 1:17 PM, Waldek SP2ONG wrote:
OK Steve

In AB:

[AMBE_AUDIO]
address = 127.0.0.1                      ; IP address of xx_Bridge.py
TXPort = 31103                          ; Transmit TLV frames to partner on this port
RXPort = 31100                          ; Listen for TLV frames from partner on this port


in  MB DVSwitch:
[DMR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 31100                  ; Port to send AMBE TLV frames to (export)
RXPort = 31103                  ; Port to listen on (import)
Slot = 2                        ; Export slot

The script
================================
#!/bin/bash

function tune() {
    echo "Tuning to TG $1"
python - <<END
#!/usr/bin/env python
import sys
import socket
import struct
cmd = "txTg=$1"
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
END
}

tune $1
======================


It is looks I have sent to AB because RXPort is 31100


Re: ALS - YSF audio levels

Bill Kittilson
 

Perfect! Thanks
Bill


On Wed, Jul 10, 2019 at 1:15 PM Steve N4IRS <szingman@...> wrote:
Bill,
Thanks for posting this in the discussion group where everyone can see the question and answer.
Since Analog_Bridge started out as part of a Analog to DMR bridge, the setting used the DMR name. To be honest, this needs to be changed so that there is no confusion.
Here is what I suggest you start with:

aslAudio = AUDIO_USE_GAIN            ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = 5                          ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50

You can substitute DMR for YSF in your mind. In actuality, is should be ambeAudio and ambeGain. I expect we will change this in the next version

If you need to adjust the YSF -> ASL audio, change:
aslAudio = AUDIO_USE_GAIN
agcGain = 1.0
This should be the same level as unity
agcGain = 2.0
This should be twice as loud as unity
agcGain = 0.5
This should be half as loud as unity

=========================================

If you need to adjust the ASL -> YSF audio, change:
dmrAudio = AUDIO_USE_GAIN
dmrGain = 1.0
This should be the same level as unity
dmrGain = 2.0
This should be twice as loud as unity
dmrGain = 0.5
This should be half as loud as unity

Hope this helps,
73, Steve N4IRS

.

 

On 7/10/2019 1:02 PM, Bill Kittilson wrote:
Where does one made audio adjustment from YSF to ASL 
ASL -> YSF audio
YSF -> ASL audio 

Analog_Bridge configuration file

aslAudio = AUDIO_USE_AGC               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -25                        ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50
 
I see DMR but what about YSF do I just add
ysfAudio =  AUDIO_USE_GAIN
ysfGain = .50

Thanks
Bill



 


Re: Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

OK Steve

In AB:

[AMBE_AUDIO]
address = 127.0.0.1                      ; IP address of xx_Bridge.py
TXPort = 31103                          ; Transmit TLV frames to partner on this port
RXPort = 31100                          ; Listen for TLV frames from partner on this port


in  MB DVSwitch:
[DMR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 31100                  ; Port to send AMBE TLV frames to (export)
RXPort = 31103                  ; Port to listen on (import)
Slot = 2                        ; Export slot

The script
================================
#!/bin/bash

function tune() {
    echo "Tuning to TG $1"
python - <<END
#!/usr/bin/env python
import sys
import socket
import struct
cmd = "txTg=$1"
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
END
}

tune $1
======================


It is looks I have sent to AB because RXPort is 31100


Re: ALS - YSF audio levels

Steve N4IRS
 

Bill,
Thanks for posting this in the discussion group where everyone can see the question and answer.
Since Analog_Bridge started out as part of a Analog to DMR bridge, the setting used the DMR name. To be honest, this needs to be changed so that there is no confusion.
Here is what I suggest you start with:

aslAudio = AUDIO_USE_GAIN            ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = 5                          ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50

You can substitute DMR for YSF in your mind. In actuality, is should be ambeAudio and ambeGain. I expect we will change this in the next version

If you need to adjust the YSF -> ASL audio, change:
aslAudio = AUDIO_USE_GAIN
agcGain = 1.0
This should be the same level as unity
agcGain = 2.0
This should be twice as loud as unity
agcGain = 0.5
This should be half as loud as unity

=========================================

If you need to adjust the ASL -> YSF audio, change:
dmrAudio = AUDIO_USE_GAIN
dmrGain = 1.0
This should be the same level as unity
dmrGain = 2.0
This should be twice as loud as unity
dmrGain = 0.5
This should be half as loud as unity

Hope this helps,
73, Steve N4IRS

.

 

On 7/10/2019 1:02 PM, Bill Kittilson wrote:
Where does one made audio adjustment from YSF to ASL 
ASL -> YSF audio
YSF -> ASL audio 

Analog_Bridge configuration file

aslAudio = AUDIO_USE_AGC               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -25                        ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50
 
I see DMR but what about YSF do I just add
ysfAudio =  AUDIO_USE_GAIN
ysfGain = .50

Thanks
Bill



 


ALS - YSF audio levels

Bill Kittilson
 

Where does one made audio adjustment from YSF to ASL 
ASL -> YSF audio
YSF -> ASL audio 

Analog_Bridge configuration file

aslAudio = AUDIO_USE_AGC               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -25                        ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50
 
I see DMR but what about YSF do I just add
ysfAudio =  AUDIO_USE_GAIN
ysfGain = .50

Thanks
Bill



 

4761 - 4780 of 9132