This Blog is AD Driven, if you enjoy the technical notes please help out and click a link or two.

Monday, December 21, 2009

Baudline

Baudline is a time-frequency browser designed for scientific visualization of the spectral domain. Signal analysis is performed by Fourier, correlation, and raster transforms that create colorful spectrograms with vibrant detail. Conduct test and measurement experiments with the built in function generator, or play back audio files with a multitude of effects and filters. The baudline signal analyzer combines fast digital signal processing, versatile high speed displays, and continuous capture tools for hunting down and studying elusive signal characteristics.


http://www.baudline.com/spectrogram.html

Wednesday, December 2, 2009

WSPR 2.0 will build on x64 Linux.

Unfortunately WSPR 2.0 crashes with a "Segmentation fault" when receiving the audio stream.

triumph@trident:/usr/local/src/wspr-2.00.r1714# /usr/local/bin/wspr
******************************************************************
WSPR Version 2.0_r1714 , by K1JT
Run date: Thu Dec 3 05:30:03 2009 UTC
*** glibc detected *** python: free(): invalid next size (normal): 0x0000000003180db0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7ff730a67dd6]
/lib/libc.so.6(cfree+0x6c)[0x7ff730a6c70c]
/usr/lib/libportaudio.so.2[0x7ff725428425]
/usr/lib/libportaudio.so.2[0x7ff725428960]
/usr/lib/libportaudio.so.2[0x7ff72542d593]
/usr/local/lib/python2.5/site-packages/WsprMod/w.so(soundin_+0x126)[0x7ff725652116]
/usr/local/lib/python2.5/site-packages/WsprMod/w.so(rx_+0x59)[0x7ff725657489]
/lib/libpthread.so.0[0x7ff7313f2a04]
/lib/libc.so.6(clone+0x6d)[0x7ff730ad17bd]
======= Memory map: ========
00400000-0051e000 r-xp 00000000 fc:00 1254560 /usr/local/bin/python
0071d000-0071e000 r--p 0011d000 fc:00 1254560 /usr/local/bin/python
0071e000-00750000 rw-p 0011e000 fc:00 1254560 /usr/local/bin/python
00750000-00757000 rw-p 00000000 00:00 0
0220e000-03189000 rw-p 00000000 00:00 0 [heap]
7ff714000000-7ff714008000 rw-p 00000000 00:00 0
7ff714008000-7ff718000000 ---p 00000000 00:00 0
7ff7189f4000-7ff71c9f5000 rw-s 00000000 00:11 27975109 /dev/shm/pulse-shm-760144391
7ff71c9f5000-7ff71c9f6000 ---p 00000000 00:00 0
7ff71c9f6000-7ff71d1f6000 rwxp 00000000 00:00 0
7ff71fbe2000-7ff71fbe3000 ---p 00000000 00:00 0
7ff71fbe3000-7ff7203e3000 rwxp 00000000 00:00 0
7ff7203e3000-7ff7203e4000 ---p 00000000 00:00 0
7ff7203e4000-7ff720be4000 rwxp 00000000 00:00 0
7ff720be4000-7ff720be6000 r-xp 00000000 fc:00 1384531 /usr/local/lib/python2.5/site-packages/PIL/_imagingtk.so
7ff720be6000-7ff720de5000 ---p 00002000 fc:00 1384531 /usr/local/lib/python2.5/site-packages/PIL/_imagingtk.so
7ff720de5000-7ff720de6000 r--p 00001000 fc:00 1384531 /usr/local/lib/python2.5/site-packages/PIL/_imagingtk.so
7ff720de6000-7ff720de7000 rw-p 00002000 fc:00 1384531 /usr/local/lib/python2.5/site-packages/PIL/_imagingtk.so
7ff720de7000-7ff720dec000 r-xp 00000000 fc:00 1082001 /usr/lib/libXfixes.so.3.1.0
7ff720dec000-7ff720feb000 ---p 00005000 fc:00 1082001 /usr/lib/libXfixes.so.3.1.0
7ff720feb000-7ff720fec000 r--p 00004000 fc:00 1082001 /usr/lib/libXfixes.so.3.1.0
7ff720fec000-7ff720fed000 rw-p 00005000 fc:00 1082001 /usr/lib/libXfixes.so.3.1.0
7ff720fed000-7ff720ff6000 r-xp 00000000 fc:00 1082012 /usr/lib/libXcursor.so.1.0.2
7ff720ff6000-7ff7211f5000 ---p 00009000 fc:00 1082012 /usr/lib/libXcursor.so.1.0.2
7ff7211f5000-7ff7211f6000 r--p 00008000 fc:00 1082012 /usr/lib/libXcursor.so.1.0.2
7ff7211f6000-7ff7211f7000 rw-p 00009000 fc:00 1082012 /usr/lib/libXcursor.so.1.0.2
7ff7211f7000-7ff7211fc000 r-xp 00000000 fc:00 1139009 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff7211fc000-7ff7213fc000 ---p 00005000 fc:00 1139009 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff7213fc000-7ff7213fd000 r--p 00005000 fc:00 1139009 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff7213fd000-7ff7213fe000 rw-p 00006000 fc:00 1139009 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff7213fe000-7ff721403000 r-xp 00000000 fc:00 1082875 /usr/lib/libogg.so.0.6.0
7ff721403000-7ff721602000 ---p 00005000 fc:00 1082875 /usr/lib/libogg.so.0.6.0
7ff721602000-7ff721603000 r--p 00004000 fc:00 1082875 /usr/lib/libogg.so.0.6.0
7ff721603000-7ff721604000 rw-p 00005000 fc:00 1082875 /usr/lib/libogg.so.0.6.0
7ff721604000-7ff721623000 r-xp 00000000 fc:00 1084119 /usr/lib/libvorbis.so.0.4.0
7ff721623000-7ff721822000 ---p 0001f000 fc:00 1084119 /usr/lib/libvorbis.so.0.4.0
7ff721822000-7ff721823000 r--p 0001e000 fc:00 1084119 /usr/lib/libvorbis.so.0.4.0
7ff721823000-7ff721831000 rw-p 0001f000 fc:00 1084119 /usr/lib/libvorbis.so.0.4.0
7ff721831000-7ff72184b000 r-xp 00000000 fc:00 1082899 /usr/lib/libvorbisenc.so.2.0.3
7ff72184b000-7ff721a4a000 ---p 0001a000 fc:00 1082899 /usr/lib/libvorbisenc.so.2.0.3
7ff721a4a000-7ff721a4b000 r--p 00019000 fc:00 1082899 /usr/lib/libvorbisenc.so.2.0.3
7ff721a4b000-7ff721c0b000 rw-p 0001a000 fc:00 1082899 /usr/lib/libvorbisenc.so.2.0.3
7ff721c0b000-7ff721c54000 r-xp 00000000 fc:00 1084131 /usr/lib/libFLAC.so.8.2.0
7ff721c54000-7ff721e54000 ---p 00049000 fc:00 1084131 /usr/lib/libFLAC.so.8.2.0
7ff721e54000-7ff721e55000 r--p 00049000 fc:00 1084131 /usr/lib/libFLAC.so.8.2.0
7ff721e55000-7ff721e56000 rw-p 0004a000 fc:00 1084131 /usr/lib/libFLAC.so.8.2.0
7ff721e56000-7ff721e59000 r-xp 00000000 fc:00 3236006 /lib/libuuid.so.1.3.0
7ff721e59000-7ff722059000 ---p 00003000 fc:00 3236006 /lib/libuuid.so.1.3.0
7ff722059000-7ff72205a000 r--p 00003000 fc:00 3236006 /lib/libuuid.so.1.3.0
7ff72205a000-7ff72205b000 rw-p 00004000 fc:00 3236006 /lib/libuuid.so.1.3.0
7ff72205b000-7ff722098000 r-xp 00000000 fc:00 3238081 /lib/libdbus-1.so.3.4.0
7ff722098000-7ff722298000 ---p 0003d000 fc:00 3238081 /lib/libdbus-1.so.3.4.0
7ff722298000-7ff722299000 r--p 0003d000 fc:00 3238081 /lib/libdbus-1.so.3.4.0
7ff722299000-7ff72229a000 rw-p 0003e000 fc:00 3238081 /lib/libdbus-1.so.3.4.0
7ff72229a000-7ff7222f6000 r-xp 00000000 fc:00 1084139 /usr/lib/libsndfile.so.1.0.20
7ff7222f6000-7ff7224f5000 ---p 0005c000 fc:00 1084139 /usr/lib/libsndfile.so.1.0.20
7ff7224f5000-7ff7224f7000 r--p 0005b000 fc:00 1084139 /usr/lib/libsndfile.so.1.0.20
7ff7224f7000-7ff7224f8000 rw-p 0005d000 fc:00 1084139 /usr/lib/libsndfile.so.1.0.20
7ff7224f8000-7ff7224fc000 rw-p 00000000 00:00 0
7ff7224fc000-7ff722505000 r-xp 00000000 fc:00 3238023 /lib/libwrap.so.0.7.6
7ff722505000-7ff722704000 ---p 00009000 fc:00 3238023 /lib/libwrap.so.0.7.6Aborted

