Wednesday, January 2, 2008

svn repository

The svn repository has now been setup on and I will publish the details on the relevant lists in a couple of days as soon as I have completed checking it out on both the Mac and Linux.

The tree contains everything that is required to compile and run the application under NetBeans apart from jack (see later). It was developed with NetBeans 5.5.1 and JDK 1.5 because Apple had not released 1.6. 1.6 is now available as a Beta release from the Apple developer site. I have not had any time to check this out yet. I have tried NetBeans 6.0 and JDK 1.6 on Linux and all is OK. However if any GUI forms are developed with this version they are not backward compatible with the previous versions.

The tree also contains a bin directory with 2 sub-directories for linux and mac, which contain the required compiled versions of sdr-core and sdr1000. sdr100 is the hardware code from repos-sdr-linux with a C wrapper around it to use fifos for it's interface.

The Java code will detect which OS it is running on and exec the correct versions as sub-processes.

The only thing that the user needs to install on their machine other than NetBeans and the Java Development Kit is Jack. Most distributions include Jack. I run Fedora Core 8 and it was just a simple matter of running the Package Manager (Add/Remove Software) and searching for jack and then selecting both 'jack-audio-connection-kit' and 'jack-audio-selection-kit-example-clients'. On Mac OS X you can download and install the jack package from

Note that the startup of jack and the connections are all exec'd from the Java code. There is no requirement for the user to run these manually or use qjackctl (in Linux) to make the connections.

There is a script in the tree to make the fifos. This mus be done before running the application.

No comments: