george seifert Posted June 10, 2009 Report Share Posted June 10, 2009 Has anyone used LV to access the meta data in a WAV file? I've searched the archives here and at NI and came up emtpy. Specifically I need to edit the Genre data. Another group here has written some software (not in LV - shame on them) to process WAV files. They use the Genre data for some reason to pass data into their program. George Quote Link to comment
hooovahh Posted June 10, 2009 Report Share Posted June 10, 2009 I'm not familiar with what kind of meta data that is stored in a wave, but if it is ID3 there is some code which reads v1 of that from MP3 files. http://forums.lavag.org/CR-MP3-ID3v1-Tag-I-O-t7094.html There are some command line program which reads ID3, here's one I've never used but claims to do read/write. You could always use LabVIEW to read a command line. EDIT: Apparently ID3 is a MP3 standard only. Quote Link to comment
Antoine Chalons Posted June 10, 2009 Report Share Posted June 10, 2009 QUOTE (george seifert @ Jun 9 2009, 04:11 PM) Has anyone used LV to access the meta data in a WAV file? I've searched the archives here and at NI and came up emtpy. Specifically I need to edit the Genre data. Another group here has written some software (not in LV - shame on them) to process WAV files. They use the Genre data for some reason to pass data into their program.George Hello, As you can see http://www.sonicspot.com/guide/wavefiles.html' rel='nofollow' target="_blank">here there can be different variation on the WAV format, you need to find the description of the format in which your files were written to. Then make a VI that reads the file byte per byte and decode "headers" by groups of byte. I did that a while ago for BMP files, you can use it as a starting point, hope it can help. NOTE : that would be nice to post it the LAVA cr :-o Quote Link to comment
george seifert Posted June 10, 2009 Author Report Share Posted June 10, 2009 QUOTE (Antoine Châlons @ Jun 9 2009, 09:53 AM) Hello,As you can see http://www.sonicspot.com/guide/wavefiles.html' rel='nofollow' target="_blank">here there can be different variation on the WAV format, you need to find the description of the format in which your files were written to. Then make a VI that reads the file byte per byte and decode "headers" by groups of byte. NOTE : that would be nice to post it the LAVA cr :-o Thanks. That's a start. Unfortunately I haven't been able to find anything on the net that describes where the Genre metadata is supposed to be in the file. George Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.