supersonic-scsynth-synthdefs 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +24 -0
- package/README.md +116 -0
- package/index.js +26 -0
- package/package.json +33 -0
- package/synthdefs/sonic-pi-amp_stereo_monitor.scsyndef +0 -0
- package/synthdefs/sonic-pi-basic_mixer.scsyndef +0 -0
- package/synthdefs/sonic-pi-basic_mono_player.scsyndef +0 -0
- package/synthdefs/sonic-pi-basic_stereo_player.scsyndef +0 -0
- package/synthdefs/sonic-pi-bass_foundation.scsyndef +0 -0
- package/synthdefs/sonic-pi-bass_highend.scsyndef +0 -0
- package/synthdefs/sonic-pi-beep.scsyndef +0 -0
- package/synthdefs/sonic-pi-blade.scsyndef +0 -0
- package/synthdefs/sonic-pi-bnoise.scsyndef +0 -0
- package/synthdefs/sonic-pi-chipbass.scsyndef +0 -0
- package/synthdefs/sonic-pi-chiplead.scsyndef +0 -0
- package/synthdefs/sonic-pi-chipnoise.scsyndef +0 -0
- package/synthdefs/sonic-pi-cnoise.scsyndef +0 -0
- package/synthdefs/sonic-pi-dark_ambience.scsyndef +0 -0
- package/synthdefs/sonic-pi-dpulse.scsyndef +0 -0
- package/synthdefs/sonic-pi-dsaw.scsyndef +0 -0
- package/synthdefs/sonic-pi-dtri.scsyndef +0 -0
- package/synthdefs/sonic-pi-dull_bell.scsyndef +0 -0
- package/synthdefs/sonic-pi-fm.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_autotuner.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_band_eq.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_bitcrusher.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_bpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_compressor.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_distortion.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_echo.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_eq.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_flanger.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_gverb.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_hpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_ixi_techno.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_krush.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_level.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_lpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_mono.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_nbpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_nhpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_nlpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_normaliser.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_nrbpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_nrhpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_nrlpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_octaver.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_pan.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_panslicer.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_ping_pong.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_pitch_shift.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_rbpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_record.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_reverb.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_rhpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_ring_mod.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_rlpf.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_scope_out.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_slicer.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_sound_out.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_sound_out_stereo.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_tanh.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_tremolo.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_vowel.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_whammy.scsyndef +0 -0
- package/synthdefs/sonic-pi-fx_wobble.scsyndef +0 -0
- package/synthdefs/sonic-pi-gabberkick.scsyndef +0 -0
- package/synthdefs/sonic-pi-gnoise.scsyndef +0 -0
- package/synthdefs/sonic-pi-growl.scsyndef +0 -0
- package/synthdefs/sonic-pi-hollow.scsyndef +0 -0
- package/synthdefs/sonic-pi-hoover.scsyndef +0 -0
- package/synthdefs/sonic-pi-kalimba.scsyndef +0 -0
- package/synthdefs/sonic-pi-live_audio.scsyndef +0 -0
- package/synthdefs/sonic-pi-live_audio_mono.scsyndef +0 -0
- package/synthdefs/sonic-pi-live_audio_stereo.scsyndef +0 -0
- package/synthdefs/sonic-pi-mixer.scsyndef +0 -0
- package/synthdefs/sonic-pi-mod_dsaw.scsyndef +0 -0
- package/synthdefs/sonic-pi-mod_fm.scsyndef +0 -0
- package/synthdefs/sonic-pi-mod_pulse.scsyndef +0 -0
- package/synthdefs/sonic-pi-mod_saw.scsyndef +0 -0
- package/synthdefs/sonic-pi-mod_sine.scsyndef +0 -0
- package/synthdefs/sonic-pi-mod_tri.scsyndef +0 -0
- package/synthdefs/sonic-pi-mono_player.scsyndef +0 -0
- package/synthdefs/sonic-pi-noise.scsyndef +0 -0
- package/synthdefs/sonic-pi-organ_tonewheel.scsyndef +0 -0
- package/synthdefs/sonic-pi-piano.scsyndef +0 -0
- package/synthdefs/sonic-pi-pluck.scsyndef +0 -0
- package/synthdefs/sonic-pi-pnoise.scsyndef +0 -0
- package/synthdefs/sonic-pi-pretty_bell.scsyndef +0 -0
- package/synthdefs/sonic-pi-prophet.scsyndef +0 -0
- package/synthdefs/sonic-pi-pulse.scsyndef +0 -0
- package/synthdefs/sonic-pi-recorder.scsyndef +0 -0
- package/synthdefs/sonic-pi-rhodey.scsyndef +0 -0
- package/synthdefs/sonic-pi-rodeo.scsyndef +0 -0
- package/synthdefs/sonic-pi-saw.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_bassdrum.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_clap.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_claves.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_closed_hihat.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_congahi.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_congalo.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_congamid.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_cowbell.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_cymbal.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_maracas.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_open_hihat.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_rimshot.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_snare.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_tomhi.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_tomlo.scsyndef +0 -0
- package/synthdefs/sonic-pi-sc808_tommid.scsyndef +0 -0
- package/synthdefs/sonic-pi-scope.scsyndef +0 -0
- package/synthdefs/sonic-pi-server-info.scsyndef +0 -0
- package/synthdefs/sonic-pi-sound_in.scsyndef +0 -0
- package/synthdefs/sonic-pi-sound_in_stereo.scsyndef +0 -0
- package/synthdefs/sonic-pi-square.scsyndef +0 -0
- package/synthdefs/sonic-pi-stereo_player.scsyndef +0 -0
- package/synthdefs/sonic-pi-subpulse.scsyndef +0 -0
- package/synthdefs/sonic-pi-supersaw.scsyndef +0 -0
- package/synthdefs/sonic-pi-tb303.scsyndef +0 -0
- package/synthdefs/sonic-pi-tech_saws.scsyndef +0 -0
- package/synthdefs/sonic-pi-tri.scsyndef +0 -0
- package/synthdefs/sonic-pi-winwood_lead.scsyndef +0 -0
- package/synthdefs/sonic-pi-zawa.scsyndef +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2012 - 2025 Samuel Aaron and contributors (sam@sonic-pi.net)
|
|
4
|
+
|
|
5
|
+
These synthdefs are from the Sonic Pi project:
|
|
6
|
+
https://github.com/sonic-pi-net/sonic-pi
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in
|
|
16
|
+
all copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
24
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# supersonic-scsynth-synthdefs
|
|
2
|
+
|
|
3
|
+
All Sonic Pi synthdefs (120 binary `.scsyndef` files) for [SuperSonic](https://github.com/samaaron/supersonic).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install supersonic-scsynth-synthdefs
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Use with the core engine:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install supersonic-scsynth supersonic-scsynth-synthdefs
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### Browser with CDN
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
import { SuperSonic } from 'https://unpkg.com/supersonic-scsynth';
|
|
23
|
+
|
|
24
|
+
const sonic = new SuperSonic();
|
|
25
|
+
await sonic.init();
|
|
26
|
+
|
|
27
|
+
// Load synthdefs from CDN
|
|
28
|
+
await sonic.loadSynthDefs(
|
|
29
|
+
['sonic-pi-beep', 'sonic-pi-tb303', 'sonic-pi-prophet'],
|
|
30
|
+
'https://unpkg.com/supersonic-scsynth-synthdefs/synthdefs/'
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Browser with Bundler (Vite/Webpack)
|
|
35
|
+
|
|
36
|
+
Copy synthdefs to your public directory:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
cp -r node_modules/supersonic-scsynth-synthdefs/synthdefs public/
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Then use:
|
|
43
|
+
|
|
44
|
+
```javascript
|
|
45
|
+
import { SuperSonic } from 'supersonic-scsynth';
|
|
46
|
+
|
|
47
|
+
const sonic = new SuperSonic();
|
|
48
|
+
await sonic.init();
|
|
49
|
+
|
|
50
|
+
await sonic.loadSynthDefs(
|
|
51
|
+
['sonic-pi-beep', 'sonic-pi-tb303'],
|
|
52
|
+
'/synthdefs/'
|
|
53
|
+
);
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Using Path Helper (Node.js)
|
|
57
|
+
|
|
58
|
+
```javascript
|
|
59
|
+
import { SYNTHDEFS_CDN } from 'supersonic-scsynth-synthdefs';
|
|
60
|
+
|
|
61
|
+
// Use CDN path for browser compatibility
|
|
62
|
+
await sonic.loadSynthDefs(['sonic-pi-beep'], SYNTHDEFS_CDN);
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Included Synthdefs
|
|
66
|
+
|
|
67
|
+
All 120 Sonic Pi synthdefs including:
|
|
68
|
+
|
|
69
|
+
### Synths
|
|
70
|
+
- Basic: beep, saw, square, tri, pulse
|
|
71
|
+
- Analog: dsaw, dpulse, dtri, prophet, tb303
|
|
72
|
+
- FM: fm, mod_fm
|
|
73
|
+
- Subtractive: bass_foundation, bass_highend, blade, hoover, zawa
|
|
74
|
+
- Chip: chiplead, chipbass, chipnoise
|
|
75
|
+
|
|
76
|
+
### Noise
|
|
77
|
+
- bnoise, cnoise, gnoise, pnoise
|
|
78
|
+
|
|
79
|
+
### Pads & Ambient
|
|
80
|
+
- dark_ambience, hollow, growl, organ_tonewheel
|
|
81
|
+
|
|
82
|
+
### Plucked & Percussion
|
|
83
|
+
- pluck, kalimba, piano, rhodey
|
|
84
|
+
|
|
85
|
+
### Effects (fx_*)
|
|
86
|
+
All standard effects:
|
|
87
|
+
- Reverb: reverb, gverb
|
|
88
|
+
- Delay: echo, ping_pong
|
|
89
|
+
- Filters: lpf, hpf, bpf, rbpf, nrlpf, nhpf, etc.
|
|
90
|
+
- Modulation: flanger, tremolo, wobble, ring_mod
|
|
91
|
+
- Distortion: distortion, bitcrusher, krush, tanh
|
|
92
|
+
- Dynamics: compressor, normaliser, limiter
|
|
93
|
+
- Spatial: pan, panslicer
|
|
94
|
+
- Spectral: pitch_shift, octaver, whammy
|
|
95
|
+
- And more...
|
|
96
|
+
|
|
97
|
+
### Drums (sc808_*)
|
|
98
|
+
Complete TR-808 drum machine:
|
|
99
|
+
- bassdrum, snare, rimshot
|
|
100
|
+
- closed_hihat, open_hihat
|
|
101
|
+
- clap, cowbell, maracas
|
|
102
|
+
- cymbal, claves
|
|
103
|
+
- tom (hi, mid, lo)
|
|
104
|
+
- conga (hi, mid, lo)
|
|
105
|
+
|
|
106
|
+
See [synthdefs/README.md](synthdefs/README.md) for complete list.
|
|
107
|
+
|
|
108
|
+
## Source
|
|
109
|
+
|
|
110
|
+
These synthdefs are from [Sonic Pi](https://sonic-pi.net/) by Sam Aaron.
|
|
111
|
+
|
|
112
|
+
**Source**: https://github.com/sonic-pi-net/sonic-pi/tree/dev/etc/synthdefs/compiled
|
|
113
|
+
|
|
114
|
+
## License
|
|
115
|
+
|
|
116
|
+
GPL-3.0-or-later
|
package/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Sonic Pi SynthDefs for SuperSonic
|
|
2
|
+
// All 120 binary synthdef files from Sonic Pi
|
|
3
|
+
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
import { dirname, join } from 'path';
|
|
6
|
+
|
|
7
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
+
const __dirname = dirname(__filename);
|
|
9
|
+
|
|
10
|
+
export const SYNTHDEFS_DIR = join(__dirname, 'synthdefs');
|
|
11
|
+
|
|
12
|
+
// Helper to get full path for a synthdef
|
|
13
|
+
export function getSynthDefPath(name) {
|
|
14
|
+
return join(SYNTHDEFS_DIR, `${name}.scsyndef`);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// CDN URL for browser usage (unpkg)
|
|
18
|
+
export const CDN_BASE = 'https://unpkg.com/supersonic-scsynth-synthdefs@0.1.2';
|
|
19
|
+
export const SYNTHDEFS_CDN = `${CDN_BASE}/synthdefs`;
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
SYNTHDEFS_DIR,
|
|
23
|
+
getSynthDefPath,
|
|
24
|
+
CDN_BASE,
|
|
25
|
+
SYNTHDEFS_CDN
|
|
26
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "supersonic-scsynth-synthdefs",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "All Sonic Pi synthdefs for SuperSonic scsynth",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/samaaron/supersonic.git",
|
|
10
|
+
"directory": "packages/supersonic-scsynth-synthdefs"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"supercollider",
|
|
14
|
+
"scsynth",
|
|
15
|
+
"sonic-pi",
|
|
16
|
+
"synthdefs",
|
|
17
|
+
"audio",
|
|
18
|
+
"synthesis",
|
|
19
|
+
"supersonic"
|
|
20
|
+
],
|
|
21
|
+
"author": "Sam Aaron",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/samaaron/supersonic/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/samaaron/supersonic/tree/main/packages/supersonic-scsynth-synthdefs#readme",
|
|
27
|
+
"files": [
|
|
28
|
+
"synthdefs/",
|
|
29
|
+
"index.js",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|