systemctl restart ofono
works for me to restart the modem manager in Ubuntu Touch after the Pinephone Pro has been asleep.
If you're using Mobian + Phosh, it was restart eg25-manager instead of ofono.
systemctl restart ofono
works for me to restart the modem manager in Ubuntu Touch after the Pinephone Pro has been asleep.
If you're using Mobian + Phosh, it was restart eg25-manager instead of ofono.
@sven That's an interesting project, but my (limited) understanding is that the operating system needs integrated voices for the speech synthesis API to work in the browser. So that something more is needed than adding an app to tte Open Store. MDN: "Again, most OSes have some kind of speech synthesis system, which will be used by the API for this task as available." https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
This is just a convenience for me, but could be more central for people with visual impairment. I'm loving version 2 of Ubuntu Touch on the Pixel 3a--especially the ability to use Brave search as default in Morph and choose more alarm tones--but I noticed that no voices are loading when I run the MDN speech synthesis demo in Morph: https://mdn.github.io/dom-examples/web-speech-api/speak-easy-synthesis/ whereas it does work on Ubuntu Unity 23.04 in Firefox.
Is there any voices package that could be bundled with Ubuntu Touch in the future to make this work?
@andrew907 I don't know what the problem was, probably an issue with limited memory, but I reworked my code to rely primarily on offline audio contexts. Morph is still giving me the error messages about stopping and starting timers from another thread, but it's also generating the music as expected based on my preliminary test. Very slowly, but we can chalk that up to the hardware rather than Ubuntu Touch, because the ram use spikes above 90%. We can mark this issue as resolved.
[29/05/2023 03:36] qml: System low on memory, but unable to pick a tab to unload
There are two variables, the hardware capacity and the software. Until some phone becomes available with a decent amount of ram, there's probably not a way to find out whether Morph could do the job with enough computing resources or whether Morph is missing some needed component that desktop Firefox has.
I'm trying to write a synthesizer with web audio and client side javascript. I'm using a mechanism along the lines of github.com/cwilso/metronome (boils down to window.setTimeout) to schedule oscillators nearer to when the music needs them, because scheduling them all up front was taking an impossible amount of ram.
Results on a test piece of music: works reasonably as expected in Firefox on 2020 m1 macbook air, stutters in Firefox on Ubuntu Unity (presumably because the machine only has two cores and 4 gb of ram). I was hoping to at least get stuttering audio in Morph on Ubuntu Touch Focal OTA-1 on the Pixel 3a, because that would indicate that my code was probably valid even if the hardware is underpowered.
Instead, I'm seeing this message in the log viewer app:
[23/05/2023 16:51] QObject::startTimer: Timers cannot be started from another thread
[23/05/2023 16:52] QObject::killTimer: Timers cannot be stopped from another thread
Does anyone who understands better how Morph works than I do have any ideas about what the issue might be?
I tried on my Pinephone but Morph is too old to recognize the replaceAll method, but I might try this in Firefox on Mobian on the Pinephone to get another data point when I get a chance to set up a Mobian install.
I am running build 2020-09-08. I installed it a couple weeks ago and I thought I'd installed some updates successfully. I can still update apps in the Open Store but whenever I try to update apps from Settings, I get the message
Update failed
ProcessError: 0 - ErrInProcess
Exit code: 7
Stdout:
Stderr:
Is this a known bug and will a fix be available at some point?