¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

P25 and DSTAR


 

Hi Jim

Thought I'd carry on adding digital voice modes to quisk.
I'd previously added P25, I've now also included D-STAR.

I've also simplified it a bit. Originally it used the op25 vocoder for TX and mbelib for RX. It now just uses the op25 vocoder.
Receive is still based on dsd - with unused bits of dsd commented out (might be useful if someone wants to add other modes such as pmr)
It also uses code from G4KLX's extensive projects and stuff specifically written as needed to complete the TX side.

The attached file contains the delta from quisk 4.2.10 plus two extra folders - one is for the dv tx & rx code, the other for the codecs.
I hacked setup.py to include the extra C modules and built it under msys2-64 under windows but found I needed a different set of dlls (apologies for not getting this quite right).
To build, then first go to the folder mbe/imbe_vocoder and execute 'make' then go up one to the folder mbe and execute make again. Then build quisk.

The D-STAR user interface is pretty basic :-)

Also it will attempt to generate GPS data for D-STAR if it's enabled in settings. To do this in the absence of a GPS module
it will attempt to use the python package 'geocoder' which needs to be installed (pip install geocoder).
Or you can manually enter a GPGGA string and it will try to generate a GPRMC string from this.
In both cases it will use lots of dummy values.
Take a look at the stuff added to the start of configure.py

I'm not completely happy with the receive filtering but it seems to work. Might have a go at improving it but think I'll go take a look at M17 next.

I's been an interesting self-learning exercise into how P25 and D_STAR work.

Have fun
Dave
G8KBB


 

An update to the P25 and DSTAR code.
I realised that the end of transmission was not handled properly, so it now holds TX on until after the final frame plus a configurable time delay.
There is a fudge factor for the DSTAR TX audio gain as per the OP25 release notes. Yeuch.
The attached zip file is a delta on build 4.2.14.