ftp.nice.ch/pub/next/tools/cdrom/CD_evil.beta3.README

This is the README for CD_evil.beta3.NI.b.tar.gz [Download] [Browse] [Up]

To the administrator...please put this app and this readme file in the appropriate audio section of your ftp site.  This is the Beta2 release of CD_evil.  Please destroy all previous versions...Thank you.

Changes:
	After a few requests, I am putting up this version of CD_evil.  This version will only search for the string "TOSHIBA CD-ROM XM" rather than anything more specific.  This will allow CD_evil to try work with all XM series of CDROMs.  I do not have access to all Toshiba CD_ROMS and don't know if it will work.  I do know it will work with 3401, 3501, and 3601 CDROMS.  If it works for other versions please send me mail letting me know.

CD_evil


I wrote this app (based on play3401) so that I would have a recording CD app that would work on Intel hardware.  I made a GUI interface for it and added a few features as well.  It works with most Toshiba drives and it will correctly write the header for a snd file on an intel system. (the bytes have to be reversed).  This app should work on Black hardware, as for SPARC and HP.... who knows... I don't have access to other CDROMS or machines. 

There are still some bugs in the app and a few things work in peculiar ways to make the app more solid.  There are three threads controlling various aspects of the program and I had to keep everything in sync.  The code is a bastard between C and objC.  As far as I know, the AppKit is not multithread safe and would not work right for me so I kept some of the code in C.  If anyone knows otherwise let me know.

I would like to thank Carl Edman and Juergen Sell for making the original code available, Felipe A. Rodriguez for his code regarding icon manipulation and everyone else who helped me get the app to where it is now.

Please feel free to distribute it.  My only garantee is that it works on my machine and that is all.  If anyone makes it work on other computers or with other CDROM drives, let me know and send me a copy.  

I am currently trying to clean up the code and make the animation better.  (If anyone has all versions of the cursor spinning, please send me a copy.  Just rotating one image is not the same.)

Enjoy...

If you want the code, send me mail, but I must warn you...this app can make your system hang and I take no responsibility for any possible harm.  I must inform everyone who wants the code, my code is a HACK (but it works), and I don't recommend anyone playing around for fun with the code.



Important

To use the app you must first set it SUID.  To do this you have to open a terminal window and cd into the app wrapper. Then as root type the following commands:

chown root.wheel CD_evil
chomd 4755 CD_evil

Then you can use it as any user.



Basic Instructions:

	The app is set up like an old tape player.  Load the CD by first clicking the load button and wait for the computer to ask you to insert the CD.  The first time you use it you might have to click it twice if you have not used your CDROM since you booted last (bug #1).  

	Select your track by entering the track number in the textfield or click on the track you want.  Then hit play,pause, stop, etc.

	To record you can start recording while the CD is playing or if you want to record a whole song, hit record, select the filename, select the track, and then hit play to start recording.  The recording will stop at the end of the track and close the file.  You can use the newly created snd file immediately, but sisnce I am not specifying the legnth of the file you will need a program like resound to play the file.  mmalc's contents inspector will not work without a length. 

	If you want to record without listening you can turn the sound off.  The app will animate its icon while it is recording.   The icon will stop when the recording is done.
		
	Sometimes there is some static while playing.  Just hit pause and unpause it.  If that does not work try stopping it or just quit and restart if all else fails.
	
BTW, you can still hear system beeps and sounds other programs make while a CD is playing, but you cannot record at the same time as you can with apps like CDPlayer, unless you have a card (or cards) more powerful than my SB16.

In addition this app works with Doom][.  NEXTSTEP seems to be able to mix the digital audio stream and the doom sounds rather well--A CD makes a great music track (I like it in random mode).

Arv
asoni@servtech.com

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.