-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live Playing #22
Comments
Rendering to memory, and playing it? It's the naive method but we should check if it's not too inefficient it should be OK. |
No need to even render into memory. It's already in memory, in the |
yes it will be faster, if we could play sound without creating files... |
we currently we could create hidden temp files, and play it... xD no body will ever know it |
We're gonna have to use a 3rd-party library.. There is nothing in the standard library that is OS independent.. Look here: http://wiki.python.org/moin/Audio/ |
I will try implementing this feature asap |
See 2c34064. We have sped up the rendering process twenty-fold, to the point where playing live is close to feasible (we know the speed is there). |
This could be done easily with Pygame. I recommend something that will try to use a few different libraries... |
We need to make a
play()
orsample()
method which gives Melopy that capabilities of playing sound right from.data
. This shouldn't be terribly hard to achieve, considering programs like Audacity do it without issue. Any ideas?The text was updated successfully, but these errors were encountered: