Solved

Playing sounds

Posted on 1998-08-18
2
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
First of all let me say that the only language that I speak is English, but in answering questions here I often come across people whose English skills are not the best and I’d like to be able to communicate better with them, and the following descr…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

623 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