Solved

SFX

Posted on 1998-12-08
3
149 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 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