Solved

Playing sounds

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
help with delphi code 6 480
Delphi 2007 printer setup problem 8 766
How do I assign an IP address to my Delphi Datasnap server? 4 791
delphi prevent click fast 2 215
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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