Live data from Hacker News

Wavacity – a FOSS port of Audacity to the web

wavacity.com

141–148 of 148 posts

Re: Wavacity – a FOSS port of Audacity to the web

#141

Earlier quoted context omitted.

OK. Let me rephrase. If all browsers would support the very useful set of experimental FSA APIs implemented in Chrome/Edge's desktop browsers, then these types of web apps would be even more usable. There was nothing biased in my comment - even Chrome for Android doesn't support these APIs.

What useful features aren’t implemented in other browsers?

Persistent read/write access to user-defined folders rather than only to private origins.

You know how everyone complains about Flatpak sandboxing until they learn about portals and Bubblewrap because the programs are isolated from the rest of their disk? The web is like that, except without portals and Bubblewrap. You can save stuff and drag files in, but you can't really integrate a webapp with a user's local filesystem -- and it's very hard to keep all of a webapp's data in a user-inspectable format that's easy to transform, open up with native apps, or transfer across browsers or websites.

Now, the problem is that persistent read/write access to user-defined folders is wildly dangerous. And Google's proposal is... not the worst thing in the world? But it's suboptimal and it's a missed opportunity to build something far better, and I kind of understand why Mozilla considers it harmful.

Getting this wrong would have permanent implications for the web. Mozilla is absolutely right to be cautious. However, it's also really holding the web back and in particular holding back PWAs because the only really reliable way as a developer to store data via the web is to sync it to an online account. As a result offline webapps are very limited; you never really trust the storage.

It's an extremely dangerous feature that we really need, but it's not clear who should champion it and I don't really trust Google to be heavily involved in the spec process, let alone to be the people writing the first draft. I don't think Google is good at building nuanced web specs even when there's no conflict of interest at all (see the web audio API, HTML templates, etc...). A lot of Google specs end up being very weird and they end up having strange quirks and very strange limitations that don't need to exist? They're very often kind of orthogonal to what the community needs. I don't know if the problem is that Google doesn't think enough about the spec or that they think too much and over-complicate things, but for low-level important features I prefer other browser-makers to lead the way.

What would be best is if a team with more earned trust picked up the spec and went over it again trying to better address the dangers and trying to make something that better addressed everyone's needs in a cleaner way, but there are not a ton of stakeholders on the web that I trust to do that. As it stands the proposal is... ok-ish? But needs a lot more discussion and could be better. I don't blame anyone for being hesitant about it; the potential for abuse is so unbelievably high.

But... it is a serious limitation that I can't ask for persistent read/write access to a folder from an offline webapp.

Re: Wavacity – a FOSS port of Audacity to the web

#142

Earlier quoted context omitted.

I agree that it running on mobile safari is incredible - I wouldn’t call the UI ‘usable’ though, it’s a straight duplicate of the desktop UI, which isn’t geared for mobile by any stretch of the imagination, and is actually unusable on my iPhone due to (I assume) far too small a clickable area for most controls. A UI rework to incorporate mobile-friendly design would be a ton of effort, but it would really take this p…

Does EVERY desktop application really need to run on mobile? Some apps are just... call me crazy... desktop apps! (NOTE: "native vs. browser-based" is separate distinction from "desktop vs. mobile".) That's not to say that there can't be mobile audio apps, or mobile whatever. I just think that's a separate app, and should be designed and written as a mobile app from conception. I realize that a large cohort finds des…

> that serious and powerful desktop interfaces

This is what people like me have been getting at for ages when we talk about decoupling interfaces from application logic. It's also incidentally a really strong argument for decoupling state presentation from visual presentation. I should be able to build a mobile interface for Audacity without rebuilding Audacity both because the audio processing logic should be separate from the interface and because the interface should be separate from the visuals -- I should be able to consume Audacity's interface as an XML tree and pipe it into a separate renderer.

Because if that was the case it wouldn't be that hard to make Audacity mobile friendly (or at least more mobile friendly than it currently is).

As a bonus, if your interface is consumable as an XML tree without rendering anything, it's very likely going to be much easier to make the interface accessible. From what I can see in the documentation, Audacity as a native app on desktop doesn't work with screen readers on Linux.

This is not necessarily anyone's fault beyond GUI toolkit designers, it's not particular to Audacity, but it's a paradigm shift. Some visual controls wouldn't work well on mobile, but for most apps including Audacity there's really no reason (other than lack of existing infrastructure and toolkit support) why people shouldn't be able to just swap out those visual controls with ones that do work on mobile and use Audacity normally otherwise.

Re: Wavacity – a FOSS port of Audacity to the web

#143
post #138

Earlier quoted context omitted.

> Then it is correct? Many of the Fugu APIs don't work. I didn't say none You claimed that support was significantly worse than on Mac or Windows, and the chart certainly doesn't bear that out. And your examples seem... pretty cherry picked? I mean, there's junk that fails everywhere. If color pickers are core to your job, then... OK, I guess. It's a hole. It doesn't seem to remotely justify the kind of bile and hatr…

