Path: news1.icaen!news.uiowa.edu!NewsNG.Chicago.Qual.Net!128.174.5.49!vixen.cso.uiuc.edu!howland.erols.net!news.maxwell.syr.edu!awabi.library.ucla.edu!132.239.1.220!ihnp4.ucsd.edu!sdd.hp.com!col.hp.com!news.cup.hp.com!not-for-mail
From: Dave Tribby <tribby@cup.hp.com>
Newsgroups: comp.sys.apple2.programmer
Subject: Re: Converting QuickTime Pro MIDI instruments to the IIgs
Date: Tue, 08 Jun 1999 14:12:14 -0700
Organization: Hewlett-Packard, Cupertino CA
Lines: 41
Message-ID: <375D872E.2330@cup.hp.com>
References: <19990607185332.26410.00002897@ng-ch1.aol.com>
NNTP-Posting-Host: hpindhx.cup.hp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; HP-UX B.10.10 9000/715)
Xref: news1.icaen comp.sys.apple2.programmer:10676

Cturley2 wrote:
> we want to port the MIDI instruments from the Mac QuickTime Pro
> bundle over to individual IIgs sound sample files - so we can construct some
> new synthLAB (.bnk and .wav) files with them.
> 
> We know how to construct the synthLAB (bnk and wav) files on the IIgs side.  We
> need info on how to capture, port and save each MIDI instrument sample and/or
> sound sample - in a sound file format, that can be converted and loaded into a
> synthLAB bnk file.

If you are using waveLab to create the instrument bank and wave files,
it is able
to import binary files into a waveform.  The steps would be something
like this...

 - Use a sound editor program (such as AudioZap or USE) to extract a raw
waveform
   from a file. If possible, edit it to be close to 256, 512, 1K, 2K,
4K, 16K, or
   32K in length since those are the sizes of the "slots" of DOC memory
that the
   waveform will occupy. (If the waveform is 1025 bytes in length, it
will have to
   go into a 2K slot and will waste 1023 bytes.)

 - Save just the waveform as a binary file. Exit the sound editor
program.

 - Run waveLAB and import the binary file into DOC memory.  You can
check DOC
   status to see how many pages it takes.

 - Create a new instrument that uses the waveform.  Now the fun begins:
you'll
   have to tweak the various parameters to get a good sounding
instrument, and
   also tune it so it is on pitch with other instruments.

Hope that this is enough to get you started.

-- Dave Tribby
