Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,6 @@ https://github.com/rochars/wavefile
[![Codecov](https://img.shields.io/codecov/c/github/rochars/wavefile.svg?style=flat-square)](https://codecov.io/gh/rochars/wavefile) [![Unix Build](https://img.shields.io/travis/rochars/wavefile.svg?style=flat-square)](https://travis-ci.org/rochars/wavefile) [![Windows Build](https://img.shields.io/appveyor/ci/rochars/wavefile.svg?style=flat-square&logo=appveyor)](https://ci.appveyor.com/project/rochars/wavefile) [![Scrutinizer](https://img.shields.io/scrutinizer/g/rochars/wavefile.svg?style=flat-square&logo=scrutinizer)](https://scrutinizer-ci.com/g/rochars/wavefile/) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1880/badge)](https://bestpractices.coreinfrastructure.org/projects/1880)


## MOVING AWAY FROM GITHUB (2020-03-08)
Microsoft, owner of GitHub, was one of the main backers of the current fascist regime in Brazil and also of the coup d'etat that led to the present situation of my country.

It paid well: The brazilian government was required to run all its systems on open-source software. After the coup d'etat this changed, the goverment began purchasing Microsoft licenses and migrating all their systems to Windows.

It is not just a case of business malpractice - there is a genocide going on in Brazil and many people, including myself, have lived under constant death threats for the past couple years bacause of our positions against the current fascist regime. Many have been murdered or incarcerated. Poverty and violence skyrocketed.

**This software will keep being released in NPM as always - only the repository will be moved. Projects depending on this software will not be affected.**

For Microsoft owners and collaborators: you have a lot of blood in your hands. I will not share my work with people of your kind.

---

# wavefile

Create, read and write wav files according to the specs.
Expand Down
6 changes: 6 additions & 0 deletions bin/wavefile.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ const help = " Usage:\n" +
" --list-cue Ex: wavefile input.wav --list-cue\n" +
" Print all the cue points of the file.\n" +
"\n" +
" --list-smpl Ex: wavefile input.wav --list-smpl\n" +
" Print all the sample chunks from the file.\n" +
"\n" +
" --bits Ex: wavefile input.wav --bits\n" +
" Print the bit depth of the file.\n" +
"\n" +
Expand Down Expand Up @@ -157,6 +160,9 @@ for (let command in commands) {
// --list-cue
} else if (command == '--list-cue') {
console.log(wav.listCuePoints());
// --list-smpl
} else if (command == '--list-smpl') {
console.log(wav.smpl);
// --bits
} else if (command == '--bits') {
if (wav.fmt.validBitsPerSample) {
Expand Down