GithubHelp home page GithubHelp logo

oggvorbis's People

Contributors

akrennmair avatar chrishines avatar dulli avatar jfreymuth 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  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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

oggvorbis's Issues

Q: data format after `Read` call

func (r *Reader) Read(p []float32) (int, error)
when we call Read for []float32 - what data format do we expect, is it Pulse-code modulation?

Some OGG files don't seem to decode or play correctly

I'm using "github.com/faiface/beep" to play audio, which in turn uses this library to decode OGG Vorbis files.
But some OGG files play at a much higher pitch and speed than they should.
I attached a zip file with a script that plays the sound, and a .ogg file that doesn't play correctly.
Help would be appreciated!
Here is the zip.
test.zip

better error messsage when an empty stream is passed

package main

import (
        "bytes"
        "fmt"

        "github.com/jfreymuth/oggvorbis"
)

func main() {
        if _, err := oggvorbis.NewReader(bytes.NewReader(nil)); err != nil {
                fmt.Println(err)
        }
}

Now NewReader just returns io.EOF. Would it be possible to return a more meaningful error for this case?

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.