SkillAgentSearch skills...

Better Oscillator

A better OscillatorNode for the Web Audio API using AudioWorklet

Install / Use

npx skills add ethan-dorta/better-oscillator

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

better-oscillator

Improved oscillator for the WebAudio API using the new Audio Worklet API. It is currently only usable in Chrome.

Exposes the following parameters:

  • frequency:
    • Min: 1
    • Max: Infinity
    • Default: 440
    • Description: Frequency at which the oscillator will vibrate at.
  • wave:
    • Min: 0
    • Max: 4
    • Default: 3
    • Description: Sets the waveform of the oscillator. If the number is not an integer, it will be rounded down.
      • 0 - triangle
      • 1 - pulse
      • 2 - sawtooth
      • 3 - sine
      • 4 - noise
  • phase:
    • Min: 0
    • Max: Infinity
    • Default: 0
    • Description: Controls the phase offset of the waveform.
  • sync:
    • Min: 0
    • Max: Infinity
    • Default: 0
    • Description: Sets the frequency that the oscillator will hard sync to.
  • duty:
    • Min: 0
    • Max: 1
    • Default: 0.5
    • Description: Controls the duty cycle of the current oscillator ONLY if it is a pulsewave.

Related Skills

View on GitHub
GitHub Stars40
CategoryDevelopment
Updated11mo ago
Forks0

Languages

JavaScript

Security Score

67/100

Audited on Sep 3, 2025

No findings