The MP3car.com Store  

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.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Centrafuse > CF Plugins

Reply
 
Thread Tools Display Modes
Old 08-14-2006, 04:32 PM   #1
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
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.
stric is offline   Reply With Quote
Sponsored Links
Old 08-14-2006, 09:05 PM   #2
Raw Wave
 
justintime's Avatar
 
Join Date: Apr 2005
Vehicle: 2002 Honda CR-V
Posts: 2,699
My Photos: (0)
stric: good job. Are you taking requests for other plugins? I have a few simple ones in mind.
__________________
2002 Honda CR-V
Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
Spent so far: $1105.90


Download the NEXUS Skin for Centrafuse
...or even Listen to my music
justintime is offline   Reply With Quote
Old 08-15-2006, 02:51 AM   #3
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
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...
stric is offline   Reply With Quote
Old 08-15-2006, 06:35 AM   #4
Raw Wave
 
justintime's Avatar
 
Join Date: Apr 2005
Vehicle: 2002 Honda CR-V
Posts: 2,699
My Photos: (0)
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
__________________
2002 Honda CR-V
Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
Spent so far: $1105.90


Download the NEXUS Skin for Centrafuse
...or even Listen to my music
justintime is offline   Reply With Quote
Old 08-19-2006, 06:28 PM   #5
Lum
Variable Bitrate
 
Lum's Avatar
 
Join Date: Jan 2005
Location: Liverpool, England
Vehicle: 1999 JDM Subaru Legacy B4 RSK
Posts: 334
My Photos: (0)
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
Lum is offline   Reply With Quote
Old 08-20-2006, 03:22 AM   #6
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
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.
stric is offline   Reply With Quote
Old 08-20-2006, 01:43 PM   #7
MySQL Error
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 4,946
My Photos: (0)
Quote: Originally Posted by stric View Post
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
veetid is offline   Reply With Quote
Old 08-20-2006, 04:22 PM   #8
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
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)
stric is offline   Reply With Quote
Old 08-20-2006, 06:57 PM   #9
MySQL Error
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 4,946
My Photos: (0)
Quote: Originally Posted by stric View Post
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
veetid is offline   Reply With Quote
Old 08-21-2006, 04:34 AM   #10
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
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
stric is offline   Reply With Quote
Sponsored Links
Old 10-24-2006, 05:02 PM   #11
Variable Bitrate
fatejd's CarPC Specs
 
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: 2006 Mazda 3 5-door
Posts: 296
My Photos: (0)
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%]
fatejd is offline   Reply With Quote
Old 10-24-2006, 07:13 PM   #12
Lum
Variable Bitrate
 
Lum's Avatar
 
Join Date: Jan 2005
Location: Liverpool, England
Vehicle: 1999 JDM Subaru Legacy B4 RSK
Posts: 334
My Photos: (0)
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.
Lum is offline   Reply With Quote
Old 10-25-2006, 03:45 PM   #13
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
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...
stric is offline   Reply With Quote
Old 02-04-2007, 03:44 PM   #14
Maximum Bitrate
 
Join Date: Jul 2006
Posts: 611
My Photos: (5)
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
hari-bhari is offline   Reply With Quote
Old 02-04-2007, 04:11 PM   #15
Variable Bitrate
 
Join Date: Sep 2004
Location: Slovenia (EU)
Posts: 313
My Photos: (0)
Hi hari-bhari,
I agree with you that the way it works right now it is not very good. I will redesign it ASAP.
stric is offline   Reply With Quote
Sponsored Links
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Survey: Startup times and methods gnomad General MP3Car Discussion 56 01-02-2007 11:55 AM
auto volume control Phythorian Road Runner 27 07-22-2005 05:36 PM
winamp auto volume? boostedGT-S Road Runner 3 07-12-2005 08:00 PM
Problem: Master Volume at 100% at startup digitboy74 Road Runner 3 05-03-2005 02:24 PM
Safe Volume at Startup Feature shakes MediaCar 0 04-15-2004 09:55 PM


All times are GMT -5. The time now is 03:13 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics