Skip to content

Safari has issues with frequency get/set #146

Open
@jlyman

Description

@jlyman

I've hit an issue where I can't change the frequency of a Sound after creating it in Safari. Works just fine in other browsers that I've tested so far (FF 79+ and Chrome 84+) but Safari v14 the following would result in null or no change in the sound:

const sound = new Pizzicato.Sound({
  source: "wave",
  options: {
    frequency: 400,
  },
});

console.log('Frequency: ', sound.frequency);
sound.frequency = 500;

I've created a fiddle to compare it amongst the different browsers: https://jsfiddle.net/7fgs8d0h/

As I've been writing this up it occurred to me that this may potentially be occurring on other properties like volume, though I haven't tested it.

Could I be missing something obvious here? Thanks in advance for any assistance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions