Page 5 of 16 FirstFirst 123456789101112131415 ... LastLast
Results 41 to 50 of 151

Thread: For Guino: USB Radio FM with RDS from Silabs

  1. #41
    Evo
    Evo is offline
    Low Bitrate Evo's Avatar
    Join Date
    May 2005
    Location
    UK
    Posts
    87
    Ahhh missed the 2nd post by Rando where he is having trouble with the impedence of the car aerials; to late now its ordered!

    I'll see what I can get to work and report back.
    Life moves fast, so don't get left behind, buy a fast car!

  2. #42
    Constant Bitrate RRMobile's Avatar
    Join Date
    Jun 2006
    Location
    Milan, Italy
    Posts
    156

    Application ported to VB6

    Hi

    After spent all the WE coding I ported "most" of the original C++ application to VB6.

    I'm still working but I managed to port all the USB HID low level communication.

    The biggest part that is missing now is the Audio Management only because I'm looking for some good VB6 example that is able to play external sources.

    The only reference i found is the "Audio Input/Output level" example that can be found at: http://www.allapi.net/apilist/mixerOpen.shtml#
    If anyone has a better VB6 example please post.

    I attached the source code of what has been done so far.
    Attached Images Attached Images  
    Attached Files Attached Files
    You can download my Road Runner plugin from: http://www.alibri.it/RRMobile/RRMobile.htm

  3. #43
    Evo
    Evo is offline
    Low Bitrate Evo's Avatar
    Join Date
    May 2005
    Location
    UK
    Posts
    87
    Thanks for the code RRMobile; just need the unit to turn up now
    Life moves fast, so don't get left behind, buy a fast car!

  4. #44
    Newbie Wickerswammie's Avatar
    Join Date
    Apr 2006
    Location
    North Carolina
    Posts
    26

    Silabs Radiator compatible DLL + RR native source.

    Hello all,

    As some of you may know I have modified the SiLabs source to be ran from a DLL, and have given it a Radiator compatible interface.

    I've tested this within RoadRunner and it works fine.

    However, I wanted to remove Radiator from the loop, so I tried (somewhat successfully) to integrate it into RR natively. The motivation for doing this is for faster tuning, scanning, etc.

    I have a few problems with the RR integration, mostly from a lack of experience using VC to import DLL functions, but the basic functionality does work and I'm using it in my truck.

    I've attached the Source for my DLL and the modified radiator.bas file from the roadrunner source.

    Since I only have one of these devices, and it's now working to my needs I can only minorly support the code since the device is firmly behind my dash.

    Some things that need to be worked out in my VB code:

    [1] Using the RDS functionality.
    [2] Sometimes when starting the radio from hibernation the station select reads one station, while the radio is actually playing a different station.
    [3] I was only able to get the forward/backward buttons to work from the radio skin.

    Using the Radiator interface does not have problems 2 and 3.

    I hope this minor contribution is useful to someone, as the contributions from the MP3Car.com forum have been very useful to me and I'd like to repay a part of that "debt".

    Thanks
    Attached Files Attached Files

  5. #45
    Newbie Wickerswammie's Avatar
    Join Date
    Apr 2006
    Location
    North Carolina
    Posts
    26
    Quote Originally Posted by RRMobile View Post
    Hi

    After spent all the WE coding I ported "most" of the original C++ application to VB6.

    I'm still working but I managed to port all the USB HID low level communication.

    The biggest part that is missing now is the Audio Management only because I'm looking for some good VB6 example that is able to play external sources.

    The only reference i found is the "Audio Input/Output level" example that can be found at: http://www.allapi.net/apilist/mixerOpen.shtml#
    If anyone has a better VB6 example please post.

    I attached the source code of what has been done so far.
    Hi RRMobile,

    I'd strongly urge you to avoid going down this route, to avoid frustrating yourself.

    Playback of audio at process level is an extremely latency sensitive operation. From my understanding of VB, it's not the best language to use if speed is imperative, as it in this situation.

    The best solution would be to do this work at kernel level, which would require use of the Direct Sound API, or if you wrote some custom drivers. I know this is doable from C++, but I'm not sure if VB has the ability to interface with that API.

    I have used Direct Draw (btw, Direct Sound and Direct Draw are parts of Direct X) in the past, but never Direct Sound - and I am just too busy to learn something new right now (I'll probably get to that eventually).

    Cheers

  6. #46
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    @Wickerswammie:
    thanks for your contribution!

    After a quick look to the source, it seems like there is no TA (traffic announcement) information processed in RDSData?

    If i am right, can it be done? If i am wrong, where can i find it?

    This is the most important feature for me - if there is some accident or some danger, they transmit it via the TA feature - i will just monitor this flag and switch to radio if it is set.
    c ya

  7. #47
    Newbie Wickerswammie's Avatar
    Join Date
    Apr 2006
    Location
    North Carolina
    Posts
    26

    No TA feature in current firmware

    Quote Originally Posted by ReflexNPG View Post
    @Wickerswammie:
    thanks for your contribution!

    After a quick look to the source, it seems like there is no TA (traffic announcement) information processed in RDSData?

    If i am right, can it be done? If i am wrong, where can i find it?

    This is the most important feature for me - if there is some accident or some danger, they transmit it via the TA feature - i will just monitor this flag and switch to radio if it is set.
    c ya
    You are correct about that. The firmware currently does not support the TA feature. I'm sure it would be possible to add it - but I'm not sure what would be required to do so. The firmware was included in the source SiLabs provided so if you can program firmware then you could theoretically get this little device to give you the TA.

  8. #48
    Constant Bitrate RRMobile's Avatar
    Join Date
    Jun 2006
    Location
    Milan, Italy
    Posts
    156
    Quote Originally Posted by Wickerswammie View Post
    Hi RRMobile,

    I'd strongly urge you to avoid going down this route, to avoid frustrating yourself.

    Playback of audio at process level is an extremely latency sensitive operation. From my understanding of VB, it's not the best language to use if speed is imperative, as it in this situation.

    The best solution would be to do this work at kernel level, which would require use of the Direct Sound API, or if you wrote some custom drivers. I know this is doable from C++, but I'm not sure if VB has the ability to interface with that API.

    I have used Direct Draw (btw, Direct Sound and Direct Draw are parts of Direct X) in the past, but never Direct Sound - and I am just too busy to learn something new right now (I'll probably get to that eventually).

    Cheers
    I have to admit that your considerations are correct. Because of the memory blocks streming VB will be too mutch sensible for such a task.

    I gave a look to your DLL and using the same COM interface designed for Radiator (with a few modifications) is possible to make a good and full functioning VB6 program. I will play with it in the next days.

    By the way any chanches you can drop me the Include file: winddk/3790.1830/inc/wxp/initguid.h ? I never managed to download the full DDK but only to get single files from internet.

    Thanks in advance
    You can download my Road Runner plugin from: http://www.alibri.it/RRMobile/RRMobile.htm

  9. #49
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    Quote Originally Posted by Wickerswammie View Post
    Since I only have one of these devices, and it's now working to my needs I can only minorly support the code since the device is firmly behind my dash.
    How does the device perform for you on the road? Feel free to slap me if I missed your review.

  10. #50
    Newbie Wickerswammie's Avatar
    Join Date
    Apr 2006
    Location
    North Carolina
    Posts
    26
    Quote Originally Posted by rando View Post
    How does the device perform for you on the road? Feel free to slap me if I missed your review.
    I've not given a review yet, I've been trying to give it a few days in the truck to see how I feel about it.

    I will give first impressions though.

    It performs good when stationary (no pops/cracks in the audio at all). When I am moving I get infrequent pops in the audio that seem to be radio related (I don't hear them when listening to mp3s).

    The external antenna was not as helpful as I had hoped, but it is better than not connecting it at all. I experiemented with the little wire, giving it random positions within my dash, all with no luck. If I taped it up the middle of my front windshield reception was perfect (did not try that moving), but I'm not going down that route. Using the bare wire in my dash without connecting it to the external antenna was wretched.

    I soldered the wire to an adapter I found at Best Buy which connects to my stock antenna wire.

    I never really liked radio much in the first place, so my expectations arn't exactly high. It works to my satisfaction now, but some radio listeners may be a little more discriminating than myself.

    Since the device doesn't currently support TA, it holds little value to me besides the occassional NPR. (The other forms of RDS do work well, so perhaps there could be a firmware update to allow TA to function).

Similar Threads

  1. Is this another USB RDS radio in the making?
    By skippy76 in forum Hardware Development
    Replies: 1
    Last Post: 05-17-2005, 09:17 PM
  2. USB FM Radio with RDS?
    By BeamRider in forum General Hardware Discussion
    Replies: 3
    Last Post: 05-09-2004, 12:05 PM
  3. WTB: D-Link USB FM radio
    By Stine161 in forum Classified Archive
    Replies: 4
    Last Post: 11-12-2002, 08:02 AM
  4. USB FM Radio
    By vickumar in forum General Hardware Discussion
    Replies: 4
    Last Post: 04-28-2002, 10:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •