Porcupine
NoSleep.js
Our great sponsors
Porcupine | NoSleep.js | |
---|---|---|
31 | 8 | |
3,424 | 2,160 | |
2.1% | - | |
9.1 | 0.0 | |
9 days ago | about 1 year ago | |
Python | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Porcupine
-
I made a ChatGPT virtual assistant that you can talk to
I call it DaVinci. DaVinci uses Picovoice (https://picovoice.ai/) solutions for wake word and voice activity detection and for converting speech to text, Amazon Polly to convert its responses into a natural sounding voice, and OpenAI’s GPT 3.5 to do the heavy lifting. It’s all contained in about 300 lines of Python code.
-
Speech Recognition in Unity: Adding Voice Input
Download pre-trained models: "Porcupine" from Porcupine Wake Word and Video Player Context from Rhino Speech-to-Intent repositories - You can also train a custom models on Picovoice Console.
-
Speech Recognition with SwiftUI
Below are some useful resources: Open-source code Picovoice Platform SDK Picovoice website
-
Speech Recognition with Angular
Download the Porcupine model and turn the binary model into a base64 string.
-
OK Google, Add Hotword Detection to Chrome
Download Porcupine (i.e. Deep Neural Network). Run the following to turn the binary model into a base64 string, from the project folder.
-
Hotword Detection for MCUs
Porcupine SDK Porcupine SDK is on GitHub. Find libraries for supported MCUs on the Porcupine GitHub repository. Arduino libraries are available via a specialized package manager offered by Arduino.
-
Day 12: Always Listening Voice Commands with React.js
Looking for more? Explore other languages on the Picovoice Console and check out for fully-working demos with Porcupine on GitHub.
-
Day 6: Making Cool Raspberry Pi Projects even Cooler with Voice AI (1/4)
Don't forget to visit Porcupine's Wake Word's Github repository to see Python demos. If you want to do something similar to the video above, find the open-source codes here
- Voice Assistant app in Haskell
-
What does "end-to-end" mean?
I sometimes see the term "end-to-end", and it always passes right by my ears as marketing jargon. For example, there was a recent post today that linked to this page: https://picovoice.ai/, and you'll find the statement "... end-to-end platform for adding voice to anything on your terms". I did a quick Google search and it seems like the term is used in many different contexts (e.g., encryption, enterprise software for product development, etc.), but to be honest, I'm just not getting it. Maybe someone can explain here within the realm of embedded software? Could you provide some examples as well?
NoSleep.js
-
Show HN: Improve cognitive focus in 1 minute
Awesome project! Reminds me of donothingfor2minutes.com from Calm, but with a different end goal of focus instead of calm.
Regarding mobile phones going to sleep, [Wake lock](https://developer.mozilla.org/en-US/docs/Web/API/WakeLock) might help (make sure to request within the context of the user hitting "start"). [Unfortunately on older mobile browsers](https://caniuse.com/wake-lock), the best workaround I found was using this [NoSleep library](https://github.com/richtr/NoSleep.js).
Source: ran into this same issue when building https://www.phonefreehour.com
- Show HN: A simple web app to combat phone addiction
- Can you go an hour without touching your phone?
-
Chrome 110 will automatically discard background tabs
https://github.com/richtr/NoSleep.js/
I wonder if something like this will get "extended" to work for desktop browsers now if this needs to become more popular?
I think something simple like looping an empty audio or video file will suffice. Not that I agree with that from a "hijack the user's browser without their consent" perspective. Just spitballing workarounds.
- Show HN: Sleepblocker, prevent your device from falling asleep
-
Show HN: Prevent your computer sleeping with just a webpage
As Firefox (& I think Safari) does not support the ScreenWakeLock API are you using NoSleep.js? https://github.com/richtr/NoSleep.js
This library implements a hack and plays a very tiny video in a loop. This should even work on mobile devices and (according to my personal&tiny tests) is not that inefficient as it sounds :)
- Keeping computer awake while it compiles code
-
Teleport
Integrated WakeLock API to prevents device screens from dimming or locking during file share to get a stable transfer speed.
What are some alternatives?
snowboy - Future versions with model training module will be maintained through a forked version here: https://github.com/seasalt-ai/snowboy
keep-presence - Keeps your computer awake by moving the mouse or pressing a key when you step away.
mycroft-precise - A lightweight, simple-to-use, RNN wake word listener
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time
Caffe - Caffe: a fast open framework for deep learning.
quasar-framework - Quasar Framework - Build high-performance VueJS user interfaces in record time [Moved to: https://github.com/quasarframework/quasar]
DeepSpeech - DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.
mxnet - Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
Caffe2
Serpent.AI - Game Agent Framework. Helping you create AIs / Bots that learn to play any game you own!
whisper.cpp - Port of OpenAI's Whisper model in C/C++
Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration