matrix3d / haxe-wavpack-encoder Goto Github PK
View Code? Open in Web Editor NEWThis project forked from soiaf/haxe-wavpack-encoder
haXe code to create WavPack audio files
License: Other
This project forked from soiaf/haxe-wavpack-encoder
haXe code to create WavPack audio files
License: Other
//////////////////////////////////////////////////////////////////////////// // Haxe Implementation of WavPack Encoder // // Copyright (c) 2011-2017 Peter McQuillan // // All Rights Reserved. // // Distributed under the BSD Software License (see license.txt) // //////////////////////////////////////////////////////////////////////////// This package contains a Haxe implementation of the tiny version of the WavPack 4.40 encoder. It is packaged with a demo command-line program that accepts a RIFF wav file as input and outputs a WavPack encoded file. It is possible to generate outputs in the following lanaguages: neko, c++, c sharp, java There is also a demo Flash WavPack encoder. This code has been tested against Haxe 3.4.2 === To compile the .hx files for use with Neko, use the following command haxe nekoWavPack.hxml To run the demo program, use the following command Usage: neko wavpack.n [-options] infile.wav outfile.wv [outfile.wvc] (default is lossless) Options: -bn = enable hybrid compression, n = 2.0 to 16.0 bits/sample -c = create correction file (.wvc) for hybrid mode (=lossless) -cc = maximum hybrid compression (hurts lossy quality & decode speed) -f = fast mode (fast, but some compromise in compression ratio) -h = high quality (better compression in all modes, but slower) -hh = very high quality (best compression in all modes, but slowest and NOT recommended for portable hardware use) -jn = joint-stereo override (0 = left/right, 1 = mid/side) -sn = noise shaping override (hybrid only, n = -1.0 to 1.0, 0 = off) To make the demo Flash file, use the following command haxe flashtest.hxml This will produce the file wavpack_encoder_demo.swf This demo encodes at 8kHz, lossy. This can be simply modified by changing the values in the new method of MicRecorder.hx Please direct any questions or comments to [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.