-
Notifications
You must be signed in to change notification settings - Fork 0
src3453 edited this page Aug 5, 2023
·
3 revisions
Make some waveform.
psg(wftype[, vol[, freq[, duty[, phase]]]])
| Name | Type | Description |
|---|---|---|
wftype |
selection |
type of waveform. (see later) |
vol |
float |
volume of waveform.(optional) |
freq |
float |
frequency of waveform.(optional) |
duty |
integer |
duty of square wave.(square wave only, optional) |
phase |
integer |
phase of waveform.(optional) |
| Name | Description |
|---|---|
wft.SQU |
square wave |
wft.TRI |
triangle wave |
wft.SAW |
sawtooth wave |
wft.SIN |
sine wave |
wft.NOI |
noise wave |