Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Saving Parts of WAV file

  1. #11
    Newbie
    Join Date
    Nov 2004
    Posts
    7
    nctsoft looks very cool, but I'm not willing to pay $300 for that one function. However, I'd probably pay $25 for code or a control that can extract X minutes from a WAV file.

    BTW, the plugin DLL system would be for how to detect the song/artist from whatever software is playing (e.g. XM, XM Online, iTunes, etc.)

    ---Mike

  2. #12
    Maximum Bitrate zPilott's Avatar
    Join Date
    Jul 2004
    Location
    Austin
    Posts
    509
    can't you just insert your own custom tags into the wav file?
    or use some of the existing chunks?

    http://www.borg.com/~jglatt/tech/wave.htm

    |V1 Virtual Display|

    Hard work often pays off over time, laziness always pays off right now.

  3. #13
    Newbie
    Join Date
    Nov 2004
    Posts
    7
    Well if your app knows a new song is comming, then have it log each song into a database with the location of the song in the grand scheme of things.
    It does this already. It logs all the songs, and then I have a player that plays backs the WAV while displaying the title and artist (I am adding a big display with big buttons.) The only thing (so far) that I can't do is click on a song and have it save out that portion of the WAV as its own file.

    can't you just insert your own custom tags into the wav file?
    or use some of the existing chunks?
    This is probably nicer than a separate log file. I didn't know there were chunks of data one could embed until I visited the nctaudio page.

    Note this is mostly for my own use, although I will be releasing it as freeware in case anyone else finds it useful. So, it won't be anything fancy, and I don't want to invest too much time into it.

    ---Mike

  4. #14
    Variable Bitrate
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    314
    Seems like you're making this harder than it really needs to be by trying to stick to the way you're currently doing things. Wouldn't it be easier to break the files up while recording, then use a database to link them and play them in the order they were recorded. This would let you replay the whole night in the order it was recorded if you wished, then if you chose to save a segment of the night, you then just move copy that segment from the nights location to whatever location you choose to save it in. This will help with system resources as well, because you can mantain a small database and work with small audio files much easier than you can work with one large audio file and still have to have the database to maintain positions.
    2006 Chevy Colorado: VIA M10000 EDEN, 1 GB RAM, 80 GB 2.5" Seagate HDD, USB Slim Slot DVD/RW, Holux GPS, MobileVU 10.4" LCD (touch not working yet), VOOMPC Case (blue), 70W DC-DC supply.

  5. #15
    Newbie
    Join Date
    Nov 2004
    Posts
    7
    The problem with saving while recording is that I cannot be accurate when one song ends and another begins. However, if I could be recording while saving (double-buffered, in effect), then that would work. I was not able to get that work, but perhaps I shoud try again. It certainly would be easier.

    ---Mike

  6. #16
    Variable Bitrate
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    314
    Can't you trigger the save when the display data i.e. song name changes? That should be fairly accurate. I'm not experienced with XM at all, but I know Sirius changes the song an instant before it starts playing. You could then offset the saving appropriately (record for x seconds after the change or trim x seconds before teh change). I think you said that you are already logging the time the song changes accurate to within a couple of seconds. I would have to guess that you become less accurate as the record length increases? If you're off by .1 seconds on each song, you would rapidly be off time. This would too would be solved by breaking the files up.
    2006 Chevy Colorado: VIA M10000 EDEN, 1 GB RAM, 80 GB 2.5" Seagate HDD, USB Slim Slot DVD/RW, Holux GPS, MobileVU 10.4" LCD (touch not working yet), VOOMPC Case (blue), 70W DC-DC supply.

  7. #17
    Newbie
    Join Date
    Nov 2004
    Posts
    7
    With XM, the name changes +/- a couple seconds. I'm not sure what causes it to vary. Also, they usually fade one song in while the other is playing.

    I did a little experimentation, and found that two instances of Cool Edit (for one) can be recording at the same time, so maybe I can too. Then I can tack on 5 seconds to beginning and end of each song. (I like only one in 20 songs on most channels, so I don't need it totally automated.)

    ---Mike

Page 2 of 2 FirstFirst 12

Similar Threads

  1. cant change skins???
    By Hell-Stopper in forum FrodoPlayer
    Replies: 19
    Last Post: 11-05-2004, 10:10 PM
  2. Bug Reports
    By frodobaggins in forum FrodoPlayer
    Replies: 168
    Last Post: 10-16-2004, 12:25 AM
  3. Help! File Size Larger than 4GB!
    By Rafster in forum Off Topic
    Replies: 7
    Last Post: 09-13-2004, 04:01 PM
  4. FS: Sproggy Hard to Find Parts
    By dug1967 in forum Classified Archive
    Replies: 30
    Last Post: 02-19-2004, 07:36 AM
  5. MPX Play best way to use file that have long file names ?
    By Vampyre in forum Software & Software Development
    Replies: 7
    Last Post: 09-16-2001, 02:39 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
  •