Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


request for squeeling counter demo!


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2008, 08:23 AM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Awards Showcase
Beta Tester 
Total Awards: 1
Default request for squeeling counter demo!

My development system is down, can anyone do me a mega favour and code and compile for device a basic utility for me if they have time today??

As proof of concept I need to show someone on thursday that we could develop a radiological counter on a ppc.

All I need is a utility that shows a number varying from 0 to 10000 and making a high pitched squeel ranging from a medium squeel at 0 to a high pitch squeel at 10000

The demo could be controlled by say how far the mouse stylus was touched up the screen?, but the proper thing would use a bluetooth gamma probe

very grateful if anyone can help - the sound is the tricky bit for me!

Last edited by colin9876 : 05-20-2008 at 01:45 PM.
Reply With Quote
  #2 (permalink)  
Old 05-20-2008, 01:31 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Hard to accomplish in such a short notice...
but this community is known for doing very hard things in very short time...I'll give it a try and let you know what I came up with...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 05-20-2008, 01:41 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Awards Showcase
Beta Tester 
Total Awards: 1
Default Thanks

I'll cut u in on the fortune if I make one! These Radiological detecters cost $1000s but I want to convince my boss to invest in a bluetooth probe and then code the thing on a pda. The one we have is very unportable - 2kg box with LED digital counter and speaker which makes a variably high pitched noise! If I can show them a squeeling pda they will be convinced!!

The next step will be to work out how to decode bluetooth data!!

Last edited by colin9876 : 05-20-2008 at 01:50 PM.
Reply With Quote
  #4 (permalink)  
Old 05-20-2008, 01:56 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Awards Showcase
Beta Tester 
Total Awards: 1
Default picture of detector

If u could use this pic of our bulky detector as the backdrop and have the numbers somewhere in the black display box that would be so cool
Attached Images
File Type: jpg gamma.jpg (65.1 KB, 9 views)

Last edited by colin9876 : 05-20-2008 at 02:02 PM.
Reply With Quote
  #5 (permalink)  
Old 05-20-2008, 03:15 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

The complicated thing is, thereis no direct support in .NET to the Sound(frequency, duration) command...
I'll do some more search...
Still an audio amplifier may be needed to make the pitch audible im a life like situation...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #6 (permalink)  
Old 05-20-2008, 03:59 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Awards Showcase
Beta Tester 
Total Awards: 1
Default what no BEEP command?

.. even my old spectrum had a beep command! lol!

I have a HTC touch its quite loud actualy and its for use indoors so should be ok on volume if u can get it to make a beep somehow! Thanks
Reply With Quote
  #7 (permalink)  
Old 05-20-2008, 07:47 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Producing sound is not a problem, as long as it cames in the form of a file...
It is possible to play a few diferent sound formats, including WAV and MP# files...
But it is not possible to produce sound directly by code, as in the "old spectrum"!
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #8 (permalink)  
Old 05-20-2008, 08:39 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Awards Showcase
Beta Tester 
Total Awards: 1
Default Im shocked!

So would a program have to cycle through different pitched pre=recorded squeels? Is there any chance u could have a go at it or is too big a task?
Reply With Quote
  #9 (permalink)  
Old 05-20-2008, 08:46 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

The biggest issue for me would be to get the sound files, if you provide them, in what ever formar, I'll give it a go...
The duration of each file should not be more that 500ms and more than 500hz apart, in order to have a good smooth effect
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #10 (permalink)  
Old 05-21-2008, 09:23 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,770
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Wav file generator for tones
Attached Files
File Type: zip WavFileGen1.0.zip (6.7 KB, 21 views)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta Demo Ini file Editor... Cableguy Share Your Creations 33 09-02-2008 11:33 AM
Inventory Counter jeterry Share Your Creations 1 04-06-2008 05:33 AM
Request for SetPixel in Form object. forisco Questions & Help Needed 28 01-03-2008 12:13 PM
Ticker Demo alfcen Share Your Creations 2 10-05-2007 01:46 PM
Tutorial Request - How to creat B4P library? conf Questions & Help Needed 5 06-25-2007 12:26 PM


All times are GMT. The time now is 01:31 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0