Giter Site home page Giter Site logo

microphonejs's People

Contributors

nerdmed avatar rikner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

microphonejs's Issues

Countineus audioData even when there is a silence

Microphone needs to detect if there is a silence

Is there a way to do so?

Also, I was working on to send the audioData to google speech API. Seems there is difference between the encoding.

Can you suggest more how to achieve above?

v1.0.4 breakt with meteor 1.3

v1.0.3 works fine .... @rikner plx check on that

Users/.meteor/packages/coffeescript/.1.1.3.qxqv6t++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:165
      throw error;
            ^
Error: Attempting to combine different files:
{ type: 'js',
  data: <Buffer 76 61 72 20 5f 63 6c 61 73 73 43 61 6c 6c 43 68 65 63 6b 32 20 3d 20 72 65 71 75 69 72 65 28 22 62 61 62 65 6c 2d 72 75 6e 74 69 6d 65 2f 68 65 6c 70 65 ...>,
  sourcePath: 'src/AudioResource.js',
  targetPath: 'src/AudioResource.js',
  servePath: '/packages/flowkey_microphone/src/AudioResource.js',
  hash: 'ce5869d03696a6c36fbf3c7bb7a923a033f5c39a',
  sourceMap:
   { version: 3,
     sources: [ '/packages/flowkey:microphone/src/AudioResource.js' ],
     names: [],
     mappings: ';;;;;;;AACA;AAEI,2BAAY,SAAZ,EAAuB,QAAvB,EAAiC,QAAjC,EAA2C;AAAA;;AACvC,aAAK,UAAL,GAAkB,IAAlB;AACA,aAAK,QAAL,GAAgB,QAAhB;AACA,aAAK,MAAL,CAAY,SAAZ,EAAuB,QAAvB;AACH;;;;;AANL,4BASI,MATJ;AAAA,wBASW,SATX,EASsB,QATtB,EASgC;AACxB,oBAAQ,GAAR,CAAY,iBAAZ;AACH;;AAXL;AAAA;;;;;AAAA,4BAcI,OAdJ;AAAA,2BAcc;AACN,oBAAQ,GAAR,CAAY,iBAAZ;AACH;;AAhBL;AAAA;;;;;AAAA,4BAmBI,IAnBJ;AAAA,wBAmBW;AACH,oBAAQ,GAAR,CAAY,iBAAZ;AACH;;AArBL;AAAA;;;;;AAAA,4BAwBI,MAxBJ;AAAA,0BAwBa;AACL,oBAAQ,GAAR,CAAY,iBAAZ;AACH;;AA1BL;AAAA;;AAAA;AAAA',
     file: '/packages/flowkey:microphone/src/AudioResource.js.map',
     sourcesContent: [ '// this is the interface / base class for every audio Resource every audioResource should implement / override\nAudioResource = class AudioResource {\n\n    constructor(onSuccess, onReject, audioCtx) {\n        this.sourceNode = null;\n        this.audioCtx = audioCtx;\n        this.enable(onSuccess, onReject);\n    }\n\n    // inits the audioresource if needed\n    enable(onSuccess, onReject) {\n        console.log("not implemented")\n    }\n\n    // disable microphone entirely\n    disable() {\n        console.log("not implemented")\n    }\n\n    // mutes the Audio Input\n    mute() {\n        console.log("not implemented")\n    }    \n\n    // unmutes the Audio Input\n    unmute() {\n        console.log("not implemented")\n    }\n}' ] },
  lazy: false,
  bare: false,
  mainModule: false,
  imported: true,
  installPath: 'node_modules/meteor/flowkey:microphone/src/AudioResource.js' }
{ type: 'js',
  data: <Buffer 76 61 72 20 5f 63 6c 61 73 73 43 61 6c 6c 43 68 65 63 6b 32 20 3d 20 72 65 71 75 69 72 65 28 22 62 61 62 65 6c 2d 72 75 6e 74 69 6d 65 2f 68 65 6c 70 65 ...>,
  sourcePath: 'src/audioresource.js',
  targetPath: 'src/audioresource.js',
  servePath: '/packages/flowkey_microphone/src/audioresource.js',
  hash: 'ce5869d03696a6c36fbf3c7bb7a923a033f5c39a',

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.