Saturday, November 21, 2009

WSPR 2.0 Released November 19, 2009.

The WSPR 2.0 Release did not include a AMD64 Build.

http://physics.princeton.edu/pulsar/K1JT/
http://physics.princeton.edu/pulsar/K1JT/wspr_2.00r1714_i386.deb

Wednesday, November 18, 2009

Back to working on fldigi

No love for cw keying with the RigBlaster NoMIC via the serial port and Fldigi.
The nomic hardware will key the rig using CWType running on wine.
Sadly after some research it would appear that fldigi supports right channel cw keying via the audio jack from the PC sound card. This method of keying will requirer a different circuit to interface with the radio.

73's

Friday, October 30, 2009

Ubuntu + FLDGigi + Soldersmoke = Podcast #117

The Team at Soldersmoke.com have finally discovered Ubuntu with FLDGigi. w00t!!!

Check out the show here:
http://soldersmoke.blogspot.com/2009/10/soldersmoke-podcast-117.html

Thursday, October 1, 2009

Ubuntu 9.10 Karmic Koala Beta

Switching from nightly builds to Karmic Koala Beta for hamlib2 and fldigi testing.

Sunday, September 20, 2009

Nightly Ubuntu 9.10 Builds

Nightly builds of 9.10 do include:

libhamlib2 1.2.9-1ubuntu1 Run-time library to control radio transceive
fldigi 3.11.4-1 Digital modem program for hamradio operators

