Solved

Playing sounds

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

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

How many times a day do you open, acknowledge, or close an IT incident? What’s your process? Do you have a process depending on the incident, systems involved, and other factors? New Relic Alerts gives you options for how you interact with notifica…
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

751 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