Giter Club home page Giter Club logo

Comments (4)

rochars avatar rochars commented on May 26, 2024 1

Regions will be supported in version 6.11.

As for the name of the points, do you mean the text associated with each point? If so, they are stored apart from the points, on "labl" chunks inside the "LIST" chunk, one for each point. the "dwName" property of each point is a unique index used to link the point with its label (among other things).

Cheers! :D

from wavefile.

rochars avatar rochars commented on May 26, 2024 1

Regions are now supported.

You can update a cue point label with WaveFile.updateLabel(dwName, label). It goes like this:
wav.updateLabel(2, "new marker text");

Cheers!

from wavefile.

X-Raym avatar X-Raym commented on May 26, 2024

@rochars Good for region support ! :)

And thanks for the LIST infos !

Here is for eg a code snippet to get a list of all markers names:

for( let id in wav.LIST) {
	for( let sub_id in wav.LIST[id].subChunks) {
		console.log( wav.LIST[id].subChunks[sub_id].value )
	}
}

(of course, other types of array loops could have been used).

Surely, a function like UpdateMarkerName( dwName, str ) could be written with the .find array method.

Cheers !

from wavefile.

X-Raym avatar X-Raym commented on May 26, 2024

@rochars nice, thanks !

from wavefile.

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.