Solved

Playing sounds

Posted on 1998-08-18
2
221 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now