Page 2 of 2
Re: ID3 tags : a New LC Lib ?
Posted: Sat Mar 20, 2021 12:25 pm
by Eric_Taquet
Hello Zax
I've been waiting for more than a year for PaulDaMacMan to finish his library or his mp3Tools.livecode stack! I have no more hope that it will be done one day

In the meantime, I manage the ID3s with some handlers that I wrote and which control the “Sound Studio” Mac application using Applescript. It's slow and Sound Studio doesn't handle all ID3 frames, but it's a wait-and-see solution.
Tell me if one day you find another solution!
Éric
Re: ID3 tags : a New LC Lib ?
Posted: Sun Mar 21, 2021 9:54 am
by Zax
Anyhow, thank you for your reply Eric.
With Windows, I use
Mp3tag but the Mac version requires MacOS 10.14, not supported with my old Mac.
Re: ID3 tags : a New LC Lib ?
Posted: Sun Mar 21, 2021 12:56 pm
by Eric_Taquet
On Mac, to read/write ID3, there is a fantastic software : Tag Editor ! You can edit near every ID3 frames with a simple user interface ! But it is not Applescriptable

What I need is to read/write ID3 from my application developed with LC. I use the TTS Speech library and the mergMicrophone library to produce lot of audio files and I need to tag them at recording time. To be able to record these TTS audio files I also use 2 utilities : Audio Hijack and LoopBack.
Re: ID3 tags : a New LC Lib ?
Posted: Mon Apr 05, 2021 5:00 pm
by PaulDaMacMan
Eric_Taquet wrote: Sat Mar 20, 2021 12:25 pm
Hello Zax
I've been waiting for more than a year for PaulDaMacMan to finish his library or his mp3Tools.livecode stack! I have no more hope that it will be done one day

In the meantime, I manage the ID3s with some handlers that I wrote and which control the “Sound Studio” Mac application using Applescript. It's slow and Sound Studio doesn't handle all ID3 frames, but it's a wait-and-see solution.
Tell me if one day you find another solution!
Éric
You could've messaged me or better yet feel free take the code from my GitHub and try to finish it yourself.
https://github.com/PaulMcClernan/id3lib
For the record, this is NOT my library, this library was originally created by a guy named Mark Smith who unfortunately passed away about a decade ago. All I did was update it a little bit and try to work out the issues with certain embedded cover artwork and embedding them into the ID3 tags. As far s I know the lib should work fine if you only need to read/write the regular, non-Artwork tags. mp3Tools.livecode was originally a project I started before finding Mark's library (which was much more complete), although it did have at least one function that Mark's didn't, parsing MPEG frames for information about things like bit-rate. I don't know when or if I will get back to working on that. At this point I'm more inclined to try to LCB wrap one of the two cross-platform open-source libraries I was looking at (ID3v2Lib or TagLib) than finishing a LiveCode Script Native Library.
BUT I have a regular job, coding is mostly a hobby for me, and I've been working on a LOT of other things with LiveCode Builder.
There's a lot of options for ID3 tags around though.
https://kid3.kde.org/#download
http://nekohako.xware.cx/id3tool/
https://formulae.brew.sh/formula/id3tool#default
http://www.pa-software.com/downloads.php#BC3B2E3A
https://formulae.brew.sh/formula/id3lib#default
https://github.com/defuzeme/desktop/tre ... aglib/libs
https://sbooth.org/Play/
https://www.underbit.com/products/mad/
https://taglib.org
https://github.com/larsbs/id3v2lib
Re: ID3 tags : a New LC Lib ?
Posted: Tue Apr 06, 2021 8:30 am
by Zax
Thank you PaulDaMacMan for all these informations.
Re: ID3 tags : a New LC Lib ?
Posted: Tue Apr 06, 2021 3:36 pm
by PaulDaMacMan
Zax wrote: Tue Apr 06, 2021 8:30 am
Thank you PaulDaMacMan for all these informations.
You're welcome.
I did some looking at that tagLib library last night. It's quite nice and can deal with all sorts of meta-data for different media formats (AIF,WAV,FLAC,MP4, etc.), not just MP3 / ID3 tags. So that would be great to have that in LC, but it looks like a lot of stuff to wrap and it probably has a bunch of dependencies on other libraries... So maybe a LC Script native library isn't such a bad idea after all? At any rate, it is something I'm still interested in, there's just not enough hours in a day.