GithubHelp home page GithubHelp logo

sergiocruz / ng-karaoke Goto Github PK

View Code? Open in Web Editor NEW
63.0 63.0 22.0 14.97 MB

Karaoke machine concept built in Angular

Home Page: https://sergiocruz.github.io/ng-karaoke

TypeScript 13.25% JavaScript 80.29% HTML 1.58% CSS 4.89%

ng-karaoke's People

Contributors

angular-cli avatar sergiocruz 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

Watchers

 avatar  avatar  avatar  avatar  avatar

ng-karaoke's Issues

Issue with the lyrics and speech match

First of all, this is very good demo app. Karaoke is awesome.

I found an issue about the lyrics and speech match.

In the app, you used the SpeechRecognition to record the sound, returned the transcript text to PlayerComponent and match the text to the current lyrics line.

But if you keep singing a line by a line, the SpeechRecognition would keep recording the sound and SpeechRecognitionResult.isFinal would always be false. This caused the SpeechComponent did not emit any transcript text to PlayerComponent. But as the song goes, the array holding the lyrics lines in PlayerComponent would keep refreshing. Once in the middle of the song where there is only music and no lyrics and you stop singing, the SpeechRecognitionResult.isFinal would be true and return the text to PlayerComponent. But the line array in the PlayerComponent might be completely different with the text. This would makes the calculation of the match points incorrect. You could simply reproduce this issue as you keep singing the lyrics correctly.

I think this is one of reasons why your demo in ng-conf did not calculate any points when one of your audience was singing on the stage.

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.