+ 2
Why doesn’t this make any sound??
The oscillator in the code below doesn’t seem to work. I’ve searched up loads of tutorials online, and they all give me the same answer, yet nothing happens. Why? If you give me the answer I need, then you can have something from the lolly jar below! https://code.sololearn.com/WIwopM3Du51x/?ref=app P.S I’m using my iPad on the SoloLearn iOS app. ↤↤↤↤↤ ᏖᏂᏋ ᏝᎧᏝᏝᎩ ᏠᏗᏒ ↦↦↦↦↦ ︹︹︹ |______| | | |🍪🍪| |🍭🍭| ▔▔▔
10 ответов
+ 4
I had no idea, let's wait for other suggestion.
Other than that could be hardware problem ? Check your device sound, by running the other's code thats working for you before
+ 3
It seems your phone doesnt recognize WebkitAudioContext, try to change it to AudioContext
Or use both, for better compatibility
new (window.webkitAudioContext || window.AudioContext)();
+ 3
I just try the method i mentioned above, and it works i can hear the sound. Probably due incompatibility, you can check here
https://developer.mozilla.org/en-US/docs/Web/API/AudioContext
+ 3
Wierd... Let's try this
https://code.sololearn.com/W5pu5X6gQOHS/?ref=app
It's basicly your code, dont worry i'll delete it ASAP
I just tested it again and It's working
+ 2
Taste but I see other codes with an oscillator in them and they work!!
+ 2
Can you link one of code that WORKS on your device?
+ 1
Taste No, I tried that before, and it didn’t work.
+ 1
Taste nothing.
+ 1
KrOW this one works for me: https://code.sololearn.com/WUGRWCpvHJqz/?ref=app