Comments (4)
I found the sounddevice package, which might make this task quite easy. Maybe we can add this to 0.2?
from instantshare.
There is also this gist by 3demax for recording opus, which seems even more appealing to me.
from instantshare.
Regarding the considerations:
I don't know of a simple way to switch between two audio devices. There is pull request #34, but that only implements recording from the attached microphone.
PyAudio's input stream, by default, uses the standard audio device. I don't know of a simple way to switch devices. Even if I did, they can all have different names, and I'd imagine there needs to be some kind of interface to the platform's sound device implementation.
And this is just for existing devices. For recording from standard output device, we would need to do some mixing, which could be very complex (without having looked to deep into it). All that for the added benefit of being able to record and share sound you are already playing. I'm not even sure if that is a sensible use case for a tool like instantshare.
from instantshare.
I agree on the fact that there is not much use for sharing audio which is being played by your computer and there certainly would be a lot of effort needed to make this work.
I would suppose to reduce the goals of this issue to only be able to record audio from the microphone, which is already being addressed in pull request #34. (at least for the assigned milestone "Version 0.2")
from instantshare.
Related Issues (20)
- Adhere to best practices for storing data HOT 1
- Integrate persistent data encryption HOT 3
- Improve Config Parser implementation HOT 1
- Implement ability to cancel taking a cropped screenshot HOT 2
- Rework dependency management to support dependencies for different platforms HOT 2
- Windows: ImportError: No module named 'win32api' HOT 1
- Make tools/audio.py more generic
- Graphical User Interface
- Update setup.py
- Bump up version number
- Tray Menu Crash HOT 2
- Stuck when trying to take a screenshot HOT 1
- Improve Logging Options
- Add win10toast requirement to requirements-windows.txt again HOT 1
- Update Tray menu and hotkeys to support new options
- Error Handling and Logging
- URL Shortener Support HOT 1
- Update Readme to include new features for 0.2
- Built instantshare executable doesn't print console output
- Trayicon not responding after "denying" or closing imgur access
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instantshare.