Giter Club home page Giter Club logo

Comments (7)

rochars avatar rochars commented on May 26, 2024

Thanks for the file!

The bug that corrupted files like this is solved in version 9.0.2 - the files can be saved and the regions are kept (they are showing up in Reaper). Some of the values are not displaying correctly, still.

This file uses some features that the current version of wavefile do not support, but im working to add support for them in future releases. I included the file in the test suite. Thanks!

Cheers!
Rafael

from wavefile.

rochars avatar rochars commented on May 26, 2024

Version 9.1.1 should handle the regions correctly.

Cheers!
Rafael

from wavefile.

craigeley avatar craigeley commented on May 26, 2024

Amazing! Read and write? Is that documented yet?

from wavefile.

rochars avatar rochars commented on May 26, 2024

In version 9.x you can only read and write regions that already existed in the file. In v10.x will be possible to use the setCuePoint method to create both cue points and regions.

Cheers!

from wavefile.

rochars avatar rochars commented on May 26, 2024

Version 10.0 is out; now you can add regions like this:

// create a cue region with a label:
wav.setCuePoint({position: 1500, end: 2500, label: 'some label'});

To create a standard cue point, ommit the 'end' attribute:

// create a cue point with a label:
wav.setCuePoint({position: 1500, label: 'some label'});
// create a cue point with no label:
wav.setCuePoint({position: 1500});

Cheers!
Rafael

from wavefile.

craigeley avatar craigeley commented on May 26, 2024

This is awesome. I have no idea the magic that makes this script work, but I would be interested to know if it can parse files from Pro Tools, which writes "clips" into its files in a way that I have never been able to get another app to read. But that's a different issue for a different day. Thanks again!

from wavefile.

rochars avatar rochars commented on May 26, 2024

Could you provide a file with some clips like that?

Cheers!
Rafael

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.