Coder Social home page Coder Social logo

Comments (5)

Tagge avatar Tagge commented on September 28, 2024

This actually means that your audio file is not 'audible' to Alexa and that it returns nothing as a result. My problem was that the audio I was sending wasn't properly encoded (16000 hz sample rate, single channel, signed PCM is the way to go). When that was fixed I was able to get a result back.

from alexa-voice-service-client.

richtier avatar richtier commented on September 28, 2024

@Tagge thanks for the explanation

@Tubinex did you solve the problem?

from alexa-voice-service-client.

Tubinex avatar Tubinex commented on September 28, 2024

@richtier No, unfortunately I get my audio straight from Discord and I haven't figured out how to convert it to the correct format
but thanks anyway, maybe I'll find a way!

from alexa-voice-service-client.

richtier avatar richtier commented on September 28, 2024

ah yes audio can be hard if there is little documentation.

in case it helps, if it's webaudio good news is I've done that myself: https://github.com/richtier/voice-command-lifecycle/blob/master/command_lifecycle/helpers.py#L23

used that in related project https://github.com/richtier/alexa-browser-client/

from alexa-voice-service-client.

tyliec avatar tyliec commented on September 28, 2024

@Tubinex I was able to get Discord's audio 48k sample rate 2 channels -> 16k PCM 1 channels. Its a stream transformer in Node.JS though, lmk if you want it.

from alexa-voice-service-client.

Related Issues (20)

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.