I don't understand what you are asking. Could you explain it better ?
I was referred to this forum by KingTut. I'm writing a recording/playback system for the PC that will work with many services (currently, XM) to display song and artist info in sync. I'd like to know how to save out part of a WAV file. I'm using the MMControl, but any method would be fine. The program is in VB, but I can write a C or C++ DLL if needed. I've found some complicated code for loading and saving WAV files byte by byte, but was hoping (as always) for a shortcut.
I'm the author of TodayPlayer for the PPC (both tiny window and big buttons), and hope to be able to do playback with artist/song info there as well.
Oh yeah, like TodayPlayer, the software wil be free. (TodayPlayer is GPL.)
Thanx for any info or hints!
-MBro
http://www.todayplayer.com
I don't understand what you are asking. Could you explain it better ?
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
Yeah. Weird thing. Just seek in the WAV file, get the chunk you need, create new wav header and save it back( header first. What's the problem ?
Car pc integration with ease
Car mediacenter
take a look at audiostudio from www.nctsoft.com
Sorry about not being clear. My program uses the Windows media control to record long WAVs (e.g. overnight) while logging what it is recording (artist/song.) I also have a player that plays the WAV while displaying the list of songs. You can click on a song to play it. I want to be able to save off that song, which means extracting and saving a 3-minute segment from an 8-hour WAV.
I was hoping the Windows multimedia control, or API, allowed this, but it looks like it can only save out the whole file. It does indeed look like I will have to access the data "raw", and "create a new wave header." Not a big deal, but I'd hate to do that and then find out it was already supported.![]()
I will take a look at audiostudio; thanx! However, if it is GPL, I'd prefer to stay away. My TodayPlayer is GPL, and that has turned out to be more of a pain than it is worth. I'd rather just put up my source code without all that red tape.
--Mike
just get the program goldwave *cough* download *cough* its the best audio editing tool i have ever used. if you really need it pm me and i will send over msn messenger.
Ok, let me get this streight.
Long feed from XM radio, which is constantly being recorded.
You want that audio file, to have pointers to invididual songs within that long stream of audio ???
My question to you is: Does your recording app know when a new song is playing ??
Progress [I will seriously never be done!]
Via EPIA MII
512MB RAM
OEM GPS (embedded)
nLite WinXP pro on
1GB Extreme III CF card
Carnetix 1260 startup/ DC-DC regulator
Software: Still, re-Writing my existing front end in .Net
If you owner of the code, you can change its license any time. Don't see much problem here.
Creating sound files is simpler than you think. No need to use 'smart' DLLs or controls. Just see my tutorial http://pymedia.org/tut
Car pc integration with ease
Car mediacenter
Yes, it does, plus or minus a few seconds.My question to you is: Does your recording app know when a new song is playing ??
I made the mistake of using code from another GPL'ed program (in fact, one that did not mention it.) Even if I wrote my own now, I couldn't help but use what I learned from the other code. In the grand scheme of things, it's no big deal, but now with that program, it's more of a pain to do a "release" version.If you owner of the code, you can change its license any time.
I currently use Cool Edit Pro; I was one of the first to buy it shareware. There is also Audigy, which is freeware (although buggy with large files.) I just want to automate the process.just get the program goldwave *cough* download *cough* its the best audio editing tool
Oddly enough, if I knew the artist/song of some of the material I've recorded over the past 35 years, I'd have purchased many more CDs.
Will do.Just see my tutorial http://pymedia.org/tut
Thanx for the comments! And keep them coming. I won't be able to throw myself into this for a couple more days.
-Mike
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.
1. song: Outkast - Hey ya position: 0 seconds
2.song: limp bizkit - nookie position: 235 seconds
now when a user clicks on limp bizkit, MMcontrol starts playing at 235 seconds on the big track...
Progress [I will seriously never be done!]
Via EPIA MII
512MB RAM
OEM GPS (embedded)
nLite WinXP pro on
1GB Extreme III CF card
Carnetix 1260 startup/ DC-DC regulator
Software: Still, re-Writing my existing front end in .Net
Bookmarks