Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
08-14-2006, 04:32 PM
|
#1
|
|
Variable Bitrate
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
|
Auto volume on startup
Hi, here is an Auto Volume on startup plugin.
It puts volume to preset value on startup. Handy in sleepy mornings 
Last edited by stric : 02-11-2007 at 11:08 AM.
|
|
|
08-14-2006, 09:05 PM
|
#2
|
|
Raw Wave
Join Date: Apr 2005
Vehicle: 2002 Honda CR-V
Posts: 2,699
|
stric: good job. Are you taking requests for other plugins? I have a few simple ones in mind.
|
|
|
08-15-2006, 02:51 AM
|
#3
|
|
Variable Bitrate
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
|
You can tell, but first I must work on Calendar, and maybe scientific version of Calc(not soon). And I have a lot of work for school right now, so...
|
|
|
08-15-2006, 06:35 AM
|
#4
|
|
Raw Wave
Join Date: Apr 2005
Vehicle: 2002 Honda CR-V
Posts: 2,699
|
Would you be willing to take on a slightly larger project? I would provide a ton of help with skins, images, layout, design...
This one: http://www.mp3car.com/vbulletin/showthread.php?t=62630
|
|
|
08-19-2006, 06:28 PM
|
#5
|
|
Variable Bitrate
Join Date: Jan 2005
Location: Liverpool, England
Vehicle: 1999 JDM Subaru Legacy B4 RSK
Posts: 334
|
Does this work on resume from hibernate too?
If so I'll have to get this to solve the full volume on startup issue I've been having
|
|
|
08-20-2006, 03:22 AM
|
#6
|
|
Variable Bitrate
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
|
Hmm, I am not sure cause I am not using hibernate, but I don't think it will work. If you try let me know.
|
|
|
08-20-2006, 01:43 PM
|
#7
|
|
MySQL Error
Join Date: Apr 2004
Posts: 4,946
|
Quote: Originally Posted by stric 
Hmm, I am not sure cause I am not using hibernate, but I don't think it will work. If you try let me know.
This could easily be added to this plugin quickly... You can add an on/off button in settings that says whether to apply on resume from hibernation...
Then there is an easy event for you to add to the plugin that lets you know when Centrafuse is resuming were you can place the exact code you run when the plugin starts...
david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
|
|
|
08-20-2006, 04:22 PM
|
#8
|
|
Variable Bitrate
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
|
David, could you tell me what is called when system is resuming? Or at least give me some directions. (I couldn't find anything useable in SDK help)
|
|
|
08-20-2006, 06:57 PM
|
#9
|
|
MySQL Error
Join Date: Apr 2004
Posts: 4,946
|
Quote: Originally Posted by stric 
David, could you tell me what is called when system is resuming? Or at least give me some directions. (I couldn't find anything useable in SDK help)
It's just one of the CF Events...
Place this in CF_pluginInit():
this.CF_Event_powerModeChanged += new Microsoft.Win32.PowerModeChangedEventHandler(obdii _CF_Event_powerModeChanged);
Then put this function somewhere:
private void volume_CF_Event_powerModeChanged(object sender, Microsoft.Win32.PowerModeChangedEventArgs e)
{
if(e.Mode == Microsoft.Win32.PowerModes.Resume)
{
//run code to adjust volume here
}
}
There are other members of that enumeration such as PowerModes.Standby, etc... So you can do things when it is going down or coming back up...
david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
|
|
|
08-21-2006, 04:34 AM
|
#10
|
|
Variable Bitrate
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
|
Thanks David.
On the link in first post should be new version which has option for setting volume on resume. I think it should work on resuming from Stand by and Hibernate. I have some problems with setting my machine to Standby, so let me know if it is not working.
stric
|
|
|
10-24-2006, 05:02 PM
|
#11
|
|
Variable Bitrate
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: 2006 Mazda 3 5-door
Posts: 296
|
Any chance you could edit this to have an auto volume up on startup? Not sure if it would be too tough to implement, but I would like to have it start at 0 and gradually go up to a certain value after 5 or 10 seconds. I would really like the plugin as it is, but I use my HU's volume, not the software's volume adjustment.
__________________
Carputer Progress:
Re-do fabrication of screen [DONE]
Wood faceplate for computer in glovebox [0%]
|
|
|
10-24-2006, 07:13 PM
|
#12
|
|
Variable Bitrate
Join Date: Jan 2005
Location: Liverpool, England
Vehicle: 1999 JDM Subaru Legacy B4 RSK
Posts: 334
|
I too would like this feature, so long as it worked on resume from hibernate.
If nothing else it would cure the bloody annoying full volume on resume from hibernate bug that I've been complaining about since 1.6
Note: It may have been fixed in RC3 or RC4. I don't know because my car has been stolen.
|
|
|
10-25-2006, 03:45 PM
|
#13
|
|
Variable Bitrate
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
|
I think it should work when resuming from hibernating. Could you try and let me know?
And I am sorry for your car. If there would be something we could do to prevent our cars from being stolen...
|
|
|
02-04-2007, 03:44 PM
|
#14
|
|
Maximum Bitrate
Join Date: Jul 2006
Posts: 611
|
i just downloaded and used this plugin, but the gps volume threw me off a bit. i was hoping for something that would allow you to adjust your volume to whatever level you like, and then if your speed increased or decreased after that, the volume would adjust accordingly. the way it is now basically has fixed volumes based on given speeds. i was thinking to set up 5 thresholds like you have now, 0-10, 10-30, 30-50, 50-70, and 70+. as the gps speed passes through each of these thresholds, you could just do +/- 5 of current volume to have it adjust dynamically. that way, if im at volume 50 going 25mph, then as soon as i cross into 30-50, i'd be at volume 55. if i then choose to turn it up a little more, lets say to volume 60, and then decrease my speed back down to 25mph, my new volume would be 55. the idea is to have the music SOUND just as loud when you speed up by compensating for road noise, and turn down a tad when there is less noise outside. i hope that all makes sense. stric if ud like to send me the relevant code for this in just text format, im pretty sure id be able to manage to edit it properly. i cant edit the entire plugin, because frankly, i have no idea how. but i do have pretty good programming skills in a few languages, so im sure i could figure out the structure and edit accordingly. then you could remerge it. let me know what you think, thanks
|
|
|
02-04-2007, 04:11 PM
|
#15
|
|
Variable Bitrate
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
|
Hi hari-bhari,
I agree with you that the way it works right now it is not very good. I will redesign it ASAP.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:13 PM.
|
|