Comments (7)
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.
Version 9.1.1 should handle the regions correctly.
Cheers!
Rafael
from wavefile.
Amazing! Read and write? Is that documented yet?
from wavefile.
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.
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.
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.
Could you provide a file with some clips like that?
Cheers!
Rafael
from wavefile.
Related Issues (20)
- How to concat two wav files? HOT 2
- ES6 import syntax results in TypeError: wavefile_1.default is not a constructor HOT 1
- In Firefox and Safari => Error: Not a supported format HOT 3
- mpeg and cart support? HOT 3
- mulaw extensible riff fmt header HOT 7
- how to convert wave file to alaw using python?
- Allow smpl chunk to be read via CLI
- Bug in read of RIFF signature..? HOT 2
- waveFile.toBuffer as 16 bit array? HOT 7
- npm run build failing
- How to get duration of wav file? HOT 3
- getSamples() has wrong return type declaration
- Issue converting Twilio Media Stream (mulaw) to PCM for @aws-sdk/client-transcribe-streaming HOT 1
- How are you @rochars? HOT 1
- use explicit path in imports
- Do less things: remove base64 stuff
- use private class methods instead of `@private`
- Create wav file from socket buffer
- Compressing and converting wav chunks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wavefile.