TWAVSampler Component ===================== TWAVSampler is a Delphi 1 & 2 & 3 & 4 component that records and plays back wave audio using the MMSystem unit. It also fixes the Delphi 1 waveInClose bug. The purpose of this component is to provide you with a starting point in creating your own wave audio applications. Using it will save you many hours (days) and even more frustration. The component provides routines for recording, playing, opening and saving wave files. You can easily derive your own component from it and add the processing routines you need. TWAVSampler is shareware. The unregistered version is fully functional, but only when the Delphi IDE is running. The registration fee is US$49. When you register, you receive the full source code and you can get free technical support via email. If you know what a horrible task it is to get record and playback of wave files through the MMSystem unit working, you'll agree that this is not expensive. You may freely distribute the unregistered version of TWAVSampler, provided that you include all files in their original form and that you do not ask any money for it. How To Use TWAVSampler ====================== If you are using Delphi 1: Run Delphi, pick Options|Install components... from the menu and install sampler.dcu from d1.zip Delphi 2: Run Delphi, pick Components|Install component from the menu and install sampler.dcu from d2.zip Delphi 3: Run Delphi, pick Components|Install from the menu and add sampler.dcu from d3.zip to the package of your choice. Now you can load Test.dpr and see the component at work. To use it in your own application, first add the SmpInfo and RecGauge units to your project. These two forms are used by the component. When you register, you can modify them so they fit nicely in your application. Then drop a TWAVSampler on your form. Call RecordNew to record a new wave. Call PlayStart to hear the wave. Call SaveToFile to save it and LoadFromFile to load it again. The component stores the wave data in raw format, i.e. as a continuous block of samples. Because of the limitations of the 16-bit environment, the data is stored in 64K chucks. WaveBuffers contains the amount of buffers the wave is spread over. WaveLength is the length of the wave in bytes (not samples!). TheWave points to a TWaveData structure that contains the actual data. See sampler.int for more information. Disclaimer ========== This software is provided "as is". In no event shall I, the author, be liable for any consequential, special, incidental or indirect damages of any kind arising out of the delivery, performance or use of this software. This software has been written with great care, but I do not warrant that the software is error free. You may not attempt to reverse compile, modify, translate or disassemble the software in whole or in part. Registration ============ If you wish to use TWAVSampler in your application(s), you will have to register it with the author. Once you have registered, you will receive the full source code of the TWAVSampler component. You may not distribute this source code, not in whole nor in part, whether it has been modified or not. Note that the registration is strictly personal. You may use your registered copy in your own applications. If you registered on behalf of a company, the registered component may only be used in applications copyright by that company. The registered version is sent to you by email or if you wish, by snail-mail on a floppy disk. The latter option will cost you $7.50 Credit Card Orders ================== If you have a credit card, you can order TWAVSampler through PsL. For non-credit card orders, see below. Please note that refunds are not possible. TTipOfTheDay is shareware, so you have the opportunity to try it out before you buy it. The best way to place your order, is to use PsL's secure registration page on the web. You can find the link on my home page at http://www.tornado.be/~johnfg/register.html Alternatively, you can contact PsL by phone: +1-713-524-6394 Ext. 14953 fax: +1-713-524-6398 (please print your text, no handwriting) e-mail: 14953@pslweb.com snail-mail: PsL, P.O.Box 35705, Houston, TX 77235-5705 USA Note that the above numbers are for credit card orders only. Any questions about the status of the shipment of the order, registration options, product details, technical support, volume discounts, dealer pricing, site licenses, etc, must be directed to the author at jg@ping.be When placing your order, please mention the following details: What you wish to register: TWAVSampler for US$59, product ID 14953 Your name Your postal address Your email address Credit card type and number, expiration date and the name on the card if it differs from your name mentioned above. The name TTWAVSampler has to be registered to (the name of your company or your own name) Whether you wish to receive the lastest version on floppy disk (costs $7.50) or through e-mail (no charge). Non-Credit Card Orders ====================== European users can register by filling out the registration form below and mailing it to me along with a EuroCheque for BEF 1500 (BEF 1700 if you want to receive the registered version on floppy disk) to: Jan Goyvaerts Lerrekensstraat 5 2220 Heist-op-den-Berg Belgium Note that I cannot accept any checks other than EuroCheques in Belgian francs. You can also pay by transferring the money to my bank account in Belgium. Contact me at johnfg@tornado.be for the account number. The last option is to mail me the registration form along with US$49 in cash. But this is entirely at your own risk. You can send the same amount in your own currency, but please do not include any coins as they cannot be exchanged. If you have any questions or comments, you can contact me at johnfg@tornado.be Feel free to visit my home page at http://www.ping.be/jg/ Registration Form for Non-Credit Card Orders ============================================ [ ] Yes! I would like to register the TWAVSampler component. Name: _______________________________________ Company: ____________________________________ Email: ______________________________________ I am registering this component on behalf of: [ ] Myself [ ] My company Payment method: [ ] Cash [ ] EuroCheque in Belgian francs [ ] Direct deposit [ ] Keep me informed about other Delphi components by the same author I found TWAVSampler here: [ ] The author's home page at http://www.tornado.be/~johnfg/ [ ] A Delphi web site, namely: _____________________________ [ ] Somewhere else: ________________________________________ I understand that I will receive the source code to the TWAVSampler component via email and that I may use this in my applications without extra charges. I also understand that I may not distribute this source code, not in whole nor in part, whether it has been modified it or not. I also understand that this registration is personal. I may only use the component or any part of its source code in applications that are copyright by me only, or by my company only if I am registering on behalf of my company. I have included proper and sufficient payment. Otherwise, I won't be registered and I won't get my money back. Date: ______________ Signature: