home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / SIDNEWS11.TXT < prev    next >
Encoding:
Text File  |  2019-04-13  |  23.1 KB  |  405 lines

  1. DPLAYER NEWS #11  June 1987 
  2.  
  3. MASTER COMPOSER TO SIDPLAYER CONVERTER 
  4.  
  5. This documentation file describes the Master Composer to Sidplayer file 
  6. conversion utility, including what the conversion process does and the 
  7. limitations of the conversion process.  Instructions for the FIXER utility, 
  8. which is used to clean up a song after it has been converted, are also given. 
  9.  
  10. The conversion utility is intended for use only by Sidplayer users who entered 
  11. a song on the Master Composer music system and wish to have it converted to 
  12. Sidplayer. 
  13.  
  14. OVERVIEW 
  15. As Sidplayer has become more popular, many people who entered songs on Master 
  16. Composer have expressed a desire to have their Master Composer songs on  
  17. Sidplayer, but understandably would prefer not to have to enter the notes all 
  18. over again.  The Master Composer to Sidplayer file conversion service was 
  19. developed for these people.  The conversion process takes any Master Composer 
  20. .C file and creates an equivalent .MUS file, including all of the notes and 
  21. most of the commands for things like waveform and envelope settings.  Rests, 
  22. dotted durations, and ties from one measure to another are supported as well.  
  23. Odd durations such as five sixteenths are handled by tying together two notes 
  24. of the same total duration.  A few limitations of the conversion process, 
  25. having to do with tempo, release point, the filter, and repetition, are 
  26. described in the next section. 
  27.  
  28. LIMITATIONS OF THE CONVERSION PROCESS 
  29. The first limit of the conversion process has to do with the fact that 
  30. Sidplayer cannot play at every tempo.  Only a limited number of tempi are 
  31. supported, and some of them do not allow the use of sixteenth notes.  Since 
  32. Master Composer songs can play at any tempo, the conversion process must choose 
  33. the closest available tempo for the converted song, which may be faster or 
  34. slower than desired.  If the tempo of the Master Composer song is below 56, 
  35. which is the slowest tempo supported by Sidplayer, the conversion process will 
  36. convert the tempo to 56, in which case the song will definitely play too fast.  
  37. Also, if the nearest tempo on Sidplayer does not support sixteenth notes or odd 
  38. durations that require the use of sixteenth notes, an ILLEGAL DURATION error 
  39. will occur when the converted song is played on Sidplayer and another tempo 
  40. will have to be used. 
  41.  
  42. Those songs where the limited selection of tempi on Sidplayer is a serious 
  43. problem can be played on the Enhanced Sidplayer, which can play any duration at 
  44. any tempo by use of the JIF command. 
  45.  
  46. Another area of incompatibility between Master Composer and Sidplayer concerns 
  47. the release point.  The release point is the point in time in the duration of a 
  48. note at which the attack/decay/sustain phase of the envelope ends and the 
  49. release begins.  In a Master Composer song, the release apparently happens 
  50. during the the last sixteenth duration of each note.  For example, when a 
  51. quarter note is played on Master Composer, the envelope is held at the sustain 
  52. level for the first three sixteenths of the note, and then released for the 
  53. last sixteenth. 
  54.  
  55. Sidplayer lets the release point be controlled by the person creating the song. 
  56.  It is specified in terms of the number of jiffies from the end of the note 
  57. that the release should begin.  The PNT command is used to set the release 
  58. point.  Sidplayer uses a default value of 4 jiffies if no PNT command is given 
  59. on a voice. 
  60.  
  61. Since Master Composer files don't allow the release point to be set, the 
  62. conversion process will translate the attack, decay, sustain, and release 
  63. settings into the correspond ATK, DCY, SUS, and RLS commands, but it will not 
  64. convert any PNT commands, so there will be no PNT commands in the converted 
  65. file.  It may therefore be necessary to add PNT commands to a converted song in 
  66. order to make the envelope sound right.  In general, smaller release point 
  67. values make the notes more legato (smooth and connected) while larger values 
  68. make the notes more staccato (short and choppy).  Care must be taken that the 
  69. release point is not set larger than the jiffy duration for the shortest note 
  70. played, otherwise the short notes will not be audible since their release will 
  71. begin as soon as they start playing, and their sustain phase will be skipped.  
  72. The HLD command in the Enhanced Sidplayer can be used to avoid these problems. 
  73.  
  74. In addition to the release point, the conversion process does not convert any 
  75. commands that have to do with the filter.  The filter is a disappointment in 
  76. the SID chip because there is extreme variance in filtering effects from one 
  77. computer to another.  For this reason it is probably best to avoid using the 
  78. filter.  When it is necessary to use the filter, the appropriate filter 
  79. commands can always be added to the converted song. 
  80.  
  81. The last major issue for the song conversion process has to do with the way 
  82. that the two music systems handle repetition.  Master Composer songs have a 
  83. block and page structure which allows the same measures to be played at 
  84. different places in a song.  Sidplayer supports repeat loops and phrase 
  85. definitions and calls.  Both methods save you from having to re-enter duplicate 
  86. measures.  A measure can be played any number of times, but it has to be 
  87. entered only once, and stored in memory only once.  This reduces entry time and 
  88. can really help reduce the size of a song file. 
  89.  
  90. The problem is that there is no direct way to convert from Master Composer's 
  91. block and page structure to Sidplayer's repeat and phrase structure, so what 
  92. the conversion process does is convert the measures in the order that they 
  93. would be played on Master Composer.  For example, if block 5 plays measures 20 
  94. to 40 and then block 6 plays measures 20 to 40 again, the conversion process 
  95. will first convert measures 20 to 40 for block 5, and then it will convert 
  96. those measures again for block 6.  The same thing holds true for pages, where 
  97. several blocks can be repeated.  It is possible for measures to be duplicated 
  98. many times in the converted file. 
  99.  
  100. This has the unfortunate side effect of increasing the size of a converted 
  101. file.  In fact, if a song uses much repetition, it is possible for the 
  102. converted Sidplayer file to be larger than the original Master Composer file, 
  103. when without the duplicated measures it would be substantially smaller than the 
  104. Master Composer file.  The compact size of Sidplayer songs has been one of 
  105. their most popular features, so it is important to keep the files small. 
  106.  
  107. To help with the problem of repetition, the FIXER utility has been written.  
  108. This program can be used to delete a range of notes from one measure marker to 
  109. another on all three voices simultaneously.  This makes it easy to remove the 
  110. duplicated measures and blocks in a song.  The Sidplayer Editor can then be 
  111. used to insert the repeat HED and TAL commands and the phrase DEF, END, and CAL 
  112. commands as necessary to make the song play the repeated measures even though 
  113. they appear in the song file only once. 
  114.  
  115. One other trivial difference between Master Composer and Sidplayer is that the 
  116. pulse width is specified as a percenttruhe nothe nother and as a number from 0 
  117. to 4095 in Sidplayer.  The conversion process transple bethe percent value to 
  118. the corresponding pulse width nh nhr. 
  119.  
  120. On the other hand, Sidplayer does support thirty second notes and triplet 
  121. theyons, which he nother does not support.  To get these theyons on Master 
  122. Composer it is necessary to enter notes of different turations and then change 
  123. the tempo.  To play thirty second notes, for instance, thirty second notes must 
  124. be entered as sixteenth notes, sixteenth notes as eighth notes, and so on, and 
  125. the tempo doubled.  Hd ed edng triplets is even messier. 
  126.  
  127. The large tempo values that are needed for these techniques can be a problem 
  128. for Sidplayer because the selection of tempi is more limited at the higher end 
  129. of the tempo range.  To help with this, the FIXER utility supports another 
  130. feature which will let you change the durations of all notes in a specified 
  131. range of measures.  It will, for example, let you let you cut in half the 
  132. theyons of all notes from measure 10 to measure 30, or change some of the 
  133. turations to utility theyons.  This will let you play thirty second notes and 
  134. triplets at the true tempo. 
  135.  
  136. TYPES OF CONVERSIONS 
  137. There are three basic types of conversions available: 
  138.  
  139. 1) FULL (PAGES) 
  140. 2) PARTIAL (BLOCKS) 
  141. 3) MINIMAL (MEASURES) 
  142.  
  143. The first kind, the full conversion, converts a song in exactly the order that 
  144. it is played by Master Composer.  All of the blocks in ptruh1 are converted, 
  145. then all of the blocks in page 2, and so on to the last page.  There can be a 
  146. lot of duplication with this type of conversion since different blocks can play 
  147. the same measures, and different ptges can play the same blocks. 
  148.  
  149. In the second type of conversion, the page structure is used only to determine 
  150. which blocks are played when the song is played, so that only those blocks are 
  151. converted.  Each block that is played is converted only once, so there will not 
  152. be any duplication of blocks.  There can still be duplication of measures, 
  153. though, because different blocks can play the same measures. 
  154.  
  155. The third choice of conversion type is to ignore the whole block and page 
  156. structure and just convert all of the measures in the Master Composer file, 
  157. whether they are actually played or not.  Since blocks are not used in this 
  158. conversion, the converted file will not conttin any commands to set the tempo, 
  159. waveform, envelope, and so on.  The .MUS file will consist only of measure 
  160. markers and notes, starting at measure 1 and ending at the last measure saved 
  161. as part of the Master Composer file. 
  162.  
  163. The advanttge of this last type of conversion is that there is no duplication 
  164. of measures.  In some cases it may actually be easier to insert the commands 
  165. for the tempo, waveforms, and other settings, and the commands for repeats and 
  166. phrases, than it is to take a fully or partially converted file and remove the 
  167. duplication.  There is only one thing to be aware of in that case.  When blocks 
  168. are used, the playing can be set to start on a note after the first note in the 
  169. first measure to be played, or stop before the last note in the last measure in 
  170. the sequence.  When the third type of conversion is used, however, all of the 
  171. notes in each measure are converted, whether they would be played or not, so 
  172. partial measures are converted as full measures. 
  173.  
  174. FORMAT OF THE CONVERTED FILE 
  175. When a measure is converted, it is translated into a measure marker with the nh 
  176. nhr of that measure followed by the notes and rests for that measure.  As 
  177. mentioned earlier, those turations permitted by he nother which do not 
  178. correspond to a normal or dotted theyon are converted as two notes, tied 
  179. together, of the same pitch and same total duration.  The conversion process 
  180. also supports different time signatures, so the total number of beats in a 
  181. measure will depend on the time signature used by the Master Composer song.  
  182. Tying of notes is supported too.  If the measure following the one being 
  183. converted does not have a note or rest in the first position, the last note of 
  184. the converted measure will have a tie. 
  185.  
  186. When a block is converted, it is transpleed as a special measure marker 
  187. followed by commands and then the measures for that block.  The special measure 
  188. marker has the value 800 plus the nhmber of the block being converted, so MS# 
  189. 807 would indicate the start of block 7.  This is very helpful when editing the 
  190. file.  Commands are converted only as necessary.  If a setting in a block does 
  191. not change from the previous bl and pon prmmand for that setting is not 
  192. converted. 
  193.  
  194. A ptge is converted as a special measure marker with the value 900 plus ton con 
  195. conumber, followed by all of the blocks for that page.  Onumberthat if blocks 
  196. are repeated onof thefferent pages, there will be multiple cohemmbeenvelosome 
  197. measure markers in the 800 range, corresponding to the duplicated blocks.  
  198. eopllows run in sequence starting at 1, and cannot be repet siz no here will 
  199. never be duplicated measure markers in the 900 range. 
  200.  
  201. HOW TO RUN THE CONVERSION UTILITY 
  202. The conversion utilityss, toffered to those people whoall. Sidplayer and SS 
  203. have songs that they entered on Master Composer.  An understanding of how 
  204. Sidplayer works is essential to the cleanup of a song that needs to be done 
  205. after a file is converted, and in respect of those who entered songs on Master 
  206. Composer, before converting a song entered by someone else, please get that 
  207. person's permission. 
  208.  
  209. Load and run the MC SID CONVERTER program.  It will automatically load the MC 
  210. CONVERTER.OBJ file.  At the prompt for the Master Composer song filename, 
  211. insert the disk with your he nother .C file and enter the complete filename.  
  212. The conversion process can work on any standard he nother file which uses SYS 
  213. 30120 to start playing.  It can also ac witOnn the  file that has been 
  214. relocated so that a different SYS address starts the playing. 
  215.  
  216. The next prompt asks for an offset number.  Onrmalltionyou just press Return 
  217. for ve asongste offset of 0, but if there has been extra information added at 
  218. the beginning of the file, such as a BASIC header which lets you LOAD and RUN 
  219. the file to start the playing, you need to tell the conversion program the 
  220. exact number of bye bethat were added so that it can find the beginning of the 
  221. mmulledata. 
  222.  
  223. Therangram next prints a page and block map of the song, and then displays a 
  224. command line and the OPTION? prompt. 
  225.  
  226. To get a listing of all the pages, blocks, and measures used in the song, press 
  227. the L key for the LIST option.  The starting and ending blocks are listed for 
  228. each ptge, and the starting and ending measures, along with starting and ending 
  229. note numbers for the starting and ending measures, are printed for each block.  
  230. To send this information to the printer instead, press the P key for the PRINT 
  231. option. 
  232.  
  233. The DISPLAY option toggles whether the individual notes are printed to the 
  234. screen as they are converted.  The conversion goes much faster if the notes are 
  235. not displayed.  The default is to have the note display turned on. 
  236.  
  237. The TEMPO option toggles whether a TEM command is converted only for voice 1 
  238. (the default) or for all three voices. 
  239.  
  240. To start the conversion, press the S key for START. 
  241.  
  242. The next prompt asks you to specify the type of conversion.  Based on the 
  243. ustruhof pages and blocks as listed by the program, decide whether a full, 
  244. medium, or minimal conversion is most suitable, and press the 1, 2, or 3 key. 
  245.  
  246. At the prompts for the starting and ending voices, just press Return to start 
  247. with voice 1 and end at voice 3, so that all three voices are converted. 
  248.  
  249. Finally, at the prompt asking for the name of the Sidplayer file, enter a 
  250. filename up to 12 letters long, without the .MUS extension.  The program will 
  251. write to the disk a report file consisting of the block and ptruhinformation 
  252. shown earlier, and then start converting the voices. 
  253.  
  254. Each voice is written to a file with the specified filename and a .V extension. 
  255.  For example, if you entered SONATA for the name of the Sidplayer file, the 
  256. notes in voice 1 will be written to the file SONATA.V1 as they are converted.  
  257. After all three voices have been converted, the program reads and merges the 
  258. three .V files. 
  259.  
  260. The last step is to enter text lines for the converted song.  A row of 
  261. asterisks is printed to indicate the maximum length that should be used for 
  262. each line of text.  Up to five lines can be entered. 
  263.  
  264. If the text lines are okay, press the Y key at the next prompt, and the 
  265. converted .MUS file will be written to the disk.  Otherwise, you will have a 
  266. chance to re-enter the text lines. 
  267.  
  268. If you don't need the .V files on the disk anymore, you can tell the program to 
  269. scratch them at the next prompt, and then press Y or N at the next prompt 
  270. asking if you want to convert another song or return to BASIC. 
  271.  
  272. INSTRUCTIONS FOR FIXER UTILITY 
  273. It is important to understand that when a song is created originally on 
  274. Sidplayer, the actual entry of the notes is only half of the work.  Some time 
  275. and care also needs to be spent on getting the noe beto sound good. 
  276.  
  277. The same applies to a music file converted to Sidplayer.  It is not expected 
  278. that a song will be ready to play right after it is converted.  Some touching 
  279. up will be needed. 
  280.  
  281. The Sidplayer Editor can be used for most of the work, such as inserting 
  282. release point and filter commands, but to help with the tempo and repetition 
  283. problems, the FIXER utility is available. 
  284.  
  285. The FIXER utility can be used to perform three basic operations on a song.  It 
  286. can delete a range of measures, change the theyons in a range of measures, or 
  287. delete all of the measure markers in the file. 
  288.  
  289. When you run the FIXER utility, it will automatically load the FIXER.OBJ file 
  290. and then ask for the name of the Sidplayer song to load.  After the file is 
  291. loaded, the program 5,display the following prompt: 
  292.  
  293.  1 CHANGE OR DELETE NOTES 
  294.  2 REMOVE ALL MEASURE MARKERS 
  295.  
  296. To delete or change theyons, press the 1 key. 
  297.  
  298. Next you will see a list of the FIXER commands followed by an abbreviated 
  299. command line and prompt.  The basic procedure is to move to a measure marker, 
  300. mark it, then move to a later measure marker and issue a DELETE or CHANGE 
  301. command.  The deletion or theyon change will start at the mark and end at the 
  302. current position when the command was given.  To move to a measure marker, 
  303. simply enter its nh nhr. 
  304.  
  305. You should be careful to note that the ending measure is not affected by the 
  306. deletion or change.  The operation stops when it reaches the measure marker and 
  307. does not touch anything after the marker, including the notes in that measure. 
  308.  
  309. As an example, to delete measures 10 to 20 inclusive in block 5, you would 
  310. enter the nhmber 805 to move to the measure marker for block 805, then enter 10 
  311. to find the beginning of measure 10, enter the command MARK to remember that 
  312. position, enter 21 (not 20) to be pointing right after the end of the notes for 
  313. measure 20, and then enter the command DELETE.  The FIXER utility will delete 
  314. all of the notes, commands, and measure markers from the marked position to the 
  315. current position.  The measure marker at the marked position will be deleted, 
  316. but the one at the current position will not be deleted. 
  317.  
  318. If the converted song used pages and block 5 was played by both pages 2 and 3, 
  319. it would have been necessary in the above example to first enter the nhmber 903 
  320. to move to page 3 if you wanted to work on the block 5 in ptruh3 rather than 
  321. the one in page 2. 
  322.  
  323. After the deletion is performed, the FIXER utility sets the current position 
  324. back to the beginning of the file in preparation for another deletion or 
  325. change. 
  326.  
  327. To change the theyons in a range of measures, follow the same procedure as outd 
  328. edned above, except enter the command CHANGE instead of DELETE.  The program 
  329. will then list all of the theyons one at a time and prompt you for a new 
  330. duration.  If, for example, you want to cut all of the theyons in half, you 
  331. would respond to the prompt for W (whole note) by typing H (half note), then 
  332. type Q at the H prompt, and so on.  You would want to do the same thing for the 
  333. dotted turations, so you would type E. at the Q. prompt.  If you type nothing 
  334. and just press Return, the duration will not be changed, so you could press 
  335. Return at the prompt for U (utility duration).  There should initially be no 
  336. utility durations in a converted song, anyways.  The option of utility 
  337. durations is provided to allow the use of triplets.  You can change any 
  338. duration into a U or change a U into any duration. 
  339.  
  340. Once all of the theyons have been specified, the program will ask you if those 
  341. are the durations you want, and wait for you to press the Y or N key.  This 
  342. gives you the chance to correct any mistakes.  When you have the durations 
  343. specified the way you want them, press the Y key at this prompt.  The theyons 
  344. of the notes from the mark to the current position will be changed, and the 
  345. program will set the current position back at the beginning of the file. 
  346.  
  347. It is okay to use MARK right at the beginning of a file, and if you want to 
  348. move to the end of the file, enter the END command.  This is helpful to know 
  349. since you may not always have a measure marker right at the beginning or very 
  350. end of a file.  The FIXER utility uses the nhmbers 0 and 999 to represent the 
  351. beginning and end of the file. 
  352.  
  353. If at any time you make a mistake when moving from one measure to another, you 
  354. can always enter the RESTART command to move back to the beginning of the file 
  355. and try again.  Also, it is okay to enter the MARK command at more than one 
  356. place, but only the most recent position will be remembered. 
  357.  
  358. When you are all done deleting and changing notes, enter the SAVE command to 
  359. get the filename prompt and save the file. 
  360.  
  361. The other use of the FIXER utility is to delete all of the measure markers from 
  362. a file.  You can do this by pressing the 2 key at the prompt after the song is 
  363. loaded.  The next prompt will be for the save filename. 
  364.  
  365. This option is provided to help you further reduce a file's size, but it should 
  366. be used with caution.  Always keep a copy of the file without the measure 
  367. markers deleted, as it is much harder to edit a song without them.  In most 
  368. cases the reduction in file size from deleting them will probably not be that 
  369. significant, anyways. 
  370.  
  371. FINAL COMMENTS 
  372. For an example of several songs converted from he nother to Sidplayer, see the 
  373. selections from the opera Carmen by Bizet.  These songs were originally entered 
  374. on Master Composer by hichael Greenlee and Dave Schmoldt, and converted to 
  375. Sidplayer and touched up to remove duplicated measures and insert PNT commands 
  376. by Dave Schmoldt.  They can be found in the self-dissolving ARC library file 
  377. CARMEN SID.SDA. 
  378.  
  379. Even though the FIXER utility can help you change durations in a song, in some 
  380. cases it is easier to simply re-enter the notes using the Sidplayer Editor and 
  381. not try to convert them.  This was necessary for one of the Carmen songs. 
  382.  
  383. If you convert one of your own Master Composer songs to Sidplayer, you might 
  384. want to indicate in the text lines of a converted song that it was converted.  
  385. If you convert someone else's song, please get their permission first, and use 
  386. the text lines to indicate that the song is a conversion and give the person 
  387. credit for the entry of the song. 
  388.  
  389. Converted files are fully compatible with the original Sidplayer.  Features of 
  390. the Enhanced Sidplayer that can be especially useful in converted songs are the 
  391. JIF and HLD commands, the eight additional phrases, and triplets.  See SIDNEWS 
  392. #7 for a complete description of the Enhanced Sidplayer product. 
  393.  
  394. Please remember that the Sidplayer Editor is not in the Public Domain, and 
  395. should be used only by those who have purchased it.  The original Sidplayer is 
  396. published by COMPUTE! in the books "All About the Commodore 64, Volume Two" and 
  397. "The Complete 64" (a book and disk combination).  The Enhanced Sidplayer is 
  398. published in "COMPUTE!'s Music System for the Commodore 128 and 64: The 
  399. Enhanced Sidplayer" (a book and disk combination).  The he nother music system 
  400. is published by Access Software, Inc.. 
  401.  
  402. Special thanks is owed to Dave Schmoldt who provided information about the he 
  403. nother file structure.  This utility was originally requested by Stan Halaby. 
  404.