Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Pascal Форум Информер Страны мира
   Звуки и Музыка    >>    hsctrack
   
 
 HSC Player Unit V1.0 for HSC-Tracker V1.5   Christian Bartsch 24.05.1994

Объектно-ориентированный модуль для проигрывания HSC-файлов. Приведена документация на английском и примеры использования.
Player sources for HSC files, turbo pascal implementation, uses object technology. Link fast and smart adlib music into your own programs. Version 1.0, with full docs and examples.



61k 
 

HSC Player Unit V1.0 -------------------- Written in 1994 by GLAMOROUS RAY^RADiCAL RHYTHMS Original code and .OBJ by CHiCKEN and ZWERG ZWACK^ELECTRONiC RATS This code is FREE WARE. This means that you can copy and distribute it as you like, but you may not charge any money for its distribution. If you intend to use this code in a commercial product than you have to get written permission from NEO Software Produktions GmbH Austria. Introduction: ------------- What is PLAYHSC? This unit is intended for use with the HSC tracker written by Zwerg Zwack and Chicken on low level support from NEO Software <g>. This unit supports an easy and fast to use way to play sound, so not all general functions of the player are included. It is not possible to do the polling - this is done by the player automatically, it links into the timer interrupt. General overview: ----------------- Below follows a description how to play sound files from your program, calling this unit. There are two ways: 1st: Play a sound file, loading from disk 2nd: Play a sound file, directly from included data. The first method is very easy and simple, the second one more cool ;). The player is build up as an object, so it is initialized on your heap when starting and deinstalled when finishing. Please note that the player does _no_ check for memory. So it's up to you to check if there's enough memory (heap) free to load the music - the player won't just do anything in that case. To get the object to work, you have to declare it as a variable. This is normally done this way: VAR Music : HSC_obj; Now the object is declared and has to be used an