Hi all, I've been playing with codec2 over HF over the last few days, and I've noted the following changes to get everything running on OSX:
In OSX 10.7, malloc is in stdlib, and malloc.h doesn't exist, so in kiss_fft.h, I had to add the following around the malloc.h include line: #if !defined(__APPLE__) #include <malloc.h> #endif To get fl_fdmdv going, I installed the required dependencies (fltk, portaudio) using macports, and used the following line to compile: g++ fl_fdmdv.cxx -I../src/ -o fl_fdmdv -O3 -g /opt/local/lib/libfltk.a -lpthread -framework Cocoa ../src/.libs/libcodec2.a -lm -L/opt/local/lib -lportaudio -pthread -I/opt/local/include Portaudio is quite nice on OSX, I can select the input device using descriptive names, like: ./fl_fdmdv -s "Internal Microphone" Josh VK3XJM and I had a go sending some fmdmv modulated codec2 data over a 30m HF channel, from Whyalla South Australia. Josh used a webSDR in Melbourne (http://websdr.comms.net.au:8901/) to receive the signal. The recorded wave file from the test is here: http://www.zindello.com.au/wordpress/wp-content/uploads/2012/07/Codec2-Mark3.wav and the demodulated codec2 data (1400bit/s) is here (remove the .wav extension, wordpress being annoying): http://www.zindello.com.au/wordpress/wp-content/uploads/2012/07/rx_fd.c2.wav Cheers, Mark VK5QI ------------------------------------------------------------------------------ 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
