Building a Siren Image

To load Siren into a VisualWorks 7.5 virtual image, follow these steps.

Start VW 7.5
   Load your favorite parcels (AT tools, DB, etc.)
   Siren requires the following packages:
      Store/PostgreSQL, DLLCC, AdvancedTools, BOSS, XML Tools,
      HTTP and ComposedTextEditor from the standard release, and
      SmaCC and SWIG from the public Store repository
   Load Siren.pcl
   It should automatically do the next 2 steps, see the Transcript.
   File in the MusicConstants.st file
      [((Net.HttpClient get: 'http://FASTLabInc.com/Siren/MusicConstants.st')
               contents readStream binary) fileIn]
   Load the workbook browser from the BOSS file
      [(ListWorkBook new loadFromURL: 'http://FASTLabInc.com/Siren/Siren7.5_Workbook.bos') open]

By-hand init (see these methods for site tuning)
   Siren.SoundFile initializeSoundFileFlags
   Siren.SirenUtility initialize (or SirenUtility initializeSirenSTP)

Load optional L&F hacks
   Left-hand scroll bars - BorderDecorationPolicy-initialize.st
   Custom colors - MotifWidgetPolicy class-initializeDefaultGenericColors.st

To open list workbook by hand
   ListWorkBook open
   Use the Page/load_all menu item to load the workbook contents
      from the BOSS file Siren7.5_Workbook.bos

See the appropriate Workbook pages for the following subsystems

Load and test the DLLCC External Interfaces (see the C makefiles and interface class defs)
   LibSndFile - [LibSndFileInterface example1: 'unbelichtet.aiff']
   PortMIDI - [PortMidiInterface testMIDI]
   FFTW - [FFTWInterface example]
   PortAudio - [PortAudioInterface example1]

Test the OSC I/O (assumes some OSC client)
   OSCVoice midiScaleExample

Load and test the SWIG Interfaces
   CSL
      Siren.CSL.CSL initializeModule
      CSLGraph testSimpleGraph
   Loris
      Siren.Loris.Loris initializeModule
      Siren.Loris.Loris version
      See examples in LorisSound

Set up a new changelist
make a snapshot...

Now for the bad news:
   Undeclared inspect