We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
During the page loading , in chrome console it is showing
julius.js:22 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
problem is here
var initializeAudio = function(audio) { audio.context = new (window.AudioContext || window.webkitAudioContext)(); audio.processor = audio.context.createScriptProcessor(4096, 1, 1); };
Please somebody tell me how to solve this..
The text was updated successfully, but these errors were encountered:
as described here update your dist/julius.js as follows:
// initializeAudio(this.audio); // bootstrap.call(this, pathToDfa, pathToDict, options); document.querySelector('button').addEventListener('click', function() { initializeAudio(that.audio); bootstrap.call(that, pathToDfa, pathToDict, options); });
Sorry, something went wrong.
and shown here, add a button to the HTML page that calls Julius, e.g.:
<button type="button">Click Me!</button>
No branches or pull requests
During the page loading ,
in chrome console it is showing
julius.js:22 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
problem is here
var initializeAudio = function(audio) {
audio.context = new (window.AudioContext || window.webkitAudioContext)();
audio.processor = audio.context.createScriptProcessor(4096, 1, 1);
};
Please somebody tell me how to solve this..
The text was updated successfully, but these errors were encountered: