From: Erik Bussink Date: Fri, 27 Mar 92 15:37:10 GMT To: ql-archive@ziggy.cisco.com Title : About transforming FILENAME.SIT.HQX mac samples to Sun and Amiga samples. [Please note that a snapshot of the the programs referred to below have been placed in ziggy.cisco.com:/ql-archive/programs for your convience. -- Mark] -------------------------------------------------------------------------------- Disclaimer: This adventure for the Sun/Amiga sample quest, is not given for novice users. You need an unix environment and access to FTP (Which you should have anyway to get this text file ;-)). I'm not responsible for any loss or damage you might do to your files, account or computer. -------------------------------------------------------------------------------- Firstly, I want to thanks Mark (maintainer of the ql-archive) and Ron Frederick, for their information on the way to start. Goal : Transform Binhex.StuffIt.MacSamples to raw data. Which can then be transformed to Amiga IFF samples and Sun samples (.au ?) To do this you need to get at least 2 files. MCVERT, UNSIT. You can find these two files on the ftp sites : sumex-aim.stanford.edu /info-mac/unix wuarchive.wustl.edu /mirrors/info-mac/unix the files are : mcvert-15.shar unsit-(latest).shar Downloaded them in a directory, and UNSHAR them (UNSHAR MCVERT-15.SHAR), and compile them (MAKE). You need only the executable. (tip, move the executable in your username/BIN directory.) MCVERT will transform an .SIT.HQX in an .SIT.BIN file. UNSIT will transform an .SIT.BIN in 3 files filename.data filename.info filename.rsrc When you MCVERT a file a small message will be displayed : Converting filename type = "SIT!", author = "SIT!" now if the TYPE is not SIT! but SITD, you need to edit the file .SIT.BIN and modify on the second line, the string ^@^@SITDSIT!^@^@ to the string ^@^@SIT!SIT!^@^@. Otherwise you can't UNSIT it. (It took me a while to figure this out. ;-) ) If you want to tranform the samples to sun samples, download from TITAN.RICE.EDU /sun-source/sound2sun.c in your directory and compile the file. (ie cc -O sound2sun sound2sun.c) To transform a Macfile to a Sunsample try this : sound2sun -f 11000 The -f switch stands for the frequency of the sample, and most (if not all the MacSamples on Ziggy.3cm.com) on the MacSamples are at the speed of 11000. -------------------------------------------------------------------------------- Analysis of some files on Ziggy.cisco.com: /ql-archive/mac-sounds -------------------------------------------------------------------------------- String.sit.hqx : No problem at to transform this one. As a matter of fact, When I tested the transformation, this was the first one I did transform, and it worked, but then all the other files didn't work. I didn't knew what I did wrong. MiscQL1.sit.hqx : No problem to transform it from HQX to BIN, but you can't UNSIT it. You have to edit the file. In the second line of the file you can find : ^@^@SITDSIT!^@^@ and transform it to ^@^@SIT!SIT!^@^@. Then you can UNSIT it. MiscQL1.sit.hqx --> ABC_Rap.* Adventures_Old_Friend.* Angel_Al.* Chimpanaut.* Christmas_Nightmare.* Deck_the_Halls.* Don_Quixote.* (GREAT sample) MiscQL2.sit.hqx : No problem to transform it from HQX to BIN. Edit the .SIT.BIN file and transform the second line ^@^@SITDSIT!^@^@ to ^@^@SIT!SIT!^@^@ and then UNSIT it. MiscQL2.sit.hqx --> Inchworm.* Oh_Great.* Rules_for_Chimps.* Starbright.* Ziggy_Squeal.* VoiceIntro.sit.hqx : No problem to transform it from HQX to BIN, but you need to edit the .SIT.BIN file and transform the ^@^@SITDSIT!^@^@ of the second line to ^@^@SIT!SIT!^@^@. Althou it gives an error message when you UNSIT it (CRC error on data fork: need 0xd501, got 0x6c84) the sample is allright. VoiceIntro.sit.hqx --> Saga_Cell.* (poor sample quality) ThePlay.sit.hqx : no problem to transform it from HQX to BIN, but you need to modify ^@^@SITDSIT!^@^@ to ^@^@SIT!SIT!^@^@ in the second line. Then you can UNSIT it. Only 1 files comes out of the UNSIT the others won't come out. :-( ThePlay.sit.hqx --> Flying_Noddle_Kick.* Frigid.* (don't come out) Straight_Jacket.* (don't come out) AlAppear.sit.hqx : No problem to transform it from HQX to BIn, and to UNSIT it. AlAppear.sit.hqx --> Al_Appearing.* AlQuot2.sit.hqx : No problem to transform it from HQX to BIN and to UNSIT it. ALQuot2.sit.hqx --> Blowing_Microchips_Like_Popcorn.* If_We_Knew_The_Unknown...* Kazazoom.* Kick_In_The_Butt.* Sick_Puppy_Look.* Unscrupulous.* What_Needs_To_Be_Put_Right.* YOUR_Project.* IfImLyin.sit.hqx : No problem to transform it from HQX to BIN and UNSIT it. IfImLyin.sit.hqx --> If_I_M_Lyin__I_M_Dyin.* hey, i'm getting a bit tired to write such a big text about each file, so from now on, they'll be smaller. ;-) Alberrrt.sit.hqx : HQX --> BIN --> UNSIT no problem HereToDo.sit.hqx : HQX --> BIN --> UNSIT no problem Hologrm.sit.hqx : HQX --> BIN --> UNSIT error but sample ok Hurricane.sit.hqx : HQX --> BIN --> EDIT FILE --> UNSIT no problem Leap.sit.hqx : HQX --> BIN --> UNSIT no problem AlQuote.sit.hqx : HQX --> BIN --> UNSIT no problem LeapBack.sit.hqx : HQX --> BIN --> EDIT FILE --> UNSIT 2/9 sample lost MiscQL.sit.hqx : HQX --> MCVERT just doesn't work ? MiscTV.sit.hqx : HQX --> MCVERT just doesn't work ? ================================================================================ Hope this is easy to understand ;-) and might it help you on the holy sample. Erik Bussink cs91eeb@brunel.ac.uk ================================================================================ -- Erik Bussink, Comp Science year 1 |o---------o| /// Brunel University (West London) UK |o Brunel o| /// Email Janet : cs91eeb@brunel.ac.uk |o Film o| /// |o Society o| \\\/// /\ Structure Integrity Field generators down... |o---------o| \XX/ /--\miga 2000 Structure Integrity Field failling...RED ALERT... HD 105mb,Ram 5mb Emergency computer override...RED ALERT... VXL-030 40mhz SIF now taping in Warp generators...SIF restored...YELLOW ALERT...