diff --git a/README.md b/README.md index 524b7a2..ecd4c11 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/bin/wavefile.js b/bin/wavefile.js old mode 100644 new mode 100755 index f861927..9223b65 --- a/bin/wavefile.js +++ b/bin/wavefile.js @@ -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" + @@ -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) {