Properties
Category
German
Similar Topics
Statistics
Comments
13
Participants
5
Subscribers
5
Votes
2
Views
941
Share
Answered
Hello,
I know that the PlaySound-Command isn't working on Geogebra Tube - or at least I read it in some threads that are now about five years old. Is there any chance that this might change in the (near) future? At least playing midi-sound would be a very nice feature.
I created an applet to train the ability to recognize music intervals:
https://www.geogebra.org/m/sk45tcp9
But without the sound it is rather useless.
I would be happy to hear (positive) comments on that.
Thanks a lot!
Doro
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
midi is java based, which was typical for GG5 and one has discarded java because of the evolution of browsers en the choice for html5 universally. That makes that midi-features and codes still (but only) work offline in GG5. You can regret this and I do with you, but nobody can neglect the banning of java by browsers and the shift for htm5 either.
Hi, example of using PlaySound in html5:https://www.geogebra.org/m/Z3ZMP9Qw
Indeed you can use it in html5, but not with the possibilities of midi to use instruments etc. You can find the syntaxes ant midi remarks in the wiki https://wiki.geogebra.org/e...
Hi,
I'm sorry to come up with this again, but PlaySound is still keeping me puzzled.
I have two questions:
First: I am trying to link to mp3-files that I uploaded to GeogebraTube as described here: https://wiki.geogebra.org/e...
The first example I got working in this file: https://www.geogebra.org/cl... (It is the button "Welcome to Geogebra."
The second example is not working (It is the button "Welcome to Geogebra (2)". ) Therefore also the buttons "Spiel MP3" and "Spiele MP3 (2.Versuch)" are not doing what they are supposed to do.
Am I getting anything wrong with the syntax?
Second problem: I used the PlaySound-command for this applet: https://www.geogebra.org/m/agvmg24s
When I start the applet and hit one of the many buttons I get an error displayed like "Error in script at line 2 from object a0. UnknownCommand: Playsound."
Then: if I stay in the same browser-tab, open the activity that I mentioned above (https://www.geogebra.org/cl...), play the first button (which gives me a sinus-tone), then go back to the interval-activity, then the buttons work correctly.
I was able to reproduce this bug (?) with different browsers (Firefox, Chrome, Edge) and also on my android phone (using firefox there as well).
Do you have any idea, what the problem could be?
Thank you in advance!
Doro
You can play MIDI files using MIDI.js. Here's an example:
https://www.geogebra.org/m/uc4nxjzq
Vaya, ahora que había encontrado el error
espero que se me entienda
abre https://www.geogebra.org/cl... (se abrirá con classic )
abre settings --->script--->onclick de una de las teclas de piano entonces clic sobre Playsound(). él cambia a PlaySound(). entonces presiona tabulador clic sobre Playsound() y así para todas. el problema es S . guarda y arreglado
you had the answer in title of your first post
Comments have been locked on this page!