Ubuntu 9.10 to ship in October 2009

Hopefully the new release will have libhamlib2 1.2.9 included.

Wednesday, September 9, 2009

Quickie Build of XDX 2.4.2 on Ubuntu 9.04 x64

Download: xdx-2.4.2-build.sh

#!/bin/bash
# Ubuntu 9.04 comes with XDX 2.4.1
# Upgrading to 2.4.2 gets you:
# Improved gnuplot script for proper use of time format for the x-axis.


# Login as Root.
# sudo bash
# [sudo] password for motokilljoy:

# root@trident:~# id
# uid=0(root) gid=0(root) groups=0(root)

# Change to a working directory.
cd /usr/local/src/

# Download the newer version.
wget http://www.qsl.net/p/pg4i/download/xdx-2.4.2.tar.gz

# Extract the source code.
tar -zxf xdx-2.4.2.tar.gz

# Install some of the needed software dependencies.
# libgtk2.0-dev - Development files for the GTK+ library
# libgksu2-dev - library providing su and sudo functionality (development files)
# sox - Swiss army knife of sound processing
apt-get install libgtk2.0-dev libgksu2-dev sox

# Locate some of the needed libraries.
export PATH=$PATH:/usr/include/libgksu/

cd xdx-2.4.2/
./configure
make; make install

# Run the new version of XDX.
/usr/local/bin/xdx

# Setup XDX to use Hamlib preferences.
# Settings -> Preferences -> Enable hamlib checkbox: checked

# For Yaesu FT-2000/D VFO-A control.
# /usr/local/bin/rigctl -m 129 -r /dev/ttyUSB0 set_freq %d
# Double Clicking on a DXers QRG will automatically tune VFO-A to His or Hers frequency.

Friday, September 4, 2009

HowTo Install FLDigi from source code on Ubuntu 9.04 x86_64 for the Yaesu FT-2000/D Part 2

Download: linuxhamdev2.sh

#!/bin/bash

# Authored for linuxhamdev.blogspot.com by k6***
# Use at your own risk, no warranty at all.

# The Fldigi install:
# The configure option can make a big difference to fldigi.
# This is my basic configuration, yes to all sound subsystems with no CPU optimizations.

# Run the fldigi configure.
cd /usr/local/src/fldigi-3.12.4
./configure

#Configuration summary:
# Version ..................... 3.12.4
# Static linking .............. no
# CPU optimizations ........... none
# Debugging ................... no
# fldigi ...................... yes
# flarq ....................... yes
# i18n ........................ yes
# fldigi build options:
# sndfile ..................... yes
# oss ......................... yes
# portaudio ................... yes
# pulseaudio .................. yes
# hamlib ...................... yes
# xmlrpc ...................... yes

echo "Please review the Fldigi Configuration summary before continuing on."
echo " "
echo "Hit Enter to continue."
read page

# Build and install fldigi.
make; make install

# Step two has finished, hopefully you have a working fldigi install
# To remove the fldigi install do the following.
# cd /usr/local/src/fldigi-3.12.4
# make uninstall

echo "Fldigi installed"

Thursday, September 3, 2009

HowTo Install FLDigi from source code on Ubuntu 9.04 x86_64 for the Yaesu FT-2000/D Part 1

+

Download:
linuxhamdev1.sh

#!/bin/bash

# Authored for linuxhamdev.blogspot.com by k6***
# Use at your own risk, no warranty at all.

# My Hardware configuration:
#
# Ubuntu Server 9.04 X64 on a Dell Precision Workstation 380.
# CPU: Intel Pentium D CPU 2.80GHz-HT
# RAM: 1.5GB
#
# Yaesu FT-2000 HF+50MHz
#
# Interfaces:
# 1 PCI Creative Labs SB Live
# * 05:04.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)
#
# 2 Port PCI Lava Serial port card.
# * 05:05.0 Serial controller: Lava Computer mfg Inc Lava Port Plus
#
# 1 RigBlaster Nomic
#
# 2 USB-to-Serial Adapters.
# * ID 050d:0109 Belkin Components F5U109/F5U409 PDA Adapter
#
#
#
# The software install:
#
# login in as the ROOT User with sudo.
#
# linuxhamdev@linux-box:~$ sudo bash
# [sudo] password for linuxhamdev:

echo "This script should be run from the root account. try: sudo bash"

# Confirm that the login worked.
#
# root@linux-box:~# id
# uid=0(root) gid=0(root) groups=0(root)
echo " "
echo "Your account ID is:"
id
echo " "
echo "Hit Control-c if your not uid=0 and login as root"

# Hit Enter to continue.
read page


# Get the needed software for hamlib and fldigi.
# Ubuntu's version of hamlib does not support the Yaesu FT-2000/D.
# So we need to download the latest one from SourceForge.net.

# Change to the /usr/local/src directory to download and install the source code.
cd /usr/local/src

# Download HamLib
wget http://downloads.sourceforge.net/hamlib/hamlib-1.2.9.tar.gz

# Download Fldigi source code with wget.
# http://www.w1hkj.com/fldigi-distro/
wget http://www.w1hkj.com/fldigi-distro/fldigi-3.12.4.tar.gz

# Extract the source code.
tar -zxf hamlib-1.2.9.tar.gz

# Extract the source code.
tar -zxf fldigi-3.12.4.tar.gz

echo "After reading the configure output for hamlib, I have determined"
echo "that I need to add the following software."
echo " "
echo " * libxml2-dev - Development files for the GNOME XML library"
echo " * tcl - The Tool Command Language (default version) - run-time files"
echo " * tcl-dev - The Tool Command Language (default version) - development files"
echo " * libfltk1.1-dev - Fast Light Toolkit - development files"
echo " * libxmlrpc-c3-dev - A lightweight RPC library based on XML and HTTP for C and C++"
echo " * pulseaudio - PulseAudio sound server"
echo " * libpulse-dev - PulseAudio client development headers and libraries"
echo " * portaudio19-dev - Portable audio I/O - development files"
echo " * libsndfile1-dev - Library for reading/writing audio files"
echo " * libpng12-dev - PNG library - development"
echo " * libjpeg62-dev - Development files for the IJG JPEG library"
echo " * libsamplerate0-dev - Development files for audio rate conversion (libsamplerate)"
echo " * libusb++-dev - userspace USB programming library development files"
echo " "
echo " Hit Enter to install some basic software dependencies"
read page

# Install the software all-in-one shot with the apt-get command.
apt-get -y install libxml2-dev tcl tcl-dev libfltk1.1-dev libxmlrpc-c3-dev \
pulseaudio libpulse-dev portaudio19-dev libsndfile1-dev libpng12-dev \
libjpeg62-dev libsamplerate0-dev libusb++-dev

# Symbolically Link the python includes directory so Hamlib can find it.
# The standard Ubuntu install does not have the needed python link by default.
ln -s /usr/include/python2.5/ /usr/include/python

# The above sections address some of the basic software dependencies and
# path issues raised by configure for Hamlib.
# If you find some features to be missing or unwanted, you will need
# to reconfigure and reinstall Hamlib.
cd /usr/local/src/hamlib-1.2.9
./configure

# Build and install HamLib all-in-one shot.
make; make install

# Step one has finished, hopefully you have a working Hamlib install.
# To remove the hamlib install do the following.
# cd /usr/local/src/hamlib-1.2.9
# make uninstall
# Just remember hamlib is a dependency for Fldigi.
echo " "
echo "Hamlib installed"