How would I go about doing this?
any input would be appreciated
Please help me out guys.....
this is the only problem i have in my app.....
TheWidgetKid said:
How would I go about doing this?
any input would be appreciated
Click to expand...
Click to collapse
Your gonna have to be a tad more specific!
At a guess you want to progromatically play a click sound ???
Code:
//NOTE: This is untested & converted from a working VB.NET3.5 app -
System.Media.SoundPlayer myPlayer = new System.Media.SoundPlayer();
myPlayer.SoundLocation = @"click.wav";
myPlayer.Play();
Alternatively, I have used this code in the past...
http://msdn.microsoft.com/en-us/library/ms229685.aspx
To be more specific....
I am making a drumming app....
and when i click on a pad I want it to play the sound..... (ie. hit the snare and snare.wmv) plays....
sd00 said:
Your gonna have to be a tad more specific!
At a guess you want to progromatically play a click sound ???
Code:
//NOTE: This is untested & converted from a working VB.NET3.5 app -
System.Media.SoundPlayer myPlayer = new System.Media.SoundPlayer();
myPlayer.SoundLocation = @"click.wav";
myPlayer.Play();
Alternatively, I have used this code in the past...
http://msdn.microsoft.com/en-us/library/ms229685.aspx
Click to expand...
Click to collapse
When i implement this code... it says that the .wav file does not exist.... can yo tell me how i can link the file to the program....
TheWidgetKid said:
When i implement this code... it says that the .wav file does not exist.... can yo tell me how i can link the file to the program....
Click to expand...
Click to collapse
Erm, not one to discourage people but man, if your stumped at that then - you have a way to go!
Ensure a file called click.wav actually exists where the executable goes. If you want to be absolutely certain (though its not really a good idea), try using full path to a wav file you know for sure exists.
e.g. Say your app "\Program files\Drums\drums.exe" then make sure you have a "\Program files\Drums\click.wav".
Related
Hi everybody !
Does anybody knows whether it is possible to use an MP3 files as a reminders sound files instead of those boring sounds ?
Or i need to store a big WAV file in /My Music folder ?
I hardly beleive that there is no registry hack for this.
Thank for the answer,
Baudy.
Not out-of-the-box, no.
The reason a registry hack won't work is that the built-in engine that plays the mp3s doesn't support anything but WAV.
The only reason the phone app supports additional file types is because its specifically written to make use of libraries written for that (I believe its using the newer Media Player libraries, but I could be wrong).
snorbaard said:
Not out-of-the-box, no.
Click to expand...
Click to collapse
Pitty.... All of the MP3 reminders i saw are really a piece of ****. Let's wait....
Thank you for the answer, anyway.
baudy2 said:
snorbaard said:
Not out-of-the-box, no.
Click to expand...
Click to collapse
Pitty.... All of the MP3 reminders i saw are really a piece of ****. Let's wait....
Thank you for the answer, anyway.
Click to expand...
Click to collapse
Why don't you convert them to wav? If you choose the right settings you'll have a really descent file playable in your device.
Mythozz said:
Why don't you convert them to wav? If you choose the right settings you'll have a really descent file playable in your device.
Click to expand...
Click to collapse
Size matters....
baudy2 said:
Mythozz said:
Why don't you convert them to wav? If you choose the right settings you'll have a really descent file playable in your device.
Click to expand...
Click to collapse
Size matters....
Click to expand...
Click to collapse
if you're talking about simple reminders (and not ringtones) they cannot be that large in size. How much are they? 100KB? 200KB? 500KB each?
That's why I mentioned the right settings. They're not MP3 of course... but you'll be able to enjoy them if during the conversion you select the right settings...
Anyway...
Hello,
Hey guys is it possible to change the Call window in pocket pc ? it's the one where you dial and press call, i have this ugly T-mobile one i want it gone
thanks in advance
http://buzzdev.net/index.php?option=com_remository&Itemid=132&func=select&id=18
Is there once that work with OS2003 not wm5
thanks
for those who's interested
http://www.pdagold.com/software/detail.asp?s=800
If your phone's screen is landscape, create a 293x240 png image and name it cprogback_land and drop it in the Windows folder.
If your screen is QVGA, create a 240x293 png image and name it cprogback and drop it in the Windows folder.
That should do the trick!
My_Immortal said:
If your phone's screen is landscape, create a 293x240 png image and name it cprogback_land and drop it in the Windows folder.
If your screen is QVGA, create a 240x293 png image and name it cprogback and drop it in the Windows folder.
That should do the trick!
Click to expand...
Click to collapse
Nope.
Look at any .xml file and you see that:
"<plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="27">"
so the the background image for the landscape calling is: 240 px - 27px (upper bar) - 27px (bottom bar) = 186px.
PS: Changin' this landscape affecting only the incoming calls not the outgoing calls (at least this happens on my device).
Gubbài.
derma said:
Nope.
Look at any .xml file and you see that:
"<plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="27">"
so the the background image for the landscape calling is: 240 px - 27px (upper bar) - 27px (bottom bar) = 186px.
PS: Changin' this landscape affecting only the incoming calls not the outgoing calls (at least this happens on my device).
Gubbài.
Click to expand...
Click to collapse
If you open the original cprogback_land.png file in your Windows directory you will see that the dimensions are 293x240.
My_Immortal said:
If you open the original cprogback_land.png file in your Windows directory you will see that the dimensions are 293x240.
Click to expand...
Click to collapse
Yes. But these dimensions referring to the portrait mode. The one which I refer to is for landscape mode.
In few words, we both are right!
PS: Attached is the "cprogback_land.png" file I use.
Gubbài.
derma said:
In few words, we both are right!
Click to expand...
Click to collapse
Yes, we are!
derma said:
PS: Attached is the "cprogback_land.png" file I use.
Click to expand...
Click to collapse
It is really nice!
Could you please post a green colorscheme here,
because I can't seem to find any good one.
Thank you in advance!
Iris
My_Immortal said:
It is really nice!
Could you please post a green colorscheme here,
because I can't seem to find any good one.
Thank you in advance!
Iris
Click to expand...
Click to collapse
Here I am!
In the attached file you'll find what you asked me. I think I put in it ev'rything you need.
PS: Inside the .zip there's a .txt file, read it.
Gubbài.
derma said:
Here I am!
In the attached file you'll find what you asked me. I think I put in it ev'rything you need.
PS: Inside the .zip there's a .txt file, read it.
Gubbài.
Click to expand...
Click to collapse
Thank you SOOOO much!
You've done a wonderful job!!!
My_Immortal said:
Thank you SOOOO much!
Click to expand...
Click to collapse
Pas de quoi.
PS: I figure out that the "My_Immortal" at Modaco is you. Does the avatar picture you?
When you'll need, I'm here (or nearby).
Stay in sight.
Gubbài.
derma said:
PS: I figure out that the "My_Immortal" at Modaco is you. Does the avatar picture you?
Click to expand...
Click to collapse
Yeap, that's me!
derma said:
When you'll need, I'm here (or nearby).
Click to expand...
Click to collapse
Thanks again, I'll keep you in my "emergency list"!
George
My_Immortal said:
Thanks again, I'll keep you in my "emergency list"!
Click to expand...
Click to collapse
I'm am your E.R.?!
Sounds good! Or not!?
Gubbài.
All the way
@My_Immortal (and anyone is interested)
This is a link where you can download a file which contains a set of color scheme for WM5.
It's not mine and I didn't tested that. But there's no danger! It couldn't be a malicious thing.
It's posted on Qusers.com .
Enjoy!
Gubbài.
derma said:
I'm am your E.R.?!
Sounds good! Or not!?
Gubbài.
Click to expand...
Click to collapse
That's a good thing, why would you think that it's not?
Thank you for the info on the colorschemes, I will try them and report!
My_Immortal said:
That's a good thing, why would you think that it's not?
Thank you for the info on the colorschemes, I will try them and report!
Click to expand...
Click to collapse
I won't evermore be the rescuer of a woman, I did it yet and I have to be E.R. for myself. So...
I'm (in some way!) joking.
Where do you live in Greece?
Gubbài.
derma said:
Where do you live in Greece?
Click to expand...
Click to collapse
Athens!
I've often dream to make a long long journey through Greece to see what Alexander the Great saw when leaved his Pella. Smelling the air of the Thermopylis and the raging ruins of Messana and... many many other places, so many that all the servers of the so much glorified and used World Wide Web cannot list, and never might.
PS: It's really a pity that History and your country ignores each other. "The Ancient Romans conquered Greece with force but Greece conquered them with its philosophy" (maybe you heard this sentence before: it's sad, in many senses).
Gubbài.
Hi .. bro
How to disable hd2 bootup sound in new rom 1.66
thank you...
Please change the terrible title of this thread to something appropriate. When you edit, you need to "go advanced".
Attached is a cab that removes the hideous HTC bootup sound
Thanks to Shawn_230 for the original version that I simply modified with a streamlined wave file.
thanks a lot for this helpful file
can we make it with CeRegEditor ?
Yes, but it leaves the wav file on the device, which takes up space. Just use the cab, or delete the file.
oki john !
thx
johncmolyneux said:
Yes, but it leaves the wav file on the device, which takes up space. Just use the cab, or delete the file.
Click to expand...
Click to collapse
hmm where abouts is the wav file located? might try changing it instead of removing.
in windows HTC-QuietlyBrilliantBoot
cant seem to delete it as its in rom memory there goes my dream of having the transformers sound play on start up lol
paulking said:
cant seem to delete it as its in rom memory there goes my dream of having the transformers sound play on start up lol
Click to expand...
Click to collapse
Interesting.
You could always set the registry value to that of a file that you do want to play at startup. That should do the trick.
HKLM\Software\HTC\HTCAnimation\StartupWav
Let us know how you get on
johncmolyneux said:
Interesting.
You could always set the registry value to that of a file that you do want to play at startup. That should do the trick.
HKLM\Software\HTC\HTCAnimation\StartupWav
Let us know how you get on
Click to expand...
Click to collapse
will have a go now
paulking said:
will have a go now
Click to expand...
Click to collapse
Just a word of advice... You'll need quotes around the filename, if it has any spaces in it, or it won't work.
\Storage card\StartupSound.wav will read as \Storage and stop at the space.
You'd need "\Storage card\StartupSound.wav"
johncmolyneux said:
Just a word of advice... You'll need quotes around the filename, if it has any spaces in it, or it won't work.
\Storage card\StartupSound.wav will read as \Storage and stop at the space.
You'd need "\Storage card\StartupSound.wav"
Click to expand...
Click to collapse
no luck so far but i missed out the first \ so maybe thats the reason lol
edit nah still not working...maybe it has to be under a certain timelimit (the transform sound is 6 seconds...)
paulking said:
no luck so far but i missed out the first \ so maybe thats the reason lol
edit nah still not working...maybe it has to be under a certain timelimit (the transform sound is 6 seconds...)
Click to expand...
Click to collapse
It probably does. And I'd imagine it probably has to be the correct format of wav file (sample rate, bit depth, channels).
Can you post the original one here for me? I've deleted it with my cab, so I can't have a look at it. Actually, can you do that and the transformers sound you want to use?
ok i've managed to change the .gif on startup
cant seem to get the original sound off my device
edit http://www.moviesoundclips.net/sound.php?id=111
thats the transformers sound clip (its 7th from the bottom.)
paulking said:
ok i've managed to change the .gif on startup
cant seem to get the original sound off my device
edit http://www.moviesoundclips.net/sound.php?id=111
thats the transformers sound clip (its 7th from the bottom.)
Click to expand...
Click to collapse
Ah don't worry about it. It was just a thought. It would be nice to be able to implement some kind of software changer for this new "feature" they've added. I don't think it's that wise though since the thing stutters anyway!
Sorry mate. I've had a play about and can get wav files to play at startup, but they all sound really bad. The stutter in playback makes all of them useless, and you need to leave a gap at the beginning or it misses the first part of the sound, and it just stops abruptly so you've only got a set amount of time for anything to play.
The whole bootup sound thing just isn't working right. It's not worth persuing until HTC sort it (if they bother).
I've attached the transformers sound you linked, so you can try it yourself, but I doubt you'll like the result.
Thank you..
Transformer sound bite, they missed the best one:
"Hey! That Hurt!"
"It's supposed to hurt! It's an ass kicking!"
To save me searching through the device does anyone know which sound to replace with silence to get rid of the new startup sound in new roms?
or even a reg tweak to disable it?
thanks in advance!
someone has got a cab here for it - best search as you'll only be told to do it anyway...
EddyOS said:
someone has got a cab here for it - best search as you'll only be told to do it anyway...
Click to expand...
Click to collapse
i always search before posting...
couldnt find anything mentioned... any idea which thread it may have been posted in? one of the tips ones or maybe one about the new 1.66 rom?
found the reg key:
HKLM\Software\HTC\HTCAnimation\StartupWav
doh... dont know why i didnt look there in the first place!
well hopefully this thread will help others searching for this
Here you go matey...
http://forum.xda-developers.com/showthread.php?t=622234
johncmolyneux said:
Here you go matey...
http://forum.xda-developers.com/showthread.php?t=622234
Click to expand...
Click to collapse
Cheers John.
I prefer not to use cabs though as i like to know exactly what i am doing when tweaking and would prefer not to decompile the cab to see exactly wtf is going on!
I take it that cab replaces the wav file all together?
If you didnt want to do this you can simply go to:
HKLM\Software\HTC\HTCAnimation\StartupWav
and edit the name of the wav file in that key ( i added a character to its file name so it would be easy to change back if needed.)
was just looking for your post! does it work properly? the stuttering tone at the mo is a tad annoying!!
EddyOS said:
was just looking for your post! does it work properly? the stuttering tone at the mo is a tad annoying!!
Click to expand...
Click to collapse
Yeah, tell me about it! What's the point of putting a startup sound if it stutters? It makes the whole device look cheap right from its first powerup.
All my cab does is replace the wav file with a tiny silent one, therefore saving precious ROM space. It works fine for me, and I've not had any complaints so far.
Where is startup tone located?
Hi
Could someone tell me which folder the startup tone is located? I wanted to replace it with my own wav.
Thanks
Audio Oblivion said:
Cheers John.
I prefer not to use cabs though as i like to know exactly what i am doing when tweaking and would prefer not to decompile the cab to see exactly wtf is going on!
I take it that cab replaces the wav file all together?
If you didnt want to do this you can simply go to:
HKLM\Software\HTC\HTCAnimation\StartupWav
and edit the name of the wav file in that key ( i added a character to its file name so it would be easy to change back if needed.)
Click to expand...
Click to collapse
The edit of the name is how I did it and it works fine.
is there a way to edit a .mp3 file in WM? i haven't used WM in a while and i know that i have edited a.mp3 album name b4 i just forgot how to.
I would like to know this as well cause I'm trying to find a way to make ringtones.
zellbz said:
is there a way to edit a .mp3 file in WM? i haven't used WM in a while and i know that i have edited a.mp3 album name b4 i just forgot how to.
Click to expand...
Click to collapse
jayvo said:
I would like to know this as well cause I'm trying to find a way to make ringtones.
Click to expand...
Click to collapse
MP3 Trimmer, try searching it
zellbz said:
is there a way to edit a .mp3 file in WM? i haven't used WM in a while and i know that i have edited a.mp3 album name b4 i just forgot how to.
Click to expand...
Click to collapse
jayvo said:
I would like to know this as well cause I'm trying to find a way to make ringtones.
Click to expand...
Click to collapse
I think maybe you two are talking about different things here:
zellbz, you want to edit the ID3 tags on the mp3's, so the correct info shows for album, artist, etc, right? If so, then THIS is the only one I've found. It's a playlist maker, but it also has the ability to edit ID3 v1.1 tags, can't do v2 yet.
jayvo, it sounds like you want to trim MP3's so you can use them that way, yes? If so you can try the attached cab...I know it works on the TP2 and many other recent HTC winmo phones, you're welcome to give it a try on your HD2
yes i want to change the id3, if you where trying to post a link it didn'twork so can you do it again or tell me the name of the .cab.
zellbz said:
yes i want to change the id3, if you where trying to post a link it didn'twork so can you do it again or tell me the name of the .cab.
Click to expand...
Click to collapse
OOPS! Ok, yeah, that's the sign it's time for bed
Here you go:
http://www.cs.pitt.edu/~jmisurda/ppc/playlist/playlist_ed.htm
sirphunkee said:
OOPS! Ok, yeah, that's the sign it's time for bed
Here you go:
http://www.cs.pitt.edu/~jmisurda/ppc/playlist/playlist_ed.htm
Click to expand...
Click to collapse
Thanx. This works great.