Solved

SFX

Posted on 1998-12-08
3
148 Views
Last Modified: 2010-04-16
Can someone help me to get soundFX in pascal using sound blaster pro, in the case of making my own sounds?
0
Comment
Question by:VIBESPRO
3 Comments
 
LVL 2

Author Comment

by:VIBESPRO
ID: 1216406
The sounds produced should be of a value type.  I mean that a number can be used to play a note.  For example the sound procedure implemeted in pascal.  SOUND(450); DELAY(40) NOSOUND;
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1216407
That is used for the PC speaker.  The sound procedure utilizes the timer to oscillate the speaker at a frequency.  The Sound Blaster uses Pulse Code Modulation, so it wouldn't be that easy.  You would have to make your own oscillator and send the stream to the sound blaster.  If you wanted to play a sound with the frequency of 440, you would most likely use a sine function whose period is 1/440 of a second.  Multiply the sine by the loudness, then send it out to the blaster.
0
 
LVL 4

Accepted Solution

by:
jack_p50 earned 0 total points
ID: 1216408
see question about "programming 8254" or smth like that
you can get sound unit (great)! :   http://www.geocities.com/SiliconValley/Bay/9553/
(see soundlib 1.15 in source section)
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
Adding Computers to AD groups through an SCCM Task Sequence
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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