title: Put the knife down and take a green herb, dude. |
descrip: One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com Using 89% of the same design the blog had in 2001. |
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white. As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green. |
|
Thursday, December 01, 2011 | |
I've always liked using System.Beep in VB6 as a sort of audible debug. It's so much easier than msgbox or writing to some stupid debug textbox if you just want a very quick confirmation that you got here. Well, it looks like it's gone. But why was it there in the first place? From that same link: There’s something else that happened in the past 25 years. PCs became commodity systems. And that started exerting a huge amount of pressure on PC manufacturers to cut costs. They looked at the 8254 and asked “why can’t we remove this?” Bottom line for the change? Money. Simon: You're right that there are other solutions. But we weren't trying to solve the console beep problem - we were solving a manufacturing cost problem. Strangely, even if your hardware has the internal hardware to Beep, in Win7 64 bit, you're out of luck. I don't see a slick way to grab the speaker, though, since It's All Just 0s and 1s (c) 1970, there's got to be a way, right? I also don't see exactly how this solves the ADA problem. If I buy a computer, there's no guarantee it has external speakers. With an internal speaker, the sound will be there [as long as the speaker works properly, etc]. And it'll be distinctive to boot. How does moving to the standard sound jive help? Save System.Beep! Anyhow, I'm awfully sad to see Beep go. It's fun. And a cool Easter Egg. EDIT: I couldn't help but play a little. In 32 bit Windows 7, I tried it out as explained here with Console.Beep(1000,1000); Interestingly, it most certainly did go through the headphones if they were plugged in, but more interestingly, this HP Compaq 6005 Pro MT PC made the sound through an excellent internal speaker (which it apparently does always have: "Integrated High Definition audio with internal speaker") when I unplugged the headphones -- though no other sounds have come out of this thing since I've used it. (Hrm, now I can't turn the danged thing back off. Maybe I just had it on low all this time?) I know Macs have had excellent internal speakers since forever (? -- my LC had one and everything through now has too), but perhaps I missed that standard hardware usually has one too? So perhaps this is a win-win, and using the "user mode system sounds agent" still routes to the internal speaker even when, for normal sounds, it's off. Perhaps the ADA simply mandates that you have an internal speaker of some sort, but Windows 7 allows that sound to move through the headphones if they're in? Still seems like the ADA would prefer these sounds not be mutable. /EDIT ![]() Btw, has anyone noticed that logging in to blogger routes you through YouTube now? Wonder if YouTube is getting bundled with Blogger for a quick sale... posted by ruffin at 12/01/2011 08:39:00 AM |
|
| |
MarkUpDown is the best Markdown editor for professionals on Windows 10. It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support. Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor. Stop looking. MarkUpDown is the app you're looking for. Learn more or head over to the 'Store now! |
![]() |
|
|