ZX Time #06
09 января 2002 |
|
Coder - how to make a "FLAT" (in cycles) player tunes.
Encoders Nicholas Vitenko Hello fans of "pokodit! With you again I, VNN. Today I will not bother you "exercise" on how to do chtolibo BORDER-e. Today I want to tell you how to make a "FLAT" player tunes ("flat" - meaning, playing, takes the same number of cycles when you play any sample and note). What is it good? Have you tried to do something to curb the vertical and while playing the melody of any muz.redaktora? Twitching like crazy, right? So I want to help you this cause the brakes. How to do it? Very Easy! Need to "play" the melody (one frame), to take 14bayt data from the buffer player, throw them into the page (free) and if the melody is not over, quickly move to the top, of course not forgetting to increase the buffer address. And here a big bummer. The point that the melody to the age 3Kb., can now take a 30Kb. But nothing can not be helped, otherwise no way. At least I did not fall into any one editor who has worked as a player would "Exactly." You've probably seen my intro to the 3,4 and 5 rooms for our newspaper. There is just used such a system. Annex this number is the source "raskladchikki" melodies and of course - himself player. By the way, it takes a minimum number of cycles. This player is designed for "Pro Tracker 3.x". For use with the other he will not do. Need will carefully study the work of the original player and make the appropriate changes in the mine. If anyone needed versions for other editors "Mylte" at the editorial office and when you specify for any editor you want a quick player, I'll send it. At the moment there are players under "Sound Tracker", "Pro Tracker" (anyone except for v2.4 (not yet engaged), "Pro Sound Creator 1.07 "and" Sound Tracker Pro ". Can not be obtained with "SQ Tracker". Probably because the editor at I do not have, and the Golden Max does not will or will not find it on the Internet. On this, perhaps, that's all. Next time will be "flat" text scroller. Sources in the "Alasm 4.XX" (the steepest assembler). P.S. "Guess the melody" moves from the deadlock. Max I already "got" so I have kodit (during outstanding! Oh and you'll be me then my mother for code). Schedule as long as one does Sergio, music wrote Nik-O. Already done intro (My "horse" in the code). Sergio did cool intro to the game, it is I ipolzoval and in the intro, Troshkov be adjusted to (Sorry Sergio, but otherwise the border could not otsinhrorizirovat and there to draw:)) music by Oleg did "Bubka Bubka in with TVigry and earn a second intro (Thanks Oleg, have expanded and "Spivaet). Little about the game itself. Thinks it not one to one with a TV game, but a mixture of games "Guess the melody" with "The First Million" (for Russian viewers, this game is called "Oh, lucky man!"), Ie, there will be some, your choice, time to play the melody, will be 4.3 response. Among them will need to guess is correct. Guessed it - got glasses and listened to a melody, not - and in Africa no. Punishment I have not yet invented, and Denis, Max dyuzhe cruel ;-) If someone wants to speak about the matter in a scenario game or the editorial office write to my inbox (vnn@torba.com), only infected note: I'm not cool coder, I'm addicted to the curb. And as he said coolest coder Civil War VI Chapaev: "I did not finish academy." A Seriously, I am an ordinary Donbassovsky miner, and the formation of 8 classes + College. And if something in the codes and secured, it is only through breaking and perseverance. And besides, after 5 years of retirement (If you live to see it ;-) To say goodbye to the sim next issue VNN / K.C.Software *
Other articles:
Similar articles:
В этот день... 21 November