I gave another example as well. I'm also not spewing any "hate" or "bile" for an inanimate operating system. To make this easier to understand, please give me an example of what's missing from Mac or Windows and I'll share the way it can easily be accomplished in a native environment. After that, we can try to do the same for ChromeOS and you'll see where the holes appear. Fugu is about slowly moving Mac and Windows…

> To make this easier to understand, please give me an example of what's missing from Mac or Windows and I'll share the way it can easily be accomplished in a native environment. After that, we can try to do the same for ChromeOS and you'll see where the holes appear.

Which is kinda what I thought. This isn't about your upthread point about Fugu. You're doing a platform advocacy thing, which I'm not interested in. I jumped in to point out that it's simply not true that Fugu is poorly supported in ChromeOS, because it's not. I'm not trying to have a fight about platforms.

Re: Wavacity – a FOSS port of Audacity to the web

#144

Earlier quoted context omitted.

What useful features aren’t implemented in other browsers?

Persistent read/write access to user-defined folders rather than only to private origins. You know how everyone complains about Flatpak sandboxing until they learn about portals and Bubblewrap because the programs are isolated from the rest of their disk? The web is like that, except without portals and Bubblewrap. You can save stuff and drag files in, but you can't really integrate a webapp with a user's local files…

I don't want this in my browser, at all. I understand that it makes the web less powerful as a platform, and I'm entirely comfortable with that.

Re: Wavacity – a FOSS port of Audacity to the web

#145

Earlier quoted context omitted.

Persistent read/write access to user-defined folders rather than only to private origins. You know how everyone complains about Flatpak sandboxing until they learn about portals and Bubblewrap because the programs are isolated from the rest of their disk? The web is like that, except without portals and Bubblewrap. You can save stuff and drag files in, but you can't really integrate a webapp with a user's local files…

I don't want this in my browser, at all. I understand that it makes the web less powerful as a platform, and I'm entirely comfortable with that.

It's not just that it makes the web less powerful, it also makes it less private and less user-controllable. There is no effective way to build an offline webapp that handles important data, if you're building a website that handles actually important data -- that data is getting synced to an online account.

As a result there are a number of web-apps that could be entirely account-free and offline that aren't. It also makes it a lot harder for users to move and transform data, although maybe that's less of a consideration nowadays since mobile has kind of standardized data silos even for native apps that would have previously had portable databases or worked directly with files.

Not saying you should want it, I completely understand and am completely sympathetic to anyone who says "the benefits don't outweigh the risks." That is a fine position for someone to take. That being said, this isn't just about trying to make the web more powerful, it's also in a lot of ways about fixing long-time deficiencies in the web that have made it less private and that forcibly shift the majority of even well-intentioned web software into a user-hostile SaaS model. When every webapp is a SaaS business with web accounts, that decreases hobby development in favor of corporate development and encourages users to spread their data in (imo) irresponsible ways.

Re: Wavacity – a FOSS port of Audacity to the web

#146
post #134

Earlier quoted context omitted.

Says responsible developers. Good software doesn't need to phone home or report to the dev that they clicked widget X instead of Y. Telemetry is what happens when lazy or complacent devs move forward in their software but decide to be 'data driven'. What's wrong with accusing someone of having the ability to spy of maybe spying ? The point with technology and humans is, if the ability is there, it's not 'if' it will…

“Says responsible developers”. That’s called rationalizing friend. This conversation can go nowhere because you believe you’re right and others are wrong. You really should accept that you have a specific preference and other people have other preferences. It’s not a question of right or wrong.

I disagree, I consider it a matter of ethics when I'm deciding whether or not to add telemetry to a piece of software. Passing it off as a preference is equating them, when the software with telemetry is less trustworthy and has a broader attack surface due to network connectivity. Maybe doing all that is worth treating your users like a science project, but it's not just a preference to me.

There is too much behind-the-scenes telemetry, analytics, and other intel-gathering happening on websites and in software. The gains are held solely by developers who either cannot figure out how to build their software, or whose management is so incompetent that there's no real connection to the users of the software, so making meaningful and helpful change to the software is less accessible.

I strongly hold that the practice creates less durable software that also primes a user to expect their software to study their behavior and change accordingly. That is supremely creepy, and users deserve better treatment than that. It's our job as developers to respect the resources our software is using on the user's machine, and for them to be 100% informed of anything they may be sharing over the wire.

Maybe that viewpoint isn't in line with VC-backed startups or enterprise, but I also don't expect them to act ethically wrt software, either... Analytics and telemetry created the data brokerage industry. Programmers are responsible for allowing that behemoth to invade and shape lives.

Re: Wavacity – a FOSS port of Audacity to the web

#147
post #32

Wavacity developer here. I released this a year ago under the name "wavvy" but needed to rename the project because of a trademark conflict. https://news.ycombinator.com/item?id=32688646

Can this somehow be used to edit a file on a system remotely? Say I have some .wav's on a raspberryPi, can I publish them, edit, send them back to that raspberryPi?

Because that seems to me to be a very awesome use-case ..

Post reply on HN