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 > StreetDeck > DigitalMods (Scripts / API)

Reply
 
Thread Tools Display Modes
Old 10-04-2007, 04:31 AM   #1
Low Bitrate
aeroanderz's CarPC Specs
 
Join Date: Sep 2005
Location: Sweden (South)
Vehicle: '02 Saab 95 SC Aero
Posts: 110
My Photos: (0)
HQCT Control/Media Manager

Mission:
HQCT Control from Streetdeck (c# .NET addin)

Reason:
Radio support in StreetDeck is almost nonexistant. For me, Radio will be THE most used feature. I want a full featured radio (The HQCT) and full support in StreetDeck for it.

Hookup:
Audio from PC to CD Input on HQCT to be able to use the excellent vol/treble/bass/loudness/balance/fader functions of the HQCT. 4-channel audio from HQCT to stock amp/speakers.
(This seems to be a very rare hookup, but the plugin should also work for other hookups)

Done so far:
Media Manager for the HQCT Radio exits.
Mixer settings module for controlling the functions above (vol/tre/bass/loud/bal/fad)
Source Mixing module for controlling how to mix in the audio of NAV input and BEEPs (might need some graphical rework)
Tray Overlay for the Media Manager (display RDS tite, band, stereo, AF, TMC etc..) 90% done (Dynamic Label/Image issue)

Todo:
Media Control Overlay (10% done)
Extended Overlay (10% done)
Connect all buttons and functions to a HQCT controlling interface (easy, dlls exist and I also have my own HQCT code, but..)

Problems:
Is it possible to rise events in c# like MediaChanged etc. to mimic the overlays when music files change? (With a solid Java background I can get this to work in Java but not in C#..)

StreetDeck issues/problems:
Unable to modify/poke/update skin items (panels, buttons, lables) created in StreetDeck Dev Env from a .Net Addin (will essentially make the plugin unskinnable..)
Like others have stated, it is not possible to use the controls that exist in StreetDeck for a .Net app..
The Dev Env is SO buggy. Now, it refuses to update my skin files.. for some reason. Save message is (ERROR: The skin files were saved successfully... !?)
How do I make an INVISIBLE button of custom size? Which skin class do I use?
How Do one create Dynamic Lables / Dynamic Images? How do one set the type of these? (as selectable in the Dev Env)


As most addin developers, 90% of the work is struggling with the streetdeck API and the graphical components interface in particular, but at a quick glance, StreetDeck is the nicest Front End out there. Don't get me wrong, I woldn't spend this much time and effort into a product in which I don not believe.. StreetDeck has the possibility of being GREAT if we could just give it a hand in the right direction. The market plans for StreetDeck does not seem to prioritize the "DIY" way, but rather "buy this whole kit and connect a cable and it works". We need some of the old chuck back.. Keep up the good work!

I know that official support for creating Addins is VERY limited, but I will happily receive tips, comments, solutions from any person.

If putput reads this, an expansion of the HQCT dll may convince me to use it from my code, separating HQCT code from Front End code. (a la FMode style..)

Screens:

Tray


ControlOverlay


ExtendedControlOverlay


RadioModule


MixerModule


SourceMixing


/anders

Last edited by aeroanderz : 10-04-2007 at 04:42 AM.
aeroanderz is offline   Reply With Quote
Sponsored Links
Old 10-04-2007, 07:49 AM   #2
cheap custom title
JC-S60's CarPC Specs
 
JC-S60's Avatar
 
Join Date: Mar 2004
Location: Ghent - Belgium
Vehicle: 01 Renault Espace BiFuel | Mitsubishi Canter | BMW R1200GS Adventure | Yamaha YZF600R | Honda CB650
Posts: 1,856
My Photos: (0)
Hi Aero,

Great work you're doing there!

What do you mean about the DLL? Maybe I can be of some help interfacing between your demands and Luc (PutPut), as I still own him a dinner

Regards,
Joachim
JC-S60 is offline   Reply With Quote
Old 10-04-2007, 08:52 AM   #3
Low Bitrate
aeroanderz's CarPC Specs
 
Join Date: Sep 2005
Location: Sweden (South)
Vehicle: '02 Saab 95 SC Aero
Posts: 110
My Photos: (0)
The DLL list from putput's page:
Code:
* The following parameters can be set to the HQCT module: o HQCT on/off o Mute on/off o Set HQCT AM or FM frequency o AM/FM switching o Frequency step up/down o Set scan sensitivity o Frequency scan next station up/down o Select sound source (Tuner, CD, Phone, Navigation) o Set HQCT output volume o Set HQCT bass level o Set HQCT treble level o Set HQCT loudness level * The following parameters can be obtained from the HQCT module: o RDS station name o RDS text o Actual FM frequency o Actual AM frequency o Stereo o Mute o Scan sensitivity o Reception level o Actual sound source o Actual band (AM/FM)

On the top of my head I miss:

Set:
  1. Setting Vol/Tre/Bas/Loud/Fad/Bal should be in interval 0 to 100 %.
  2. Set Balance
  3. Set Fader
  4. SourceMixing (How to mix in Nav input and Beeps)
  5. Beep support (generate beeps Hz + time)
  6. Enable/Disable TP (Traffic Program)
  7. Enable/Disable EON
  8. Enable/disable AF
  9. Allow only local AF switching (opposed to regional+local)
  10. character table support for radiotext (as in RDS Spec) (I have code for swedish support)

Receive:
  • AF Status (on/off)
  • EON status (on/off)
  • TA (active traffic announcment) (this includes switching to the station sending in case of EON)
  • Nav input indication
  • Phone Input indication

How is radio muted? By disabling audio processing?
These are functions I currently use every day in my "stock" radio (Blaupunkt)

So my Idea is that if the HQCT dll handles all frequency switching etc depending on the settings above, all that the frontends need to do is send frequencies to the HQCT as presets are selected or sending tune up/down command when seeking.

Oh, have I mentioned that I just love the HQCT. It's been entertaining me at work for over a year now.. most expensive desk radio ever.. everyone is instantly impressed!

If we can have all the above and If my media Manager can be completed, It will be unbeatable... If I could just get some help or support for generating streetdeck media events in my .net app, tuning to new frequencies will be SOOOOOO cool.. Just like switching songs in music manager...

Functions from my own code: (sorry about the colors, but..)


main


rds details


signal processor

Last edited by aeroanderz : 10-04-2007 at 10:12 AM.
aeroanderz is offline   Reply With Quote
Old 10-04-2007, 10:56 AM   #4
cheap custom title
JC-S60's CarPC Specs
 
JC-S60's Avatar
 
Join Date: Mar 2004
Location: Ghent - Belgium
Vehicle: 01 Renault Espace BiFuel | Mitsubishi Canter | BMW R1200GS Adventure | Yamaha YZF600R | Honda CB650
Posts: 1,856
My Photos: (0)
Ok, now I understand better

Quote:
1. Set Balance
2. Set Fader
4. Beep support (generate beeps Hz + time)

Should be easy to add that to the DLL (not sure about the beep frequency)...

Quote:
3. SourceMixing

Mixing is only possible with the nav-input, so you should connect your pc-output to the cd-input AND one channel to the nav-input (because it's mono, but outputs to all channels). Should be fairly easy to add that one to the dll too.

Quote:
5. Enable/Disable TP (Traffic Program)
6. Enable/Disable EON
7. Enable/disable AF
8. Allow only local AF switching (opposed to regional+local)
9. character table support for radiotext (as in RDS Spec) (I have code for swedish support)

Receive:

* AF Status (on/off)
* EON status (on/off)
* TA (active traffic announcment) (this includes switching to the station sending in case of EON)
* Nav input indication
* Phone Input indication

A lot of the RDS stuff is already being tested by Luc, I'll ask him how soon it's ready to go public.

Quote:
How is radio muted? By disabling audio processing?

Don't know what method is used by the dll, I'll ask Luc to contact you to handle all dll issues further...

Joachim
JC-S60 is offline   Reply With Quote
Old 10-05-2007, 01:42 AM   #5
Low Bitrate
aeroanderz's CarPC Specs
 
Join Date: Sep 2005
Location: Sweden (South)
Vehicle: '02 Saab 95 SC Aero
Posts: 110
My Photos: (0)
Quote: Originally Posted by JC-S60 View Post
(not sure about the beep frequency)...

It's just bits representing a frequency in the control message... no problem for Luc I would guess.. I think I tried it once as well..


Quote: Originally Posted by JC-S60 View Post
Mixing is only possible with the nav-input, so you should connect your pc-output to the cd-input AND one channel to the nav-input (because it's mono, but outputs to all channels). Should be fairly easy to add that one to the dll too.

The only problem is that one needs to indicate that there is action on the nav-input by pulling up or down a nav active input... NOT so easy without extra hardware.. :/

Quote: Originally Posted by JC-S60 View Post
A lot of the RDS stuff is already being tested by Luc, I'll ask him how soon it's ready to go public.

Sounds wonderful!

Luc seems to be quite busy these days, but I think that the driver is an excellent startingpoint for creating good frintend integration.

Thanks Joachim!
aeroanderz is offline   Reply With Quote
Old 10-05-2007, 11:52 AM   #6
_
RedGTiVR6's CarPC Specs
 
Join Date: Mar 2004
Location: Little Elm, Texas
Vehicle: VW GTi VR6 / Ducati 900 SS & S4R / Dakota R/T Supercharged
Posts: 13,288
My Photos: (90)
I'm not sure if you've seen this thread yet, but once you have this digital mod completed, would you mind following this thread: http://www.mp3car.com/vbulletin/digi...tml#post981860

Thanks!
__________________
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

PLEASE do NOT PM/Email/IM me asking me to spoon feed you. Please post on the forums! Chances are, someone else has or will have the same questions.
RedGTiVR6 is offline   Reply With Quote
Old 10-10-2007, 08:14 AM   #7
Low Bitrate
aeroanderz's CarPC Specs
 
Join Date: Sep 2005
Location: Sweden (South)
Vehicle: '02 Saab 95 SC Aero
Posts: 110
My Photos: (0)
Quote: Originally Posted by RedGTiVR6 View Post
I'm not sure if you've seen this thread yet, but once you have this digital mod completed, would you mind following this thread: http://www.mp3car.com/vbulletin/digi...tml#post981860

I sure will.

Some updates:
Radio Module is now somewhat more useful. Still need to save settings and presets between runs.



To the streetdeck gurus: It is only possible to define one module as "default" for an addin. Is it possible to have TWO modules from the same addin to show up under digimods? I want one for the RadioManager (RadioModule) and one for the MixerModule (which has nothing to do with Radio, but uses the same code in the same addin...)?
aeroanderz 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
HQCT working with Centrafuse 1.12 tonysch Centrafuse 7 05-24-2007 12:55 PM
hqct issues pwntbypat General Hardware Discussion 0 05-02-2007 06:31 PM
HQCT problems Roadwarrior General Hardware Discussion 2 12-23-2006 06:18 PM
iPod interface for Media Manager mindracing Centrafuse 5 08-29-2005 03:51 PM
ESX Manager 7.3.2 with new features and bug fixes 12Vsystems Software & Software Development 5 08-19-2005 01:35 AM


All times are GMT -5. The time now is 11:16 AM.


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