Git Product home page Git Product logo

go-lame's People

Contributors

sunicy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

go-lame's Issues

Setting Endiannes, input Mode, and Signed

Hello there, is it possible to pass these to lame ?

The command I want to emulate is this :

lame -r --big-endian -s 16 --signed -m m raw_pcm encoded.mp3

Explanations I got from lame man :

-r     Assume  the  input  file  is  raw pcm.
-s sfreq
              sfreq = 8/11.025/12/16/22.05/24/32/44.1/48
              Required only for raw PCM input files.
--signed
              Instructs LAME that the samples from the input are signed (the default for 16, 24 and 32 bits raw pcm data).
--big-endian
              Instructs LAME that the samples from the input are in big-endian form.
 -m mode (m)ono
              The input will be encoded as a mono signal.

thank you for the nice wrapper !

Relative path in wavfile_test.go

Relative path are used in wavfile_test.go.

"./compare"

However relative path imports are not allowed since Go 1.11

When I try to use this package, following error occurs.

	github.com/sunicy/go-lame tested by
	github.com/sunicy/go-lame.test imports
	./compare: "./compare" is relative, but relative import paths are not supported in module mode

License

Hi~

Thanks your code.

I really want to use your code in my commercial app.
But I can'f find any terms and conditions for use, reproduction, and distribution.
I wonder if I can use the code for commercial distribution or not.

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.