Skip to content

Brave Shields "Block Audio fingerprinting" breaks drums #102

@RmbRT

Description

@RmbRT

I just found this project because a friend was complaining about having to use windows for his DAW needs. I figured, since linux DAWs suck, there could be a free web DAW. Looks solid to me. However, I came across a problem using brave:

In the left bar where you can select the different drum sounds, they play properly when you click on the samples. But once I drag them into the drum window, and play them from there, I only hear a white noise. And afterwards, the sound of the corresponding drum sample in the library on the left is also white noise. The piano works properly. On firefox, or with Brave Shields' "Audio fingerprinting" protection off, everything works.

Screenshot on the left: linux, brave, shields up: Note how the samples are even shown as a flat line. Screenshot on the right: same machine, firefox: Note how the samples are displayed properly. It also looks that way with shields down.
image image

I recommend either detecting this case and notifying the user that they should try to disable brave shields within the app, or finding some workaround that either doesn't trigger the shields, or uses another way to play audio. Although I'm not familiar with the web audio API. But it seems somewhat trivial to at least detect this, as you can simply read the canvas of the audio wave in the drums menu, and check whether it's a flat line.

Interestingly, it doesn't always break the samples in the library. I just tested it again and a few samples broke and a few didn't. The waveform canvas in the library is not affected even on broken samples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions