Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: DVR Capability for Radio?!

  1. #1
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135

    DVR Capability for Radio?!

    So, I am working on a C# app to allow DVR capability to radio (or just about any line-audio source). Anyone else out there done anything similar? I am fairly close to getting it to work.

    Buffer in memory or on disk? (Maybe configurable?) -- For now I will do in memory as it will be a lot easier, but I will have to watch memory usage.

    I am working mainly to target the SiLabs tuner as that's what I have...


    The "front end" I am working on is more of a POC for a few things.
    -.net 3.5 on carpc
    -sqlce on carpc
    -LinQ to SQLCE and LinQ to objects
    -Designed for function over form at this point

    Music database with realtime search and dynamic playlist capabilities.
    Hopefully eventually add support to subclass iGuidance screen to have GPS map in app.
    I have not yet decided how I will play media. I am thinking of including support to natively decode most audio files (mp3, wma, flac, ogg are my main interests).
    Maybe more stuff....

    VERY EARLY ALPHA screenshot of music browser control:
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  2. #2
    Constant Bitrate
    Join Date
    Mar 2009
    Location
    near Rochester, NY
    Posts
    214
    http://cgi.ebay.com/Visteon-Zoom-HDZ...QQcmdZViewItem

    that software claims to be able to do it for HD radio. I'd love to be able to hit a button listening to XM or whatever to save a copy of the transmission.

  3. #3
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135
    So far I have enough code to record to disk, and then also playback the file from disk. Now I just need to make it so I can navigate through the file at will (dvr style). I wonder how I will be able to deal with trimming the front side off as the file will get pretty big over time (it is basically un-compresed wav data).

    I think I might also use the bass.net audio library, it looks like it supports just about everything I need.

    This isn't going to be as hard as I thought it might be!

    Anyways I will keep posting updates as they come. (I am not really interested in existing solutions unless they are in C# and open source as I want to make this, part for fun, part to be able to make it do exactly what I want.)

    -James
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  4. #4
    North of the land of Hey Huns
    Auto Apps:loading...

    Join Date
    Jun 2004
    Location
    Westminster, MD
    Posts
    2,144
    This is fairly awesome, I'll keep an eye on this
    "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
    RevFE
    My Shop

  5. #5
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by Extide View Post
    So, I am working on a C# app to allow DVR capability to radio (or just about any line-audio source). Anyone else out there done anything similar? I am fairly close to getting it to work.
    A few years ago, I wanted the same type recorder capability. Since I run Ride Runner, I decided I wanted a command line interface that could record from several different sources (FM, XM, Internet radio, YouTube, etc.) and save an MP3 using the title/artist from RDS or internet stream title with one click. Took me about 6 months to find and another 2 to program my buttons, but I settled on a commercial app called Loop Recorder (expensive as hell, but does everything I want and more).
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  6. #6
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135
    Cool. I have it basically working now, will need to test with some different audio sources to make sure.

    Record stream goes back to position 0 at end of buffer
    Play stream also loops back to start at the end, follows the record position.
    Playback seek fwd & back works.

    Currently I am looking around at free and preferably open source audio libraries for decoding mp3, flac, wma, ogg, etc. I have found a few but I am not completely happy yet.

    Oh, this is also going to be fully opensource and free. I have an SVN server where my code is at. I just need to setup a public read only account for everyone. If people want to contribute I will give out account with write access. Give me a little bit to set things up and whatnot.
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  7. #7
    Low Bitrate rtgree01's Avatar
    Join Date
    Aug 2007
    Location
    STL
    Posts
    98
    I have wanted something similar. Everything you've mentioned sounds great.... but there are times when I want to pause or rewind the live audio feed....
    As an example.... I'm spaced out on my drive to work... the radio starts playing the traffic report... I'm barely paying attention until I hear a particular street, but missed that there was an accident on it.... if I could rewind 15 seconds and hear what it was, that would be nice...
    It looks like you were most concerned about recording songs and labeling them with their information... and that is great. But I would love to have the "Pause Live Audio" capability....

    I am a developer, so I could be interested in helping out where I can....

    Ryan

  8. #8
    Variable Bitrate
    Join Date
    Jul 2006
    Posts
    362
    What he said...
    MSI K9N6GM
    1 gig RAM
    8" Lilliput
    Onstar GPS mod
    XM
    Visteon HDZ300

  9. #9
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135
    Yeah. sorry the screen shots only show the music interface -- the radio screen is only a few buttons right now, but you will have pause, rewind, etc capability for live radio. I am going to allow you to specify an on-disk buffer size (of like 100MB or whatever) that it will record the audio into FIFO style, and just loop back to the beginning of the file after recording to the end, then you can playback from any point in the file (directly following the record stream or whatever). 100mb should get about 10 mins, the audio data is essentially raw uncompressed PCM data, so 16bit * 44.1khz = 705600 bits a second, which is ~86KB a sec. (Can't remember if that accounts for stereo or just one channel) I was ill all this past weekend so I didn't get to work on it, but will spend some more time this week. Anyways it will be easy to use, just like a DVR for TV. I am only really designing it for the SiLabs FM Tuner (because that's what I have) but since it really is like a wav in / wav out record / play system it could theoretically be adapted for almost anything...
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  10. #10
    Variable Bitrate
    Join Date
    Jul 2006
    Posts
    362
    Awesome! Looking forward this
    MSI K9N6GM
    1 gig RAM
    8" Lilliput
    Onstar GPS mod
    XM
    Visteon HDZ300

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 99
    Last Post: 04-11-2012, 03:06 PM
  2. DVR for Dashcam
    By ddiesel2006 in forum General Hardware Discussion
    Replies: 1
    Last Post: 03-19-2009, 08:31 AM
  3. Replies: 0
    Last Post: 01-28-2009, 07:54 AM
  4. Does Pioneer DEH-P605 have AUX capability?
    By s2zeller in forum Newbie
    Replies: 3
    Last Post: 09-06-2008, 01:42 PM
  5. DVR option with IR Camera...
    By Emo in forum Input Devices
    Replies: 0
    Last Post: 02-23-2006, 10:19 AM

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
  •