[PlanetCCRMA] Wired?

David Fraser davidf@sjsoft.com
Wed Nov 17 22:05:02 2004


This is a multi-part message in MIME format.
--------------060409040302090407090909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Decided to build it and made a build script.
This ran for me successfully on FC3.
I've since modified it so that it downloads the files automatically and 
tries to guess what directories they get unpacked into.
This is fairly untested but logical so it should work.

Build Notes:
libsndfile that comes with CCRMA doesn't have a devel version and 
doesn't include the header, so I build it manually.
It requires wxGTK-2.5+ so that gets downloaded and built too. Note that 
this is big and takes a while to build
Since this is all development stuff I recommend building into a separate 
directory (I use /usr/local/wired-0.1)
The patch to soundtouch is attached
Any feedback appreciated, also check out the wired forum on sourceforge 
if you need help building
http://sourceforge.net/forum/forum.php?forum_id=409329

Running Notes:
Changing the audio settings is horribly unstable, I ended up trying to 
change one setting a time and quitting and reloading in case it was 
going to crash. Eventually got the setup I wanted. Then fairly intuitive 
to use, but still crashes a lot :-)

David

Mark Knecht wrote:

>Tried to build it. Decided it wasn't worth my efforts right now to
>blaze any trails and backed off. They want you to edit Port Audio code
>files, or some other such stuff. Didn't personally have the patience
>and decided I'd wait for a Planet or Gentoo offering before spending
>any more time.
>
>cheers,
>Mark
>
>
>On Wed, 17 Nov 2004 22:05:45 +0100, Björn Elenfors <bjoele@gmail.com> wrote:
>  
>
>>Hi!
>>
>>Have anyone on the list tried Wired? http://bloodshed.net/wired/ was
>>presented on Slashdot the other day.
>>Have not downloaded it myself yet since I don't see what it'll give me
>>that I cant get with rosegarden/muse/ardour and the lack of LADSPA
>>support, but perhaps I've missed something?
>>
>>/Björn
>>
>>_______________________________________________
>>PlanetCCRMA mailing list
>>PlanetCCRMA@ccrma.stanford.edu
>>http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>>
>>    
>>
>
>_______________________________________________
>PlanetCCRMA mailing list
>PlanetCCRMA@ccrma.stanford.edu
>http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
>  
>


--------------060409040302090407090909
Content-Type: text/x-patch;
 name="soundtouch-wired-float.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="soundtouch-wired-float.patch"

--- SoundTouch-1.2.1/include/STTypes.h.orig	2003-12-27 14:04:38.000000000 +0200
+++ SoundTouch-1.2.1/include/STTypes.h	2004-11-17 12:39:02.789279679 +0200
@@ -53,8 +53,8 @@
     // Enable one of the following defines to choose either 16bit integer or
     // 32bit float sample type. If you don't have opinion, using integer samples
     // is generally faster.
-    #define INTEGER_SAMPLES       // 16bit integer samples
-    //#define FLOAT_SAMPLES       // 32bit float samples
+    // #define INTEGER_SAMPLES       // 16bit integer samples
+    #define FLOAT_SAMPLES       // 32bit float samples
 
 
     #ifdef INTEGER_SAMPLES

--------------060409040302090407090909
Content-Type: text/plain;
 name="wiredbuild"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="wiredbuild"

#!/bin/bash
[[ $downloadpath == "" ]] && downloadpath=.
soundtoucharchive=soundtouch_v1.2.1.zip
# portaudioarchive=portaudio-v19-snapshot-20040310.tar.gz
portaudioarchive=pa_snapshot_v19.tar.gz
wxarchive=wxGTK-2.5.3.tar.bz2
sndfilearchive=libsndfile-1.0.11.tar.gz
wiredarchive=wired-0.1.tar.gz
(
 echo downloading source archives into $downloadpath
 cd $downloadpath
 [[ -f $soundtoucharchive ]] || wget http://sky.prohosting.com/oparviai/soundtouch/$soundtoucharchive
 [[ -f $portaudioarchive ]] || wget http://portaudio.com/archives/$portaudioarchive
 [[ -f $wxarchive ]] || wget http://heanet.dl.sf.net/sourceforge/wxwindows/$wxarchive
 [[ -f $sndfilearchive ]] || wget http://www.mega-nerd.com/libsndfile/$sndfilearchive
 [[ -f $wiredarchive ]] || wget http://heanet.dl.sf.net/sourceforge/wired/$wiredarchive
 echo downloading complete
)
# setup to build into prefix...
wiredprefix=/usr/local/wired-0.1
export LD_LIBRARY_PATH=$wiredprefix/lib:$LD_LIBRARY_PATH
export PATH=$wiredprefix/bin:$PATH
# extract and build everything...
unzip $downloadpath/$soundtoucharchive
patch -p0 < soundtouch-wired-float.patch
(
 soundtouchdir=`unzip -l $downloadpath/$soundtoucharchive | grep "^[^/]*/$" | sed 's/^[ 0-9:\-]*//'`
 cd $soundtouchdir
 ./configure --prefix=$wiredprefix
 make install
)
tar xzf $downloadpath/$portaudioarchive
(
 cd portaudio
 ./configure --with-alsa --without-jack --prefix=$wiredprefix
 make install
)
tar xjf $downloadpath/$wxarchive
(
 wxdir=`tar tjf $downloadpath/$wxarchive | head -n 1`
 cd $wxdir
 ./configure --enable-gtk2 --prefix=$wiredprefix
 make install
)
tar xzf $downloadpath/$sndfilearchive
(
 sndfiledir=`tar tzf $downloadpath/$sndfilearchive | head -n 1`
 cd $sndfiledir
 ./configure --prefix=$wiredprefix
 make install
)
tar xzf $downloadpath/$wiredarchive
(
 export INCLUDES=-I$wiredprefix/include/
 cd wired
 ./configure --prefix=$wiredprefix
 make install
)


--------------060409040302090407090909--