Solved

Playing sounds

Posted on 1998-08-18
2
237 Views
Last Modified: 2010-04-16
How can I play sounds on Music card from Turbo PASCAL 6.0?
Please, send me source code!
0
Comment
Question by:mmilan
2 Comments
 
LVL 1

Expert Comment

by:girts063098
ID: 1215442
What music card do you have? SB, GUS, or something else.
0
 
LVL 2

Accepted Solution

by:
omsec earned 30 total points
ID: 1215443
Hello...

There are several ways to so in Turbo Pascal 6.0.
First, you need to decide, what Type of Music Files you wish to play. Like WAVE, some Tracker Files or maybe an own Format. Note, that there are some minous Limitions, since TP is a Real Mode 16bit Compiler, this means you can't play .XM (fast Tracker II or MP3).

Anyway, I recommend to use a digital Music Format like
MOD (ProTracker), or S3M (Scream Tracker 3) which can play sound very well. How good the sound is played, depends in the play-quality you use. Ie, 16bit, ST at 44.100Hz means CD-Quality. It also depends in the routines you are using. A great Library (collection of units) is the MIDAS Digital Audio System.

If there is the need for other File Types, like WAV or VOC let me know, I have such sources also.

get MIDAS from

www.s2.org/Midas

The Version you need is MIDAS v0.40a

(higher versions would be better of course, but do not support 16bit Compilers anymore)

greets, Omsec ;)

BTW, MIDAS also provides perfect auto-detectiopn for for many sound cards and a professional setup program and comes with complete source codes
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question