Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Edit audio meta tag

 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

How can i access audio meta tag using a Java application. I want to add a new meta tag named as "Speed" to an audio file. Is there any supporting Java library to access audio meta tag ?
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What type of audio file is it? Meta tags for WMV and MP3 for instance are quite different.
 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its a mp3 audio file. It used ID3v1 tag.
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java id3v1
First hit on SourceForge seems pretty good to me.
 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rob. I did it using org.farng.mp3 package.
But in my application (an application to generate spectrogram) it reads only .wav files. So is there any other library to access the tags of a .wav audio file or a supportive library to convert mp3 into a .wav file.
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think WAVE supports tags. JLayer claims it can convert MP3 into WAVE; just scroll down a bit.
 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rob,
Now all are going well. I used JLayer converter to convert MP3 to Wave. It is very easy to use.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic