Thank you Peter I found that the delta-time pitch quantiser was going out of range with bit errors. This is what I love about open source - people break your code by testing it in ways you can't imagine yourself (decoding the wrong bit rate the the system in this case)!
Rev 407 of codec2-dev has the fix. BTW with the I note that with the compressed file at the wrong rate the audio sounds like gibberish but isn't (physically) painful to listen to - some codecs can hurt your ear with bit errors! Cheers, David On Wed, 2012-05-09 at 21:13 +0930, David Rowe wrote: > Hello Peter, > > Hmm, you may have uncovered a bug. We shouldn't be getting a segfault, > even when the decoder is fed random data due to the bit rate being > incorrect. Probably a look up table being overrun. > > Can u pls email me your Codec2TT-DEMOD.c2? I'll track it down. > > Thanks, > > David > > On Wed, 2012-05-09 at 10:56 +0100, Peter wrote: > > On 9 May 2012 10:08, Daniel Ankers <[email protected]> wrote: > > > On 9 May 2012 09:56, Peter <[email protected]> wrote: > > >> Well, I see there is alpha source code there. So I may look into > > >> creating a test sequence (callsign and a short message) and > > >> effectively sked on here with my fellow Europeans and see if anyone > > >> can pick it up and decode it. Hopefully some people will now jump on > > >> and agree to listen out for me if I do so :) > > >> > > >> I don't have a very good HF antenna setup at all right now (by which I > > >> mean it's made up of speaker wire running into the garden). But, get > > >> favourable results on 30/40m, less so on 20m. So should hopefully get > > >> something. > > > > > > I can listen from IO74sd from about 1700z > > > > > > Dan MD1CLV > > > > Hi Dan, > > > > It may be a bit premature to sked. I just tried creating a 40 second > > test signal with actual voice. > > > > I used ./c2enc 1200 Codec2TT.raw Codec2TT-1200.c2 > > Decoding this file back to raw results in good clear audio (well very > > clear considering the bit rate). > > > > So, I used ./fdmdv_mod Codec2TT-1200.c2 Codec2TT-MOD.raw > > > > It produced 33 seconds of modulated audio. I think perhaps this is the > > bitrate difference. I also notice the modulator expects 56bit frames, > > c2enc doesn't ever create 56bit frames according to the source. A new > > bit rate/mode coming soon for the fdmdv? > > > > Anyway, I thought perhaps it might still work. So I demodulated the signal > > back: > > > > ./fdmdv_demod Codec2TT-MOD.raw Codec2TT-DEMOD.c2 > > and then finally tried to get a raw file back to ensure the entire chain > > works. > > ./c2dec 1200 Codec2TT-DEMOD.c2 Codec2TT-DEMOD.raw > > > > At which point I get a segfault. :( > > > > I think we need to wait until the codec encoder is updated to support > > the modulator code. > > > > But, as soon as it is all working and compatible I'll fire up some > > test transmissions. > > > > ------------------------------------------------------------------------------ > > 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 > > [email protected] > > https://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 > [email protected] > https://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 [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
