|
sound
Oct 20, 2005 12:17:09 GMT
Post by adam on Oct 20, 2005 12:17:09 GMT
Is there any way to use the sound statement to play more than one frequency at a time? or is there any way to get qbasic to run more than one sound statement at a time?
|
|
|
sound
Oct 20, 2005 21:45:45 GMT
Post by Ildûrest on Oct 20, 2005 21:45:45 GMT
Nope. The PC Speaker is only designed to play one frequency at a time. I've heard that by fiddling with the pulses sent to it, you can get more complex waveforms, but if Google can't tell me how, it must be an extremely obscure method (That is, a google search didn't tell me how.) HOWEVER. There are some sound libraries (notably DS4QB-directSound for QB) which let you play through ordinary speakers. Problem is, they don't work well on Win2000 and XP. Although you can download VDMSound, a DOS emulator (Like Windows 2000/XP's NTVDM) that has better sound support. By the way, this is a QB question and should have gone on the QB forum.
|
|
buff1
New Member
Posts: 3
|
sound
Oct 22, 2005 3:38:35 GMT
Post by buff1 on Oct 22, 2005 3:38:35 GMT
Before windows on the 486 processor and before, you could even make the computer speaker talk. I had a program that did that and I was able to edit it and make my program menu "say" what you chose. when windows came along it messed that up probably because of the multi-tasking but after that it was just garbled.
This doesnt answer the question but it could play music too so I guess in a way it is more than one sound at a time (or a complex waveform as Idulrest has said). This was not (as far as I know) not a QuickBasic program however.
|
|
|
sound
Oct 23, 2005 22:58:54 GMT
Post by Commentator on Oct 23, 2005 22:58:54 GMT
Buff made a double not
|
|
buff1
New Member
Posts: 3
|
sound
Oct 24, 2005 1:54:10 GMT
Post by buff1 on Oct 24, 2005 1:54:10 GMT
oops. LOL
|
|