Inferno #05
30 апреля 2004 |
|
CacheVox - The code for import and subsequent playback of digital music from floppy disks.
CacheVox v1.0 Memory Real Audio Player for GS Dedicated ... This package of programs you do not need if: - You do not have the Pentagon 128 and above; - This Pentagon does not contain a cache (option: megabytes); - This is not implemented Pentagon'e Covox; - Your friends do not let you ptsshniki Yit mother on pisyukovskie button. CacheVox not run under emulation. The package is designed to import and then playing with the floppy (double density) of digital music medium and high quality (mono). Music of different formats (MP3 is not recommended) before conversion to the format of the program must pass conversion to WAV potok.Format program includes compression factor of 2 (exactly) with minimal losses. The concept of compression is to restore from each byte two counts based on previous otschet.Tablitsy transformations that can be found in the accompanying source code, are based on statistics and more adjusted for sluh.Poetomu this compression format is fully completed. Possible new compression formats will work with more complex arithmetic. As a rule, the optimal volume roughly corresponds to twice the volume to normalize the sound - that is, you slips my converter to normalize the sound, and the converter to double it. But you choose ... 8-bit sound, with appropriate conversion is much cleaner than that to which you psychologically prepared! Bitrate supported by only one: 22kHz. In the least demanding cycles 22kHz interpolated to 44kHz. Base rate not 11 kHz, because I do not like dirty Invader sound:) In earlier versions, it was used, so it can be returned along with the standard, of course, by popular demand:) Music is stored on a disk volume 640k (Files for TR-DOS disk), 800k (MS-DOS) or 960k (5760x170). 0-I track is not used, it can be written player. 800k disk drives should be made only here. Formatting and filling 960k disks made with two 640k floppy disk copiers in the CacheVox. I suspect that these disks are not very popular: ( Formatter and restoreru is required for the 48k; copiers 2x640k-> 960k requires 128k; player - either 48k + Cache, or 1024k. - The format allows you to bypass some rye scratches, which I now consider I say ... one programmer It is no secret that more than 5760 bytes per formatted DD track disc will not fit, of course, if you do not ukrutite engine of your drive up to 280 rpm:) And the fit them there can be only one way - 7 sectors, of which 5 to 1k. With the controller jokes are not jokes, so all of the control field path is minimized to create the index stock that will allow entry to the last sector without disrupting its structure and the damage first. In this drive, spinning at 1% faster than the standard will not be able written on the 960k disk even zero track. For this and many other reasons, 960k Disk for ZX can not be created on the PC. Creating a 960k disk drives tested at 5.25 and 3.5. The program can move the sector track through 7 unnecessary bytes within multi-sectoral gaps, 4 bytes in the optional field blank (after the title sector) and the sequence location themselves sektorov.Vsya work is done automatically, but a successful outcome is not guaranteed: ( Copying of the files is the size of 255 sectors (smp.s, smp.0, smp.1 ...). They can throw on a 640k disk you like. Naplodit them capable Spectrum Navigator: for this you need to copy smp.smp in. scl, then this. scl make two, which are recorded on the TR-DOS discs. Formatting for reliability is a long delay after positioning, recording and double-checked the readability. Readability is checked in, close to the fighting - before the reading is done repositioning. But, nevertheless, to one of my floppy disks at a certain track record somewhere in the middle of the media time to evaporate between formatting and reading. Of course, you have to copiers podidzheystvovat. But fewer than during recording video "Locomotion":) I have the whole process took 11 minutes 45 sekund.Byla idea generate 960k disk from MS-DOS'nogo with the file Rar'e. Provides for restoration of run down record on 800k and 960k disks. For the 960k is especially a long process, because it works similar formatting - more than 7 minutes. Package includes: 1. CacheVox.B - player in the shell, it same restorery drive 800k and 960k, as well as option to create a disk from dlinnogodlinnogo 960k file on two drives 640k. 2. wavpk2pi.pas - converter from WAV (for default 44 kHz stereo, can comment on other options) in my format.Nuzhno compile this program in Turbo Pascal, found in the current directory is long enough and WAV to poke nego.V result smp.smp 4096 * 255 (can fix this number, for example, 4096 * 159 or 5120 * 159). Now the program Spectrum Navigator or other programs This smp.smp be copied to a clean floppy disk / diskette, depending what kind of vehicle you progotovili for the composition. 3. CVoxPlay.H - player in the sources. Needed if the player in a shell on your computer does not work, and you know that your computer can play music from CDs. (Please send corrections at their computers.) He also needed to generate from your (! Example, setting up 11 kHz or with an unusual number of tracks!) Version of BASIC player player to be placed on 0-x track any CacheVox-floppies. Old 0 track at the same time is formatted to death. Even if the drive was MS-DOS'ny, he turns into a TR-DOS'ny. Sad thoughts. To write this miracle, like, small in size, it took 10 months and 3 different computers. Or 4 if you count separate the old configuration of my PCs and new, no HDD. Still had to test for druh other people's machines and use for the conversion of PC at work. As if everyone in Program pravilno.No I do not believe that all the other drives will be just as I have ... Formatting and restore a disk 640k I did not realize, because I do not claim the laurels of the creators of FUT (more precisely, FUCK Utility, which shall FUT 90% of the code) and especially AIDS. Because I know that it is worth to make such a restorer - and some wise guy Restaurant start on it the only (of course) a copy of your working drive. AND zaporet because "algorithms (p) I" still smarter than this poor ... For other purposes makes sense to use only the formatter to 800k. Because I decent formatter of the case at all in nature is not seen ... First I would like done at the MS-DOS disk 166 tracks, but it turned out that my PCs when writing to the last track of their physical poret.Nu hell with them, I thought. On the drive 960k last paths can also prokisnut, but it is almost no matter t.k.chtenie can always interrupt Break'om. A play will be just enough how to read. In any case in Read all modes (except keshevogo) is Button Caps - repositioning. More button in the player: F - promotka forward (in the case of reading in real time almost does not help), Enter - change drive Break - out. As I understand it, the development of this project smells representable time-consuming ... It is very necessary (as ever) a person who would assume the program. I can only pop-source engines, to more I have not had enough! A. Coder, author
Other articles:
Similar articles:
В этот день... 23 November