On 12 May 2012 21:09, Peter <getroo...@gmail.com> wrote:

> Real time would be nice. I may try and get it running under windows. I
> don't have a working dual boot right now. I've running it offline via my
> server in Germany. Failing a windows compile I guess I could re enter the
> dual boot land. I cannot get vmware to use my USB sound card I use for
> connecting to my radio. Anyway when I return Tuesday I'll try and get one
> way or the other working. Since it makes a lot more sense. Hopefully if
> enough of us can get on there interest will pick up.
>
> Peter M6DGI
>  On May 12, 2012 8:29 PM, "Rob, M0DTS" <r...@m0dts.co.uk> wrote:
>
>>  Hi to those doing some on-air tests... i will be lurking also.
>>
>> I've just been testing the pipeline for some real-time qso's and seems to
>> be working well, codec2 does really well for such a low bitrate.. i'm quite
>> impressed.
>>
>> For a quick test i'm using:
>> arecord-c2enc-c2dec-aplay is about 200mS delay with no tweaking so good
>> enough for now, off to get FDMDV in the pipe now!
>>
>> I will be around for some live tests tomorrow if anyone interested.
>>
>> Rob
>> M0DTS
>> Middelsbrough, UK
>>
>>
>> On 11/05/2012 22:26, Peter wrote:
>>
>> On 11 May 2012 22:21, Peter <getroo...@gmail.com> wrote:
>>
>>>  On 11 May 2012 22:19, Philip Heron <p...@sanslogic.co.uk> wrote:
>>>
>>>> On 11/05/12 22:12, Peter wrote:
>>>> > Yep, tell me what you hear. And I'll match it up to the script I
>>>> read. But
>>>> > yes, my callsign is in there quite a few times.
>>>>
>>>>  It's only a fragment...
>>>>
>>>> "Oscar zero one alpha .. zero... "
>>>>
>>>> This was received via the websdr. My own station heard your CW but
>>>> nothing else.
>>>>
>>>> The raw files are uploaded here:
>>>> http://www.sanslogic.co.uk/files/websdr-2/
>>>>
>>>>
>>> Ah, not a callsign but definitely in there. My locator. JO01an.
>>>
>>> Perhaps we'll have better luck next week. Possibly later in the
>>> evenings, on 80m might be even better. Right now I think contests have
>>> started and every band is full of SSB voice.
>>>
>>
>> Oh and on the subject of antenna setups. I was transmitting that (which
>> was received in Holland) on a self built Windom antenna (1/3 + 2/3 split)
>> of basic single core wire ran around my garden at 3m or less in height
>> (almost touching the ground sometimes) connected to a 6:1 balun. Which I
>> literally put up quickly this evening.
>>
>> HF is amazing sometimes.
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>>
>> _______________________________________________
>> Freetel-codec2 mailing 
>> listFreetel-codec2@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Freetel-codec2 mailing list
>> Freetel-codec2@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>
>>
Hi all,

I had a little bit of a play with making realtime work.

I've run across a few snags due to running primarily on windows I suspect.
But gotten around them using a tool called NirCmd (it allows you to
automate a lot of basic windows function).

My setup looks like this:

Bluetooth headset showing as audio record/play devices (potential
input/output for the voice part)
USB headset also showing as audio record/play devices (another potential IO
for the voice part)
USB Startech sound board showing as audio record/play device (this is
connected to the accessory port adapter on the radio).

So inside the audio setup I renamed all the input/outputs with unique
names. RadioIn, RadioOut, HeadsetIn and HeadsetOut. I chose to use the USB
headset because the bluetooth one seems to turn off the mic when there's
nothing going on, on the output. Which makes sense, but will ruin my plans
here.

So I have some basic lines setup on cygwin to handle tx/rx. I used cygwin
purely because I don't really trust windows pipes. So we have:

tx:

rec -r 8000 -t raw -s -b 16 -c 1 -|./c2enc.exe 1400 - -|./fdmdv_mod.exe -
-|play -r 8000 -t raw -s -b 16 -c 1 -

rx:

rec -r 8000 -t raw -s -b 16 -c 1 -|./fdmdv_demod.exe - -|./c2dec.exe 1400 -
-|play -r 8000 -t raw -s -b 16 -c 1 -

Of course if there are problems with the circuit, adding another sox to
upconvert/downconvert to/from 48k if needed.

Here's my problem. Cygwin and MinGW compiled windows binaries can only see
a single /dev/dsp device. This can only see the current default soundcards.

I overcame it with the nircmd program
http://www.nirsoft.net/utils/nircmd.html

So I now have two bash scripts:

tx:

#/bin/bash
nircmd setdefaultsounddevice OutputRadio
nircmd setdefaultsounddevice InputG35
rec -r 8000 -t raw -s -b 16 -c 1 -|./c2enc.exe 1400 - -|./fdmdv_mod.exe -
-|play -r 8000 -t raw -s -b 16 -c 1 -

rx:

#/bin/bash
nircmd setdefaultsounddevice OutputG35
nircmd setdefaultsounddevice InputRadio
rec -r 8000 -t raw -s -b 16 -c 1 -|./fdmdv_demod.exe - -|./c2dec.exe 1400 -
-|play -r 8000 -t raw -s -b 16 -c 1 -

I'm hoping these will work. When propagation picks up I'll be calling CQ on
7.070 USB or, somewhere in the digimodes/all modes section on 14Mhz.
Hopefully I'll be transmitting something coherent and not gobbledegook :)


Peter, M6DGI.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to