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
How to automate startRecording and stopRecording #213
Comments
In the |
@gleitz , main challenge is to automate
and I want to implement
I have implemented It seems |
You should put the |
@gleitz , I provided incomplete information, sorry for that. Actually I want to execute Because all these three functions execute asynchronously. Is there any way to achieve that. Also I am thinking about calculating the time of whole melody based on tempo and schedule |
@gleitz , I am successful to implement stop recording by scheduling |
Awesome! Maybe you can post some sample code for others who might have this issue :) |
I have array of delay for each note in miliseconds
I add all these delay to calculate total time of melody, and call
|
Please refer this issue #169
I want to record the sound made by MIDI.js as soon as it starts making sound
I am partially successful to achieve this. Means I have buttons to start and stop recording when MIDI.js is making sound please refer below gist
https://gist.github.com/shivrajsa/b4e4467a21420e74638b650a3c4b3bac
But I want it to be automatic i.e. recording should start automatically as soon as MIDI.js starts making sound and it should stop automatically when it stops. It should not require manual buttons to control recording.
Please guide to achieve this
The text was updated successfully, but these errors were encountered: