Page 1 of 1
no sound
Posted: Mon Jul 31, 2006 12:42 am
by nader
How come I can't hear sound when playing QuickBasic games? I am running Windows XP Home Edition. Also I disabled the virus scanner (Norton, which gobbles lots of memory) but that didn't help either.
Thanks,
Nader
Posted: Tue Aug 01, 2006 9:08 pm
by Guest
I have read, more than once, that Windows XP is very user unfriendly with sounds through QuickBASIC. In the days before XP, QuickBASIC could send notes from the SOUND command to the small loudspeaker that is found inside the computer box. XP pervetrs most of this, and allows none through the "Desk speakers".
To hear what you can through QuickBASIC, try this little program, and listen carefully:
Code: Select all
FOR Hz = 50 TO 1000 STEP TO
PRINT Hz; "Hz for one second. Press any key for next sound."
SOUND Hz, 8.2
WHILE INKEY$ = "":WEND
NEXT
Posted: Tue Aug 01, 2006 9:10 pm
by Guest
Oh, oh. In the program above, please change the first line to read:
Posted: Thu Aug 03, 2006 5:13 pm
by buff_1
Most win OS previous to XP (at least 95 and 98 ) you could play at least small sound files through QB in a couple of ways but as the other contributor says, XP seems to squash most of that.
Posted: Mon Feb 19, 2007 1:57 pm
by surturz
PLAY command works under XP... and through the speakers, I think.
Posted: Wed Feb 21, 2007 6:54 am
by Ralph
I tried the second example in the QuickBASIC Help on PLAY. Yes, it does make some sounds through the computer's little speaker, though fairly poorly.