I am trying to access my computer's audio source in order to stream to a back end server. I am using the tutorial found here which uses a webKitAudioContext object to facilitate this connection.
I'm confused by the stream object, however. First…
I'd like to add javascript (preferably without a library) to alter the pitch of the users voice to when using Twilios Webcall.
I used the following code in an attempt to modify the voice, however, did not note any differencing in the stream which I…
I have class MorseCodeAudio to create sound for Morse'a code. I'm using window.AudioContext. In my class I have an method with forEach:
morseCode() {
// irrelevant code
this.text.split('').forEach(letter => {
switch(letter) {
…
I faced a browser policy problem "The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page."
I wanted to execute that below code when page loaded.
So, I tried to mock the user click gesture using a…
I am trying to learn how to use Audiocontext to give surrounding effects to my sounds.
I've spent so many hours trying to set up a simple example on jfiddle or similar and I was frustrated to the extreme, unabel to set up the simplest of examples,…
I have a JavaScript file that takes an audio file, places it in a buffer and then allows the audio in the buffer to be processed (by changing the speed and loop duration).
I wish to record the resulting audio, including the manipulation, and place…
I'm trying to setup audio playback which I cannot get working on Safari 14.0.3, but works fine in Chrome 88.0.4324.146. I have a function that returns a AudioContext or webkitAudioContext. I followed this answer:…
I want to create an oscillator that starts and stops when the user presses a key (just the space bar of now). But if the key is pressed for a too long, something like one second - the oscillator gets stuck and doesn't stop();
let signal = {}
class…
I'm having an issue with certain MP3 files in Safari only.
Here's a codepen: https://codepen.io/parliament718/pen/ExjwWEp
In chrome, both buttons work to play both files.
In safari only the first button works.
Why is this? Does safari just choke…
in chrome PC i can record high frequencies , but in mobile chrome app or any other browser mobile app high frequencies are cutting off . any idea?
i have tried to create high pass filter with createBiquadFilter , did not work .
i am using Audio…
I want to decode .ogg contents into an ArrayBuffer.
I have following code in my Angular application component:
ngOnInit() {
(window as any).AudioContext = (window as any).AudioContext || (window as any).webkitAudioContext;
this.audioContext =…
Trying to get audio to play through Chrome. I have a functioning piece of code that works on Internet Explorer but not Chrome... I am able to get sound to play as long on Chrome as I comment out the line that says
var audioSrc =…
I was working with web audio API and I was following the code from
https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/suspend
to resume and suspend audio context. The suspending part is working but I can't resume after suspension.…
I am using the JavaScript Web Audio API, AudioContext, to play audio. It works fine with other major browsers, but Safari on MacOS raises NotSupportedError exception when calling the webkitAudioContext.createBuffer API. I found this question, Play…
I am trying to mix multiple audios using jquery UI drag and drop. Means I will add tracks on the audio context dynamically which is dropped on a container. I am able to get track buffer after drop using XMLHttpRequest.