1.0.7 • Published 4 years ago

synthjunk v1.0.7

Weekly downloads
2
License
BSD
Repository
github
Last release
4 years ago

synthjunk

A place to mess around with sounds:

Web site.

A module for creating rudimentary synths:

npm install --save synthjunk

var playSynth = require('synthjunk');

playSynth({
  index: +indexField.value, // Integer
  modFreq: +modFreqField.value, // Float
  carrierType: waveTypeSelect.value, // 'sine', 'square', 'sawtooth', 'triangle', or 'custom'
  carrierFreq: +carrierField.value, // Float
  carrierCustomWaveArrayLength: +arrayLengthField.value, // Integer
  carrierCustomWaveSeed: waveSeedField.value, // String
  envelopePeakRate: +peakRateField.value, // Float
  envelopeDecayRate: +decayRateField.value, // Float
  vibratoRateFreq: +vibratoRateField.value, // Float
  vibratoPitchVariance: vibratoPitchField.value, // Float
  durationSeconds: +durationField.value, // Float
  ctx // AudioContext
});

See app.js for a more detailed example.

TODO: Types?

License

BSD

Copyright (c) 2020 Jim Kang

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago