Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development


Reply
 
Share Thread Tools Display Modes
Old 11-26-2007, 08:49 AM   #121
Maximum Bitrate
 
bes51659's Avatar
 
Join Date: Sep 2005
Location: Stockholm, Sweden
Posts: 656
bes51659 is on a distinguished road
Plenty of work to do P?
Well, it gives me good hope to know that -eA works!
BR. B-O
bes51659 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 11-26-2007, 10:06 AM   #122
Newbie
 
Join Date: Feb 2007
Location: Nr Aylesbury, UK
Posts: 28
Aspectcarl is an unknown quantity at this point
Right, having popped out to PCWorld and picked myself up an external USB SB Live box I've noticed my amplifier has a couple of small problems. They are not related to this thread so I shall post them on the hardware thread.

Carl
Aspectcarl is offline   Reply With Quote
Old 11-27-2007, 05:44 AM   #123
Newbie
 
Join Date: Feb 2007
Location: Nr Aylesbury, UK
Posts: 28
Aspectcarl is an unknown quantity at this point
-eA input and volume selection

Luc,

I maybe asking alot of you here so please be direct what I could do with initially to get -eA working is a method of selecting the desired input (i.e. CD input) and adjusting the amp volume independent of CPCTuner that can be controlled via RR.

Is that something you could do please?

Edited to add: It just occurred to me that RR needs to know to talk to the -eA and not the sound card I'm not sure if this is doable?

Carl

Last edited by Aspectcarl; 11-27-2007 at 06:02 AM.
Aspectcarl is offline   Reply With Quote
Old 11-28-2007, 06:50 AM   #124
Variable Bitrate
 
Join Date: Apr 2006
Location: Sydney, Australia
Posts: 374
Kosti is on a distinguished road
Damn I just bought the HQCT -e hope the detection issue is easy to solved as I should have it by next week.
__________________
Parts list - in AUD$
Lilliput 629 $270 | Hitachi 5400RPM 80G $92 | PIO DVR-K05 slot $95 | AYAY SIR Quad port GPS $160 | DSATX 220W PSU $205 | Mechatroniks Bezel $186 | Kino-9453 MB $380 | A-Data DDR2 667 2Gig $140 | 2 X CCD Cameras $180 | HQCT -e $140 |
Kosti is offline   Reply With Quote
Old 11-28-2007, 04:49 PM   #125
Constant Bitrate
 
Putput's Avatar
 
Join Date: Sep 2005
Location: Belgium
Posts: 181
Putput is on a distinguished road
Quote: Originally Posted by Aspectcarl View Post
Luc,

I maybe asking alot of you here so please be direct what I could do with initially to get -eA working is a method of selecting the desired input (i.e. CD input) and adjusting the amp volume independent of CPCTuner that can be controlled via RR.

Is that something you could do please?

Edited to add: It just occurred to me that RR needs to know to talk to the -eA and not the sound card I'm not sure if this is doable?

Carl

How direct would you want me to be as I saw just a minute ago that you ordered a Silabs USB dongle?
Don't worry, I'm not gonna blame you for anything. I also have a Silabs radio but never used it in my car, tests indoors proved to me that I could save myself the trouble of soldering a coax to the thing. Now you can also compare HQCT with Silabs in a while and you can draw your own conclusions then.
The interface part in CPCTuner is changed on PaulKaye's request, he's building a plugin for RR to use for all HQCT functions including switching audio sources, full sound control like volume, bass, treble, balance and fader change and more. Only thing is that it's been a while since we had contact, I need to send hime an email to see how he's doing and if he made any progress lately. I still need to do some testing/debugging on the subject, the code is already implemented but is not stable yet.

Regards,
Luc
Putput is offline   Reply With Quote
Old 11-28-2007, 04:55 PM   #126
Constant Bitrate
 
Putput's Avatar
 
Join Date: Sep 2005
Location: Belgium
Posts: 181
Putput is on a distinguished road
Quote: Originally Posted by bes51659 View Post
Plenty of work to do P?
Well, it gives me good hope to know that -eA works!
BR. B-O

Doing my best to get things going but I had a total of 30 minutes to spent on my pc this weekend
Don't give it up yet!

CU,
Putput
Putput is offline   Reply With Quote
Old 11-28-2007, 05:15 PM   #127
Maximum Bitrate
 
bes51659's Avatar
 
Join Date: Sep 2005
Location: Stockholm, Sweden
Posts: 656
bes51659 is on a distinguished road
Give up?!!!!
I bought the first parts for my carputer on ebay two years ago and my car is getting older by the decade :-)
bes51659 is offline   Reply With Quote
Old 11-28-2007, 06:11 PM   #128
Newbie
 
Join Date: Feb 2007
Location: Nr Aylesbury, UK
Posts: 28
Aspectcarl is an unknown quantity at this point
Quote: Originally Posted by Putput View Post
How direct would you want me to be as I saw just a minute ago that you ordered a Silabs USB dongle?
Don't worry, I'm not gonna blame you for anything. I also have a Silabs radio but never used it in my car, tests indoors proved to me that I could save myself the trouble of soldering a coax to the thing. Now you can also compare HQCT with Silabs in a while and you can draw your own conclusions then.
The interface part in CPCTuner is changed on PaulKaye's request, he's building a plugin for RR to use for all HQCT functions including switching audio sources, full sound control like volume, bass, treble, balance and fader change and more. Only thing is that it's been a while since we had contact, I need to send hime an email to see how he's doing and if he made any progress lately. I still need to do some testing/debugging on the subject, the code is already implemented but is not stable yet.

Regards,
Luc

Heh

I plumped for the Silabs cos I'm driving around 2,500KM per month with no audio and only my only company and it's driving me bonkers.

It'd be great to get the HQCT running at some point seeing what it cost me and it's size and packaging is great which means it's easier to tuck away!

I tested my mac and external SB Live hooked up to my Genesis amp and was very happy with the result, no noise at all. Just some weird noise from the SB Live until the drivers load. The genesis amp doesn't fit in the small spaces that the HQCT can tho.

Be great to see some software support for the -eA soon

Carl
Aspectcarl is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 11-28-2007, 07:08 PM   #129
Variable Bitrate
 
Join Date: Apr 2006
Location: Sydney, Australia
Posts: 374
Kosti is on a distinguished road
Quote: Originally Posted by bes51659 View Post
Give up?!!!!
I bought the first parts for my carputer on ebay two years ago and my car is getting older by the decade :-)


I'm laughing cause my car PC has taken 2 years to build too
__________________
Parts list - in AUD$
Lilliput 629 $270 | Hitachi 5400RPM 80G $92 | PIO DVR-K05 slot $95 | AYAY SIR Quad port GPS $160 | DSATX 220W PSU $205 | Mechatroniks Bezel $186 | Kino-9453 MB $380 | A-Data DDR2 667 2Gig $140 | 2 X CCD Cameras $180 | HQCT -e $140 |
Kosti is offline   Reply With Quote
Old 11-29-2007, 04:58 AM   #130
Constant Bitrate
 
Putput's Avatar
 
Join Date: Sep 2005
Location: Belgium
Posts: 181
Putput is on a distinguished road
Quote: Originally Posted by Aspectcarl View Post
Heh

I plumped for the Silabs cos I'm driving around 2,500KM per month with no audio and only my only company and it's driving me bonkers.

Carl

Understand what you're problem is, I'll see what I can do to get the -eA and RR back on track again and to put radio in your car. My second problem (apart from a shortage of time) is that since I changed jobs I also have a new (company) car with no car-PC installed, this is why I also need to do a completely new build. This means that I have radio (pre-installed) in my car but no PC. We need to organize a poll to see what is worst .

And about my first install it wasn't even finished before I had to take it out of the car. But this gives me the opportunity to start again, avoiding all the mistakes I made in the first install.

Cheers,
Luc
Putput is offline   Reply With Quote
Old 11-29-2007, 11:58 AM   #131
Newbie
 
Join Date: Feb 2007
Location: Nr Aylesbury, UK
Posts: 28
Aspectcarl is an unknown quantity at this point
The Silabs stick is nice and cheap and I can use it in the house when the -eA is working, the plan was to sell the Genesis 4 channel amp once I was happy with the -eA's performance as well.
Aspectcarl is offline   Reply With Quote
Old 11-29-2007, 05:05 PM   #132
Constant Bitrate
 
Putput's Avatar
 
Join Date: Sep 2005
Location: Belgium
Posts: 181
Putput is on a distinguished road
Decription of RR interface in latest build:

Hello,

Here's the code from CPCTuner that handles the RR interface commands:
Code:
// RR_V holds value after ';' when the command is numeric // RR_C holds RR command // RR_C1 holds value after ';' when the command is alfa-numeric // HQCTuner is the HQCT object // SendToRR is a function that sends data to RR case RRCommand of tune : begin // Check if we have to switch between AM/FM for new frequency if (RR_V < 6700) then begin // New AM freq from rr if HQCTuner.FMBand then HQCTuner.FMBand := false; if RR_V <> HQCTuner.FrequencyAM then HQCTuner.FrequencyAM := RR_V; end; if (RR_V >= 6700) then begin if not HQCTuner.FMBand then HQCTuner.FMBand := true; if RR_V <> HQCTuner.FrequencyFM then HQCTuner.FrequencyFM := RR_V; end; end; seekup : HQCTuner.ScanStations(ScanUp, false); seekdn : HQCTuner.ScanStations(ScanDown, false); mute : HQCTuner.Mute := not HQCTuner.Mute; step : HQCTuner.FMStepOffset := RR_V; source : begin case TRRSource(ansiindextext(RR_C, RRSource)) of // TunerSrc, CDSrc, PhoneSrc, NaviSrc radio : HQCTuner.SoundSource := TunerSrc; aux1 : HQCTuner.SoundSource := CDSrc; aux2 : HQCTuner.SoundSource := AUXSrc; nav : HQCTuner.SoundSource := NaviSrc; phone : HQCTuner.SoundSource := PhoneSrc; else end; end; setvol : HQCTuner.Volume := RR_V; setbass : HQCTuner.Bass := RR_V; settreble : HQCTuner.Treble := RR_V; setmute : if (RR_V > 0) then HQCTuner.Mute := true else HQCTuner.Mute := false; switchinput : begin if copy(w_s, Pos(';', w_s) + 1, 2) = 'on' then begin // Save current source CurrentSource := HQCTuner.SoundSource; // switch to new source if LeftStr(w_s, 3) = 'dio' then HQCTuner.SoundSource := TunerSrc else if LeftStr(w_s, 3) = 'ux1' then HQCTuner.SoundSource := CDSrc else if LeftStr(w_s, 3) = 'ux2' then HQCTuner.SoundSource := AUXSrc else if LeftStr(w_s, 3) = 'nav' then HQCTuner.SoundSource := NaviSrc else if LeftStr(w_s, 3) = 'one' then HQCTuner.SoundSource := PhoneSrc; end else // switch to previous source HQCTuner.SoundSource := CurrentSource; end; rvol : SendToRR('rvol;' + IntToStr(HQCTuner.Volume)); rtreble : SendToRR('rtreble;' + IntToStr(HQCTuner.Treble)); rbass : SendToRR('rbass;' + IntToStr(HQCTuner.Bass)); else end;

