'Beeeeeeeeep'

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by merendo.

Hi @ll

How can I play a beep with the speaker in the computer (Like the beep when switching the chest on) and how can I set the duration and the frequency of the beep?

Cu @ll, merendo
--
I've been hiding - What am I hiding from???
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

only for windows but:

Beep_(Frequency,length)

Length in milliseconds


Its a long way to the top if you wanna .....CodeGuru
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.

I'm not sure this goes over the PC speaker, i think it goes via soundcard if exist.
And no beep under w95, but a WAV.
API docs say:

Code: Select all

Windows NT:

The Beep function is synchronous in all but one case; 
the function does not generally return control to its caller 
until the sound finishes. The exception to this occurs when 
dwDuration has the value  - 1. In that case, Beep is asynchronous, 
returning control immediately to its caller while the sound 
continues playing. The sound continues until the next call to Beep. 

Windows 95:

The Beep function ignores the dwFreq and dwDuration parameters. 
On computers with a sound card, the function plays the default sound event. 
On computers without a sound card, the function plays the standard system beep.
But maybe this is what you need?

Regards,

Berikco

http://www.benny.zeb.be
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by DemonHell.
Originally posted by merendo

How can I play a beep with the speaker in the computer (Like the beep when switching the chest on) and how can I set the duration and the frequency of the beep?
Suppose you could use the beep command in the hardware lib I wrote..
goto http://www.doobreynet.co.uk to get it.

I know it`s labelled a beta state lib, but it should be pretty solid..over 80 people have downloaded it so far, but as usual, user feedback is ZERO !

Does that mean it`s solid, or a pile of crap that doesn`t even justify filling out a bug report ?
Sometimes I wonder why I bother releasing stuff..maybe I wont bother in future.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Maybe this is off topic but:
Originally posted by DemonHell
I know it`s labelled a beta state lib, but it should be pretty solid..over 80 people have downloaded it so far, but as usual, user feedback is ZERO !
Well when I released PureGUI I had ONE user feedback.
So your experience is really bad. :)

The curious thing is, that when I announced PureGUI the topic had a bunch of replys and it seemed that many users would be interested in...

BTW: I downloaded your files too, but I don't use it - that's why no feedback from my side.
Originally posted by DemonHell
Does that mean it`s solid, or a pile of crap that doesn`t even justify filling out a bug report ?
Sometimes I wonder why I bother releasing stuff..maybe I wont bother in future.
That's why I stopped coding an IDE written in PureBasic (PureGuide).
It doesn't make sense :cry:
...according to one PureBasic user, it had a @!%$# name anyway :)


For now I'm coding on a game (despite of his name...).
You don't need feedback to have fun.
Code with PureBasic and start playing :)


Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Does that mean it`s solid, or a pile of crap that doesn`t even
> justify filling out a bug report ?

Maybe there were no bugs to report and all works fine for its users.

> as usual, user feedback is ZERO !

So what? "No news is good news" is how the saying goes... :)
You should be glad that you weren't flooded with bug reports, IMO.

BTW, this post of yours was the first I saw about your lib/site, so
that's why I've never downloaded anything of yours...


PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

Suppose you could use the beep command in the hardware lib I wrote..
goto http://www.doobreynet.co.uk to get it.

I know it`s labelled a beta state lib, but it should be pretty solid..over 80 people have downloaded it so far, but as usual, user feedback is ZERO !

Does that mean it`s solid, or a pile of crap that doesn`t even justify filling out a bug report ?
Sometimes I wonder why I bother releasing stuff..maybe I wont bother in future.
never seen that before, so i have to take a look at your lib(s) now...


Its a long way to the top if you wanna .....CodeGuru
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.
Originally posted by DemonHell
Suppose you could use the beep command in the hardware lib I wrote..
goto http://www.doobreynet.co.uk to get it.

I know it`s labelled a beta state lib, but it should be pretty solid..over 80 people have downloaded it so far, but as usual, user feedback is ZERO !

Does that mean it`s solid, or a pile of crap that doesn`t even justify filling out a bug report ?
Sometimes I wonder why I bother releasing stuff..maybe I wont bother in future.
First time i hear from it also, will get today en test...
My main intrest is hardware acces, SMBus, I2C sensors..etc..so maybe i can use :)

Regards,

Berikco

http://www.benny.zeb.be
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.
Originally posted by Franco
Well when I released PureGUI I had ONE user feedback.
So your experience is really bad. :)
The curious thing is, that when I announced PureGUI the topic had a bunch of replys and it seemed that many users would be interested in...
That's why I stopped coding an IDE written in PureBasic (PureGuide).
It doesn't make sense :cry:
...according to one PureBasic user, it had a @!%$# name anyway :)
Hey Franco,

In the new PB editor, you could do much more with pureGui to generate code...next week released i think...big surprise
So don't give up yet :)


Regards,

Berikco

http://www.benny.zeb.be
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by wcardoso.

:)To everybody:
Although to receive good commentaries about our work is rewarding , don't forget the programming job is really a personal form of art. That means the really satisfaction is a personal fact. Do you listened God to demand thanks for its work ?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by merendo.

Beep_(Frequency,length) doesn't work.

Cu @ll, merendo
--
I've been hiding - What am I hiding from???
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

> Beep_(Frequency,length) doesn't work.

Because it works only on WinNT/2k/(XP?)
and not for Win9x/ME. See description above.

If it doesnt work for you on this systems,
your speaker is broken/not used or you have
set the loudness very low (some systems can
set loudness of internal speaker).

cya,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by DemonHell.
Maybe there were no bugs to report and all works fine for its users.
Code that I wrote is bugless? maybe hell has frozen over :wink:
Some of my code has been so buggy, Microsoft tried to headhunt me..
So what? "No news is good news" is how the saying goes... :)
You should be glad that you weren't flooded with bug reports, IMO.
True..I normally discover bugs about 10 secs after I upload the files!
BTW..I`ve found a 100% working method of bugfixing.. sit on the toilet for 10 mins, and the buggy line just seems to appear in your mind, or maybe thats just me ?
BTW, this post of yours was the first I saw about your lib/site, so
that's why I've never downloaded anything of yours...
I did announce it in the announce part of this forum, but strangely that post seems to have vanished!

Anyway, I don`t really care if I get feedback or not.. I code for fun,writing stuff I want to learn about, or little apps that I need from time to time.
If I don`t get feedback, and the program suits my needs, then there`s no point in me spending more time doing updates.

Oh well, back to trying to install windows on a friends PC with a duff 2 speed CD ROM (3 hours and counting!)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Pupil.
Originally posted by DemonHell
BTW..I`ve found a 100% working method of bugfixing.. sit on the toilet for 10 mins, and the buggy line just seems to appear in your mind, or maybe thats just me ?
With your method the guys at Microsoft need to take a crap for the whole next decade or so :wink:
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by merendo.

@DemonHell: Your sollution does work. Thank you.

Cu @ll, merendo
--
I've been hiding - What am I hiding from???
Post Reply