Giter Club home page Giter Club logo

Comments (4)

Zazama avatar Zazama commented on July 21, 2024

I mean, if there's an ID3v2 tag found at the start of the file, node-id3 is gonna read it and also write no matter the file format.
Do you have a specific issue with it?

from node-id3.

lyswhut avatar lyswhut commented on July 21, 2024

WAV files seem to support more than comments in ID3 format:
https://en.wikipedia.org/wiki/WAV#Metadata

But the player seems to mainly read the ID3 format:
https://wiki.audacityteam.org/wiki/WAV#Metadata

When writing WAV metadata, Mp3Tag and foobar2000 will be written into RIFF/LIST-INFO and RIFF/ID3v2 at the same time:
https://github.com/Borewit/music-metadata/wiki/RIFF-WAVE

I use Mp3Tag to clean up the screenshots of all tags:
1

Screenshot after writing title and artist using Mp3Tag:
2

It can be seen from the figure that when all the tags are cleaned, the ID3 tag will be cleared, and only the RIFF/LIST-INFO tag is retained, so it is not enough to detect the ID3v2 tag, which needs to be done separately for the WAV format Some additional processing.

The above are the problems you might encounter when supporting the WAV format. Are you interested in supporting it?

from node-id3.

Zazama avatar Zazama commented on July 21, 2024

Implementing RIFF format seems unsuited for an ID3 project but even as a "special functionality" it doesn't look trivial, so right now, I'm not going to implement it myself, although I wouldn't reject a pull request if it's not integrated too deep into the core library (e.g. passing an option or similar that would enable wrapping the ID3 frame into RIFF before returning instead of auto-detecting the file format etc.).

from node-id3.

lyswhut avatar lyswhut commented on July 21, 2024

Indeed, RIFF is not a pure ID3 project, it should be regarded as another independent project, thank you for your answer, I will now close this issue.

from node-id3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.