It's possible to control the following CPCTuner functions:
- switch (frequency AM/FM)
- seek (a station up)
- seek (a station down)
- mute (toggles)
- step (step is used when CPCTuner starts seek, be carefull, no value check yet, use 10 for 0.1Mhz in FM; 20 for 0.2Mhz)
- source (switch between audio sources)
- setvol (change volume between 0 and 68)
- settreble (change treble between 0 and 7)
- setbass (change bass between 0 and 7)
- setmute (0=unmute, 1=mute)
- switchinput (switch between audio sources, special)
- rvol (read current volume)
- rtreble (read current treble)
- rbass (read current bass)

A lot of these functions are specified more in detail in this post from PaulKaye.

So if you need to change the volume in the -eA version, use the setvol command with a value between 0 and 68, or the source command to change between radio/CD/phone ... So all you have to do is add a slider or button to RR and send the correct message.

Have fun!
Putput is offline   Reply With Quote
Old 11-30-2007, 01:57 PM   #133
Newbie
 
Join Date: Feb 2007
Location: Nr Aylesbury, UK
Posts: 28
Aspectcarl is an unknown quantity at this point
Luc,

I'm very new to RR, are you saying that a suitably modified RR skin is ready to control the -eA via CPCTuner?

All the tuner functions worked, but I couldn't swap sources nor control volumes or tone.

Cheers

Carl
Aspectcarl is offline   Reply With Quote
Old 11-30-2007, 03:07 PM   #134
Maximum Bitrate
 
bes51659's Avatar
 
Join Date: Sep 2005
Location: Stockholm, Sweden
Posts: 656
bes51659 is on a distinguished road
Hi Luc!

I downloaded the new 1.1.1.50. Small change in log file. http://web.comhem.se/bengt-olof.swing/20071130Log.txt

I also tried the new dll and runned it with vb example. I did <start>, end then pressed <FM>.



Do you get any clues from this?

Cheers, B-O

Ps.
One little ide. If the logfile contains version info there will be no question what sw that was acctually run at the time.
Ds.
bes51659 is offline   Reply With Quote
Old 11-30-2007, 05:06 PM   #135
Constant Bitrate
 
Putput's Avatar
 
Join Date: Sep 2005
Location: Belgium
Posts: 181
Putput is on a distinguished road
Quote: Originally Posted by Aspectcarl View Post
Luc,

I'm very new to RR, are you saying that a suitably modified RR skin is ready to control the -eA via CPCTuner?
Carl

Yes, I modified the interface (Windows messages) so that the -eA version can be controlled via RR. Of course RR needs to be modified for this. The description of the messages can be found in my previous post. I also have a little test program I use (see attachment), its very simple. Start the test program, then start CPCTuner and you can control CPCTuner by typing messages in the text box and push enter or the Send button. The listbox shows messages that are sent to RR. You can use this tool to help test the commands that need to be send to CPCTuner.

Quote: Originally Posted by Aspectcarl View Post
Luc,

All the tuner functions worked, but I couldn't swap sources nor control volumes or tone.

Carl

You mean via RR then? This is normal, RR doens't send the right commands yet to CPCTuner to change volume, source and or tone.

I will send an email to PaulKaye tomorrow and ask him if he has made any progress on his -eA interface for RR. After all he asked me to change the interface.

Success!
Attached Files
File Type: zip RR_Tester.zip (203.1 KB, 16 views)
Putput is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CarPal Bluetooth Module & Digimoto Software....A Very Good Combo.. jmciver Engine Management, OBD-II, Engine Diagnostics, etc. 6 06-16-2006 05:08 PM
Sony Vaio PCV-RX670 w/Sony 15" flat panel thousands of $ worth of software, mint clean customs Classified Archive 2 11-15-2005 02:38 PM
MSDXM.OCX - Why oh why don't you fix that NOW?! Zippy1970 Media Engine 18 02-28-2005 05:36 PM
Software solution for gLCD-based car-mp3 Novgorod Software & Software Development 1 07-01-2004 08:59 PM
My numpad controlled custom MP3Car software - need your opinions PorscheMP3 Software & Software Development 7 04-11-2002 11:30 AM



All times are GMT -5. The time now is 04:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics