home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / sound / mus_play / pmm283.lha / PMM.Doc < prev    next >
Text File  |  1993-06-01  |  20KB  |  494 lines

  1.  
  2.                        IMPORTANT: PLEASE READ THIS
  3.                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4.   P-M-M is Workbench 2 compatible, but not Workbench 1.3. P-M-M was tested on
  5. an A500 using a 1meg Agnus - Original Denise/gary/paula - ROM 2.04 - with 
  6. 1 meg Chip-Ram, 2 meg Fast-Ram, and a 20meg A590. P-M-M was also tested using
  7. Supra's latest 28 Mhz 68000 accelerater in both 28 & 7.14 Mhz modes. IF you 
  8. are using one of the more advanvced Amigas (1200 - 4000) please let me know
  9. of any faults that you find using P-M-M.
  10.  
  11.                       (P)lay (M)ed (M)odules V2.7.8
  12.                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13.  
  14. Contents List
  15. ~~~~~~~~~~~~~
  16.  1. CopyRight Notices....
  17.  
  18.  2. Why P-M-M....
  19.  
  20.  3. About P-M-M....
  21.  
  22.  4. To Run P-M-M....
  23.  
  24.  5. P-M-M's Config File....
  25.  
  26.  6. P-M-M's Menus....
  27.  
  28.  7. Errors Using P-M-M....
  29.  
  30.  8. Files Required by P-M-M....
  31.  
  32.  9. Converting Modules for use with P-M-M....
  33.  
  34. 10. Naming Convention....(Important)....
  35.  
  36. 11. Warning About `MMD1' Modules....
  37.  
  38. 12. Miscellaneous....
  39.  
  40. 13. Authors Note's....
  41.  
  42.                    ---------------------------------
  43.  
  44. 1.   Copyright Notices
  45.      ~~~~~~~~~~~~~~~~~
  46.  
  47.   HiSoft Basic              -   Hisoft ©1988,90
  48.  
  49.   Extend.Library            -   Hisoft & SunSmile Software © 1987
  50.  
  51.   MedPlayer.Library &
  52.   OctaPlayer.Library        -   Teijo Kinnunen © 1989
  53.  
  54.   Play Med Module &
  55.   P-M-M                     -   Anthony Keeley  © 1992,93
  56.  
  57.      And most important
  58.  
  59.   All things `Amiga'        -   © Commodore-Amiga Inc
  60.  
  61.  
  62.  All copyright dates are taken from the accompanying Doc files or manuals.
  63.  
  64.  You are NOT allowed to use P-M-M or any related files, commercially, or for
  65. any kind of personnal gain, without the prior permission from the respective
  66. copyright holder(s).
  67.  
  68.  You are welcome to pass on a copy of P-M-M to whom ever you wish, so long as
  69. all code and documentation remain together and unaltered. P-M-M can be used
  70. without time limit or need of payment.
  71.  
  72.  P-M-M is Giftware, and if you feel that it is worth something, then by all
  73. means send that something to the author.
  74.  
  75.  If you do wish to send a Gift to the Author, please send it to :-
  76.  
  77.  : A Keeley
  78.  : 173 Curzon Road
  79.  : Ashton-Under-Lyne
  80.  : Lancashire
  81.  : OL6 9NB
  82.  : Great Britain
  83.  
  84.  The following files MUST stay together when being passed onto some one else.
  85.  
  86.   History.Doc
  87.   History.Doc.info
  88.   Extend.library
  89.   PMM
  90.   PMM.info
  91.   PMM.Doc
  92.   PMM.Doc.info
  93.  
  94. Disclaimer
  95. ~~~~~~~~~~
  96.  The Author does not accept any responsibility for any loss of data, or damage
  97. caused by the use of P-M-M, which includes both past and future versions.
  98.  
  99.                    ---------------------------------
  100.  
  101. 2.   Why?  P-M-M
  102.      ~~~~~~~~~~~
  103.  
  104.  In the beginning, I started writing P-M-M for two simple reasons, `MedPlayer'
  105. and `Octaplayer' by Teijo Kinnunen didn't include a full file requester, and
  106. trying to remember a long path name, as well as the module name, was hard
  107. enough: but trying to get the right spelling on some of the module names was a
  108. task in it'self. Secondly, you had to load `Medplayer' for four track med
  109. modules, and `Octaplayer' for eight track modules. Wouldn't it have been easier
  110. to include both into one player file? This is where P-M-M steps in.
  111.  
  112.                    ---------------------------------
  113.  
  114. 3.   About P-M-M
  115.      ~~~~~~~~~~~
  116.  P-M-M should play all Med or OctaMed modules, but not the Songs or modules
  117. created using Soundtracker (or its clones). If you do have any trouble playing
  118. any Med or OctaMed modules, please see the section on `Conversion'.
  119.  
  120.  P-M-M can, by using the Asl file requester, enable you to select modules for
  121. playing, or including into the Selected Modules Menu.
  122.  
  123.  The Selected Modules menu can hold upto 10 predefined modules, which can then
  124. be played by a simple menu selection. You can then either -
  125.  
  126.   Select to play any of them as you wish
  127.   One after the other, automatically, on a default timer, defined by YOU!
  128.   Or cycle through them using the `*' key.
  129.  
  130.  These Selected modules can also be saved to PMM.Config (or PMM.Config2) in the
  131. S: directory, for future usage by P-M-M.
  132.  
  133.  Any module playing (or Cycling) can be stopped and/or started at any time.
  134.  
  135.  Using the naming convention which is explained later in this Doc file, P-M-M
  136. will change back and forth between players depending on the type of module - 
  137. either 4 or 8 track.
  138.  
  139.  P-M-M also provides, for those that prefer to use them, Hot keys for ALL menu
  140. options, except for the `Extra's' menu.
  141.  
  142.  P-M-M automatically sets the rom font `Topaz 8' as its own Font (80 column).
  143.  
  144.  P-M-M then checks the S: directory for a file called `PMM.Config'. If this
  145. is found, P-M-M will then load the defaults in the config. If the config file
  146. wasn't found, then P-M-M will sit there quietly waiting for you to tell it to
  147. do something, via its menus or Hot-keys.
  148.  
  149.  Once running, you can tell P-M-M to look for a second config file called
  150. `PMM.config2'. Once the config file has been toggled, any saves/loads you do
  151. to the config file, will go to PMM.config2.
  152.  
  153.                    ---------------------------------
  154.  
  155. 4.   To Run P-M-M
  156.      ~~~~~~~~~~~~
  157. From Workbench
  158.  
  159.   Just click on the good old Icon and away you go!
  160.  
  161. From CLI/Shell
  162.  
  163.   PMM
  164.  
  165. P-M-M, as yet, can't detach itself from the CLI or SHELL so you'll have to use
  166. this next method if you still want to keep using the CLI or SHELL.
  167.  
  168.   RUN PMM  (The CLI window won't close if you use this method, but it)
  169.            (does allow you to continue using it for other stuff.)
  170.  
  171. or, if you're really into doing everything spot-on, then use
  172.  
  173.   RUN >nil: <nil: PMM  (will allow the CLI window to be closed, also)
  174.                        (recommended usage for startup-sequence's)
  175.  
  176.                    ---------------------------------
  177.  
  178. 5.   P-M-M's Config File
  179.      ~~~~~~~~~~~~~~~~~~~
  180.  P-M-M will automatically create the config files used by it'self. Using either
  181. of the SAVE menu option (or both) will cause the creation to happen.
  182.  
  183.  Run P-M-M and load in your favourite or preferred module. Then select the
  184. menu option `Default Save', to create PMM.Config in the current S: directory.
  185. If you have selected some modules for the 3rd menu, these will have to be
  186. saved using the `Save Menu Modules' option within the last menu. You may be
  187. wondering why I save the menu modules from another menu. This is so that you
  188. can change the default module without having to save any changes you've made
  189. to the menu selection, and visa versa.
  190.  
  191.  PMM.Config is automatically load (if found) and the default module(s) are then
  192. used. If this file isn't found, then P-M-M will sit there and wait.
  193.  
  194.  PMM.Config2 is a secondry source of default modules. PMM will NOT load this
  195. file if the first file isn't found.
  196.  
  197.                    ---------------------------------
  198.  
  199. 6.   P-M-M's Menus
  200.      ~~~~~~~~~~~~~
  201.  
  202.  P-M-M has four menus, and each menu option has it's own Hot-Key combination,
  203. (except `Extra's' menu) for those of you who prefer to control P-M-M via that
  204. method.
  205.  Each of the options will be marked with `A-' which refers to the right amiga
  206. key followed by the actual key required!
  207.  
  208. 1st Menu - Main Options
  209. ~~~~~~~~~~~~~~~~~~~~~~~
  210.  1> Load Med Module..  Loads both four and eight track modules.
  211.     Right-Amiga L
  212.  
  213.  2> Default Load.....  Will load the default module (if specified).
  214.     Right-Amiga D
  215.  
  216.  3> Default Save.....  Will save the currently playing module's Path and
  217.     Right-Amiga S      filename to a file in the S: dir called PMM.Config
  218.  
  219.  4> Stop Music.......  Stops the music, without unloading the module.
  220.     Right-Amiga H
  221.  
  222.  5> Restart Music....  Will continue to play the module you just stoppped
  223.     Right-Amiga R      from the position that you stopped it at.
  224.  
  225.  6> Leave Music......  Leaves music playing in the background, and quits
  226.     Right-Amiga B      from P-M-M.
  227.  
  228.  7> About P-M-M......  Gives Version, Revision and completion date of your
  229.     Right-Amiga A      copy of P-M-M.
  230.  
  231.  8> Quit P-M-M.......  Quits P-M-M and stops the music. Using ESC C will quit
  232.     Right-Amiga Q      from P-M-M instantly without leaving any module playing
  233.                        in the background.
  234.  
  235. Notes.
  236.  
  237.  Leaving the music playing in the background, could get a bit boring after a
  238. long stint at the computer. But I must warn you, that trying to stop the music
  239. later is impossible.
  240.  
  241.  Under the 8 track player, the Amiga screen updating slows down slightly, just
  242. enough to make the mouse pointer look juddery, and opening windows or doing
  243. something else graphical will seem to be in a bit slower. An accelerated or an
  244. `AGA' based amiga will have no problem!
  245.  
  246. 2nd Menu - Extra's Options.
  247. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  248.  1> Unload Mod 1st...  Will force P-M-M to stop and unload the current module
  249.                        before loading the next module. Handy for 512k chip
  250.                        ram only systems.
  251.  
  252.  2> Dormant P-M-M....  This will stop any modules, unload them, and de-allocate
  253.                        any memory used by the player. This is so you should be
  254.                        able to use MED or OctaMED, or some other player. To get
  255.                        out of this, just simple load any module you want.
  256.  
  257.  3> 2nd PMM.Config...  Forces P-M-M to look for `PMM.Config2' whenever reading
  258.                        or writing to the config file.
  259.  
  260.  4> Display Paths....  Will cause P-M-M to toggle the inclusion of the
  261.                        directory path in the main program window, when
  262.                        displaying the currently playing module.
  263.  
  264.  
  265. Notes.
  266.  
  267.  All 4 Menu options are toggle options, and will be preceded with a tick when
  268. they are active, and by a blank when not active.
  269.  
  270.  With Display Paths on, P-M-M will open its window in height (and width if it
  271. is required) to cope with the extra display.
  272.  
  273. 3rd Menu - Selected Modules
  274. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275.  Using `Add New Module' from the fourth menu, you can select upto 10 modules,
  276. which can be placed into this menu. Playing any of the selected modules is as
  277. easy as selecting a menu option. Also, each module is given its own Hot Key,
  278. and using the `*' key, will select the next module in the list. To remove a
  279. module from the menu, all you have to do is to select `Remove Module' and then
  280. at the requester, enter either the number or name of the module you want to
  281. remove. Using `Save Menu Modules' from the fourth menu will save any modules
  282. that you have Pre-selected!
  283.  
  284. 4th Menu - Selection
  285. ~~~~~~~~~~~~~~~~~~~~
  286.  1> Add New Module.....  Add a mew module to the 3rd menu, using the requester
  287.     Right-Amiga +        to select the module.
  288.  
  289.  2> Remove Module......  Remove a module from the 3rd menu, This is done by
  290.     Right-Amiga -        entering the modules corresponding number.
  291.  
  292.  3> Cycle Modules......  Using a user definable amount of time, this will load
  293.     Right-Amiga *        each module in the 3rd menu, one at a time and play it
  294.                          for the preset amount of time. You can also use this
  295.                          option to redefine the playing time.
  296.  
  297.  4> Stop Cycle.........  Stops the Cycling routine.
  298.     Right-Amiga /
  299.  
  300.  5> Set Cycle Timer....  This puts up a requester asking what amount of time,
  301.     Right-Amiga T        in seconds, that you require the module to play before
  302.                          P-M-M loads the next module in the list.
  303.                          2 presets are available, enter the number 1 and you'll
  304.                          get a default of 300 seconds (5 mins), or enter 0 (or
  305.                          just pressing ENTER) to cancel option.
  306.  
  307.  6> Save Menu Modules..  Save the modules in the `Selected Modules' menu to
  308.     Right-Amiga #        PMM.Config for future use.
  309.  
  310. Notes
  311.  
  312.  The mimium amount of seconds available for cycling a module is 60, using any
  313. amount less (other than 1 or 0) will be converted to 60 seconds. 
  314.  
  315.  Whilst Cycling is taking place, you can still choose any module from the
  316. `Selected Modules menu', or even use `*' to force P-M-M to cycle to the next
  317. module in the list, or load another module from disk.
  318.  
  319.  Using any of P-M-M's options will cause the timer to restart from Zero.
  320.  
  321.  `*' `-' `+' can all be found using the shift key and the key board, or on the
  322. numeric key pad, found on the right side of all amiga's (except the A600).
  323.  
  324.                    ---------------------------------
  325.  
  326. 7.   Errors Using P-M-M
  327.      ~~~~~~~~~~~~~~~~~~
  328.  
  329.  P-M-M uses the Intuition function `AUTOREQUEST' to create a series of simple
  330. requesters to inform you of any errors which occur.
  331.  
  332.  AUTOREQUEST requesters are the ones which ask things, such as
  333.  
  334.        Please insert Volumn `Whatever:' into any drive
  335.  
  336.  and give you the options of `Continue' or `Cancel'. YES! thats them, those
  337. things that pop up and tell you that you've got a software error, task held,
  338. please finish all disk activity, and its the software your wanting to save 
  339. from, thats just crashed and you can't save nothing.
  340.  
  341.  The errors which P-M-M displays in its window are as follows:-
  342.  
  343.  Unable to Load Module:      Either you don't have enough chip memory left to
  344.                             load the module into, or the module was not a Med
  345.                             or OctaMed module. P-M-M does NOT play MED SONGS!
  346.  
  347.  No Module Selected:         You didn't select a module from the requester or
  348.                             you clicked on `Cancel'.
  349.  
  350.  Wait : Module being Checked: A twitch in the main window when you add a new
  351.                               module to the selected modules menu. Not a true
  352.                               error at all, just informing you as to whats
  353.                               going on.
  354.  
  355.  To list all the error text which P-M-M uses the with the AUTOREQUEST function,
  356. would take up masses of room, so i've decided to let you find out for yourself.
  357. They will become self explanatory when you come across them and realise what
  358. thay are saying.
  359.  
  360.  I've yet to find any errors which the system picks up, and are related to
  361. P-M-M, but i'm sure if you tweek P-M-M enough and keep running through the
  362. menus fast enough, eventually you'll hit the QUIT! option! I haven't come
  363. across anything fatal yet. IE a visit from the guru or a system freeze, when
  364. using P-M-M. Trying to use another player such as Intuitracker (Soundtracker
  365. module player) whilst P-M-M is playing could cause some very funny things to
  366. happen. MED/OctaMED are quiet safe whilst P-M-M is running, because they will
  367. sense that the sound channels are in use and fail to run.
  368.  
  369.                    ---------------------------------
  370.  
  371. 7.   Files Required By P-M-M
  372.      ~~~~~~~~~~~~~~~~~~~~~~~
  373.  You will need the following libraries to be in your LIBS: directory of the
  374. disk you booted from, (unless you have ASSIGNed LIBS: to another disk) for
  375. P-M-M to work. P-M-M will automatically check for these libraries and tell
  376. you which ones are missing. P-M-M will close down if the Extend.library or
  377. the Asl.Library are missing.
  378.  
  379. Extend.Library        - Menu Hot Keys
  380.  
  381. MedPlayer.Library     \__ P-M-M will continue to run if
  382. OctaPlayer.Library    /   only one of these is available.
  383.  
  384. Asl.Library           - File Requester
  385.  
  386. There are no other files required, except the MED modules to play.
  387.  
  388.                    ---------------------------------
  389.  
  390. 8.   Converting Modules for use with P-M-M
  391.      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  392.  If you have S'Tracker or N'tracker Modules/Songs or even old Med Songs which
  393. you would like to play using P-M-M, then converting them to Module form is
  394. quite easy to do. (famous last words!)
  395.  
  396. 1.   Load Med or preferably OctaMed.
  397.  
  398. 2.   Load in the required Module or Song.
  399.      (I recommend playing the module first, incase of any damage!)
  400.  
  401. 3.   Make Sure that the path and module name are what you want for the saving
  402.      process.
  403.  
  404. 4    OctaMed Style V3.
  405.  
  406.    Click on the `MOD0 (old)' option, but not on either `MOD1 (+INSTR)' or
  407. `MOD1 (NO INSTR) options. Click on Save. And hay presto! Finished.
  408.  
  409.  If you find that OctaMed or even Med won't or can't load in your St/Nt module
  410. or song, don't give up. Find the a copy of St/Nt and load the module or song,
  411. PLAY it to make sure the module isn't damaged. Once you're happy, re-save it
  412. as a module and retry the above method. I personally use SoundTracker V2.5, if
  413. I can't get OctaMed to load the Song/Module.
  414.  
  415.  If you dont have access to a copy of OctaMed or MED, but the module worked
  416. with MedPlayer, this is because the module you are trying to use is in the old
  417. MED song format, whether or not this is still a module, I dont know, but i do
  418. know that the first 3 bytes of the song read `MED' and for P-M-M to play it,
  419. they must read `MMD'.
  420.  
  421. Note:
  422.  
  423.  If you are having any trouble loading or Saving a module, please refer to the
  424. appropriate manual for further intructions.
  425.  
  426.                    ---------------------------------
  427.  
  428. 9.   Naming Convention
  429.      ~~~~~~~~~~~~~~~~~
  430.  With 4 or 8 tracks modules now in use, and me not know which byte(s) within
  431. the module refer to the number of tracks, I've had to introduce a naming method
  432. which enables P-M-M to recognise the difference between the two module types.
  433.  
  434.  P-M-M uses a prefix on 8 track modules to separate them apart. It looks for
  435. the number `8' as the prefix, so a module that is named -
  436.  
  437.   8.MyModule
  438.  
  439.  is used as an 8 track module, and not as a 4 track module. This also has a
  440. second effect of separating the modules when you do a DIR of the directory that
  441. holds them. P-M-M will check for the prefix when loading all modules, and
  442. automatically choose the correct player mode for the module being loaded. If
  443. an 8 track module does not have the `8' prefix, then P-M-M will play it as a
  444. 4 track module, which will probably mean the module playing at twice the speed.
  445.  
  446.                    ---------------------------------
  447.  
  448. 10   Warning About `MMD1' Modules
  449.      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450.  OctaMed Pro introduced a new module type `MMD1', but this type of module is
  451. not correctly surpported by V3 of OctaPlayer.Library or MedPlayer.Library.
  452.  Although I have tried a few of these modules, I haven't found one which
  453. caused P-M-M any problems. But having said that, I cant guarentee that P-M-M
  454. will always behave it'self whilst using this type. If you do have V4 of these
  455. player libraries, no problem, P-M-M will work perfectly well with these
  456. libraries.
  457.  
  458.                    ---------------------------------
  459.  
  460. 11.  Miscellaneous
  461.      ~~~~~~~~~~~~~
  462.    P-M-M's `Selected Modules' menu has a single key stroke command which will
  463. cause the next module in the menu list, to be loaded and then played, the key
  464. is `*'.
  465.  
  466.    If you need to close down P-M-M quickly, pressing Ctrl-C (break) whilst
  467. P-M-M is active, will cause it to close down immediately, without leaving the
  468. module playing or putting up the quit requester.
  469.  
  470.                    ---------------------------------
  471.  
  472.      Authors Note #1
  473.      ~~~~~~~~~~~~~~~
  474.  I originally wrote P-M-M for myself, as I can never remember those long and
  475. awkward paths and file names, but when I passed on my first working version to
  476. a friend and he said how good it was, I felt that I had to improve it further.
  477.  It has now got to the stage, that every time I switch on my Amiga, I load up
  478. P-M-M and start playing modules.
  479.  I hope that you enjoy P-M-M as much as I do, and if I'm requested by you
  480. the users of P-M-M, I'll upgrade P-M-M to do a lot more (hopefully).
  481.  Please see the `History.Doc' for the past enhancements and bug removals, I
  482. have made to P-M-M.
  483.  
  484.      Authors Note #2
  485.      ~~~~~~~~~~~~~~~
  486.   I'd like to thank John Marchant for all the help he's given me, and for beta
  487. testing (bug finding) P-M-M. 
  488.   IF any of you out there has a Soundtracker library (with Docs), I'd love to
  489. have a copy so I could include ST modules into P-M-M's abilities.
  490.   If you would like something extra added to P-M-M, let me know and i'll see
  491. what i can do.
  492.  
  493.                                        P-M-M  © 92,93 - Anthony Keeley
  494.