$NetBSD: patch-ay,v 1.1 2004/05/11 12:18:37 wiz Exp $ --- readmex.h.orig 1998-02-10 22:33:22.000000000 +0100 +++ readmex.h @@ -1,140 +1,140 @@ -#define strimx " -WHAT IS IT? - -Xamp is a version of amp plus a gui. Read the regular README on info about -amp. It was developed on an cx86 running Linux, so it should be pretty -portable. It doesn't take much cpu time; if your computer can run regular -amp, it'll probably run Xamp. - -INSTALLING - -You'll need Qt (+include files), libX11 (+include files), a properly set up -X server somewhere and a properly configured sound driver. - -$ tar xzvvf xamp-0.8.tgz -# be carefull here. You need to enter the xamp-0.8/ directory again otherwise -# you will get just the command line amp. -$ cd xamp-0.8/xamp-0.8/ -$ ./configure - -should take care of most configuration issues. I don't know autoconf very -well, but I think what I added to amp's script works pretty well. Then just -run make and you will get a binary called xamp. Just execute that and have -fun with Xamp. - -DEBIAN USERS INSTALL (i386 only) - -You can get a deb packet insted of the source or binary to install on a -debian linux system. The install from here it is really easy. All you need -is that you have installed qt properly and then just as root type - -# dpkg -i xamp_0.8-1_i386.deb - -the filaname can be different, depends on the Xamp version. - -REDHAT USERS INSTALL (i386 only) - -There is a rpm of the package as well. For those with RedHat just get the -xamp binary in the rpm format and execute as root - -# rpm -ivh xamp-0.8-1.i386.rpm - -the filaname can be different, depends on the Xamp version. - -RUNNING - -The program pretty much speaks for itself. There is a playlist from which -the player plays. you can specify the initial list on the commandline (eg. -$ xamp ~/mp3s/TypeO*mp3) or start empty. Click on the 'LOAD' button to get -to the playlist editor. You can add new files, delete them and move items -around by dragging. You can save the playlist to a flat textfile (one line -per item) and you can load such files. Doubleclick on an item to make the -player play that item. - -The main screen has regular previous, play/pause, stop and next -buttons. there's also a shuffle and repeat togglebutton. You'll figure it out. - -There is an option added now that you can put a background in -/usr/X11R6/lib/X11/xamp/ as a file back.bmp (i did tested it just with -bitmaps, but it should work with pixmaps as well..). The one and only -problem is that the filename must be in that exact path with name back.bmp - -SHORTCUTS - -In new versions of Xamp there are shortcuts for all the main functions that -Xamp supports. - -Here are the shortcuts and the description for the command - Z - Rewind - X - Play/Pause - C - Stop - V - Fast forward - N - Mono/Stero adjustments - M - Mute - S - Shuffle mode playing - R - Repeat the song - UpKey - Incrase volume - DownKey - Decrase volume - LeftKey - Balance to left - RightKey - Balance to right - A - About dialog - ALT + Q - Quit - - Double click on the song label opens the id3 tag editor - -There are some in the playlist editor, but those shortcuts characters are -underlined and you can connect with ALT+key. - -PROBLEMS - -if it dumps core, please send a patch or a detailed bugreport (don't attach -the mp3!). this version seems pretty solid compared to the last, but I know -I'm not a very good tester. - -xamp will refuse to play some weird (but compliant, according to the -standard) mp3's, like ones that change bitrates halfway through or strange -bitrates I couldn't reproduce here. the problem is that the function that -gets called after you pull the slider needs to calculate where it should go -in the mp3 stream. there are some magic values involved that calculation. I -can't find out those values for weird bitrates I can't reproduce here, and I -don't even want to think about the bitrate-switching streams. - -it was either keeping tabs on offsets while playing (slow & irritating, -especially when seeking forward) or an ugly seeking function with a lot of -magic values. the ugly function does seem to work for most cases, so I stuck -with it. _if_ you should encounter an mp3 xamp won't play, email me. -(andrej.bagon@uni-mb.si) - -BUGS - -I know about that quit bug. If somebody does solve that thing please -just report to me how I should get rid of it.. Thanx. -The playlist Length thing.. I dont know for now how to implement that length -of the playlist, so I consider it a bug. -Other bug reports are welcome! -As a ID3 TAG editor was added.. you might encounter some problems.. not -yet fully tested. - -TODO - - - stuff warnings (and errors?) into a messagebox - - multiple selection in the playlist editor - - some sort of bouncy fft or osciloscope graph. - -THANKS TO - - - Tomislav & the rest for making amp. - - Adnans for BeMP, providing an idea on how to go about this. - - Lodewijk Voge for his port in the Xwindow system. - - the makers of the underlying system (dlgedit, Qt, etc down to the silicon) - -Legal addendum to the amp README: - -everything in this package that is not in the original amp package this -version is based on, is released under the GNU General Public License. you -make a derivative version -> you release the source, you mark your changes and -you give credit where credit is due. clearly. - -Lodewijk V\"oge and -for Xamp Andrej Bagon +#define strimx "\ +WHAT IS IT?\n\ +\n\ +Xamp is a version of amp plus a gui. Read the regular README on info about\n\ +amp. It was developed on an cx86 running Linux, so it should be pretty\n\ +portable. It doesn't take much cpu time; if your computer can run regular\n\ +amp, it'll probably run Xamp.\n\ +\n\ +INSTALLING\n\ +\n\ +You'll need Qt (+include files), libX11 (+include files), a properly set up\n\ +X server somewhere and a properly configured sound driver.\n\ +\n\ +$ tar xzvvf xamp-0.8.tgz\n\ +# be carefull here. You need to enter the xamp-0.8/ directory again otherwise \n\ +# you will get just the command line amp.\n\ +$ cd xamp-0.8/xamp-0.8/\n\ +$ ./configure\n\ +\n\ +should take care of most configuration issues. I don't know autoconf very\n\ +well, but I think what I added to amp's script works pretty well. Then just\n\ +run make and you will get a binary called xamp. Just execute that and have\n\ +fun with Xamp.\n\ +\n\ +DEBIAN USERS INSTALL (i386 only)\n\ + \n\ +You can get a deb packet insted of the source or binary to install on a\n\ +debian linux system. The install from here it is really easy. All you need\n\ +is that you have installed qt properly and then just as root type\n\ +\n\ +# dpkg -i xamp_0.8-1_i386.deb\n\ + \n\ +the filaname can be different, depends on the Xamp version.\n\ + \n\ +REDHAT USERS INSTALL (i386 only)\n\ + \n\ +There is a rpm of the package as well. For those with RedHat just get the\n\ +xamp binary in the rpm format and execute as root\n\ +\n\ +# rpm -ivh xamp-0.8-1.i386.rpm\n\ +\n\ +the filaname can be different, depends on the Xamp version.\n\ +\n\ +RUNNING\n\ +\n\ +The program pretty much speaks for itself. There is a playlist from which\n\ +the player plays. you can specify the initial list on the commandline (eg.\n\ +$ xamp ~/mp3s/TypeO*mp3) or start empty. Click on the 'LOAD' button to get\n\ +to the playlist editor. You can add new files, delete them and move items\n\ +around by dragging. You can save the playlist to a flat textfile (one line\n\ +per item) and you can load such files. Doubleclick on an item to make the\n\ +player play that item.\n\ +\n\ +The main screen has regular previous, play/pause, stop and next\n\ +buttons. there's also a shuffle and repeat togglebutton. You'll figure it out.\n\ +\n\ +There is an option added now that you can put a background in\n\ +/usr/X11R6/lib/X11/xamp/ as a file back.bmp (i did tested it just with\n\ +bitmaps, but it should work with pixmaps as well..). The one and only\n\ +problem is that the filename must be in that exact path with name back.bmp\n\ + \n\ +SHORTCUTS\n\ + \n\ +In new versions of Xamp there are shortcuts for all the main functions that\n\ +Xamp supports.\n\ + \n\ +Here are the shortcuts and the description for the command\n\ + Z - Rewind\n\ + X - Play/Pause\n\ + C - Stop\n\ + V - Fast forward\n\ + N - Mono/Stero adjustments\n\ + M - Mute\n\ + S - Shuffle mode playing\n\ + R - Repeat the song\n\ + UpKey - Incrase volume\n\ + DownKey - Decrase volume\n\ + LeftKey - Balance to left\n\ + RightKey - Balance to right\n\ + A - About dialog\n\ + ALT + Q - Quit\n\ +\n\ + Double click on the song label opens the id3 tag editor\n\ + \n\ +There are some in the playlist editor, but those shortcuts characters are\n\ +underlined and you can connect with ALT+key.\n\ +\n\ +PROBLEMS\n\ +\n\ +if it dumps core, please send a patch or a detailed bugreport (don't attach\n\ +the mp3!). this version seems pretty solid compared to the last, but I know\n\ +I'm not a very good tester.\n\ +\n\ +xamp will refuse to play some weird (but compliant, according to the\n\ +standard) mp3's, like ones that change bitrates halfway through or strange\n\ +bitrates I couldn't reproduce here. the problem is that the function that\n\ +gets called after you pull the slider needs to calculate where it should go\n\ +in the mp3 stream. there are some magic values involved that calculation. I\n\ +can't find out those values for weird bitrates I can't reproduce here, and I\n\ +don't even want to think about the bitrate-switching streams.\n\ +\n\ +it was either keeping tabs on offsets while playing (slow & irritating,\n\ +especially when seeking forward) or an ugly seeking function with a lot of\n\ +magic values. the ugly function does seem to work for most cases, so I stuck\n\ +with it. _if_ you should encounter an mp3 xamp won't play, email me.\n\ +(andrej.bagon@uni-mb.si)\n\ +\n\ +BUGS\n\ +\n\ +I know about that quit bug. If somebody does solve that thing please\n\ +just report to me how I should get rid of it.. Thanx.\n\ +The playlist Length thing.. I dont know for now how to implement that length\n\ +of the playlist, so I consider it a bug.\n\ +Other bug reports are welcome!\n\ +As a ID3 TAG editor was added.. you might encounter some problems.. not\n\ +yet fully tested.\n\ + \n\ +TODO\n\ +\n\ + - stuff warnings (and errors?) into a messagebox\n\ + - multiple selection in the playlist editor\n\ + - some sort of bouncy fft or osciloscope graph.\n\ +\n\ +THANKS TO\n\ +\n\ + - Tomislav & the rest for making amp.\n\ + - Adnans for BeMP, providing an idea on how to go about this.\n\ + - Lodewijk Voge for his port in the Xwindow system.\n\ + - the makers of the underlying system (dlgedit, Qt, etc down to the silicon)\n\ +\n\ +Legal addendum to the amp README:\n\ +\n\ +everything in this package that is not in the original amp package this\n\ +version is based on, is released under the GNU General Public License. you\n\ +make a derivative version -> you release the source, you mark your changes and\n\ +you give credit where credit is due. clearly.\n\ +\n\ +Lodewijk V\"oge and\n\ +for Xamp Andrej Bagon \n\ "