tuneframes 0.1.0 → 0.2.0

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.
Files changed (78) hide show
  1. package/LICENSE +167 -199
  2. package/README.md +150 -97
  3. package/examples/example-ai-dj-chill.html +167 -0
  4. package/examples/example-ai-dj-dark.html +167 -0
  5. package/examples/example-ai-dj-energetic.html +167 -0
  6. package/examples/example-ai-dj-happy.html +167 -0
  7. package/examples/example-ai-dj.html +167 -0
  8. package/examples/example-ambient.html +63 -63
  9. package/examples/example-ambient.mp3 +0 -0
  10. package/examples/example-bass.html +48 -0
  11. package/examples/example-lofi.html +45 -45
  12. package/examples/example-lofi.mp3 +0 -0
  13. package/examples/example-minimal.html +21 -19
  14. package/examples/example-minimal.mp3 +0 -0
  15. package/examples/example-orchestral.html +67 -67
  16. package/examples/example-orchestral.mp3 +0 -0
  17. package/examples/example-piano.html +53 -0
  18. package/examples/example-piano.mp3 +0 -0
  19. package/examples/example-techno.html +69 -69
  20. package/examples/example-techno.mp3 +0 -0
  21. package/package.json +42 -24
  22. package/registry/presets/bass-electric.html +67 -0
  23. package/registry/presets/bass-saw.html +22 -0
  24. package/registry/presets/chord-progression.html +22 -0
  25. package/registry/presets/drums-808.html +85 -0
  26. package/registry/presets/drums-lofi.html +35 -0
  27. package/registry/presets/lead-piano.html +26 -0
  28. package/registry/presets/piano-salamander.html +69 -0
  29. package/registry/presets/reverb-warm.html +11 -0
  30. package/registry/samples.json +226 -0
  31. package/skills/audio-ambient/SKILL.md +141 -0
  32. package/skills/audio-ambient/example.html +113 -0
  33. package/skills/audio-boss-battle/SKILL.md +157 -0
  34. package/skills/audio-boss-battle/example.html +185 -0
  35. package/skills/audio-boss-battle/example.mp3 +0 -0
  36. package/skills/audio-chillwave/SKILL.md +142 -0
  37. package/skills/audio-chillwave/example.html +144 -0
  38. package/skills/audio-cinematic/SKILL.md +147 -0
  39. package/skills/audio-cinematic/example.html +123 -0
  40. package/skills/audio-classical/SKILL.md +138 -0
  41. package/skills/audio-classical/example.html +145 -0
  42. package/skills/audio-dnb/SKILL.md +142 -0
  43. package/skills/audio-dnb/example.html +124 -0
  44. package/skills/audio-downtempo/SKILL.md +152 -0
  45. package/skills/audio-downtempo/example.html +164 -0
  46. package/skills/audio-folk/SKILL.md +139 -0
  47. package/skills/audio-folk/example.html +132 -0
  48. package/skills/audio-funk/SKILL.md +149 -0
  49. package/skills/audio-funk/example.html +144 -0
  50. package/skills/audio-future-bass/SKILL.md +163 -0
  51. package/skills/audio-future-bass/example.html +164 -0
  52. package/skills/audio-hip-hop/SKILL.md +133 -0
  53. package/skills/audio-hip-hop/example.html +129 -0
  54. package/skills/audio-house/SKILL.md +147 -0
  55. package/skills/audio-house/example.html +128 -0
  56. package/skills/audio-indie-pop/SKILL.md +150 -0
  57. package/skills/audio-indie-pop/example.html +121 -0
  58. package/skills/audio-jazz/SKILL.md +141 -0
  59. package/skills/audio-jazz/example.html +146 -0
  60. package/skills/audio-lofi/SKILL.md +140 -0
  61. package/skills/audio-lofi/example.html +135 -0
  62. package/skills/audio-minimal/SKILL.md +155 -0
  63. package/skills/audio-minimal/example.html +118 -0
  64. package/skills/audio-orchestral/SKILL.md +156 -0
  65. package/skills/audio-orchestral/example.html +140 -0
  66. package/skills/audio-r-and-b/SKILL.md +134 -0
  67. package/skills/audio-r-and-b/example.html +154 -0
  68. package/skills/audio-r-and-b/example.mp3 +0 -0
  69. package/skills/audio-techno/SKILL.md +140 -0
  70. package/skills/audio-techno/example.html +125 -0
  71. package/skills/audio-trap/SKILL.md +123 -0
  72. package/skills/audio-trap/example.html +119 -0
  73. package/skills/render-retest/example.html +115 -0
  74. package/skills/tuneframes/SKILL.md +221 -0
  75. package/skills/tuneframes-cli/SKILL.md +46 -0
  76. package/skills/verify/example.html +104 -0
  77. package/src/cli.js +261 -89
  78. package/src/render.js +134 -7
package/LICENSE CHANGED
@@ -1,199 +1,167 @@
1
- http://www.apache.org/licenses/
2
-
3
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4
-
5
- 1. Definitions.
6
-
7
- "License" shall mean the terms and conditions for use, reproduction,
8
- and distribution as defined by Sections 1 through 9 of this document.
9
-
10
- "Licensor" shall mean the copyright owner or entity authorized by
11
- the copyright owner that is granting the License.
12
-
13
- "Legal Entity" shall mean the union of the acting entity and all
14
- other entities that control, are controlled by, or are under common
15
- control with that entity. For the purposes of this definition,
16
- "control" means (i) the power, direct or indirect, to cause the
17
- direction or management of such entity, whether by contract or
18
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
19
- outstanding shares, or (iii) beneficial ownership of such entity.
20
-
21
- "You" (or "Your") shall mean an individual or Legal Entity
22
- exercising permissions granted by this License.
23
-
24
- "Source" form shall mean the preferred form for making modifications,
25
- including but not limited to software source code, documentation
26
- source, and configuration files.
27
-
28
- "Object" form shall mean any form resulting from mechanical
29
- transformation or translation of a Source form, including but
30
- not limited to compiled object code, generated documentation,
31
- and conversions to other media types.
32
-
33
- "Work" shall mean the work of authorship, whether in Source or
34
- Object form, made available under the License, as indicated by a
35
- copyright notice that is included in or attached to the work
36
- (an example is provided in the Appendix below).
37
-
38
- "Derivative Works" shall mean any work, whether in Source or Object
39
- form, that is based on (or derived from) the Work and for which the
40
- editorial revisions, annotations, elaborations, or other modifications
41
- represent, as a whole, an original work of authorship. For the purposes
42
- of this License, Derivative Works shall not include works that remain
43
- separable from, or merely link (or bind by name) to the interfaces of,
44
- the Work and Derivative Works thereof.
45
-
46
- "Contribution" shall mean any work of authorship, including
47
- the original version of the Work and any modifications or additions
48
- to that Work or Derivative Works thereof, that is intentionally
49
- submitted to Licensor for inclusion in the Work by the copyright owner
50
- or by an individual or Legal Entity authorized to submit on behalf of
51
- the copyright owner. For the purposes of this definition, "submitted"
52
- means any form of electronic, verbal, or written communication sent
53
- to the Licensor or its representatives, including but not limited to
54
- communication on electronic mailing lists, source code control systems,
55
- and issue tracking systems that are managed by, or on behalf of, the
56
- Licensor for the purpose of discussing and improving the Work, but
57
- excluding communication that is conspicuously marked or otherwise
58
- designated in writing by the copyright owner as "Not a Contribution."
59
-
60
- "Contributor" shall mean Licensor and any individual or Legal Entity
61
- on behalf of whom a Contribution has been received by Licensor and
62
- subsequently incorporated within the Work.
63
-
64
- 2. Grant of Copyright License. Subject to the terms and conditions of
65
- this License, each Contributor hereby grants to You a perpetual,
66
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
67
- copyright license to reproduce, prepare Derivative Works of,
68
- publicly display, publicly perform, sublicense, and distribute the
69
- Work and such Derivative Works in Source or Object form.
70
-
71
- 3. Grant of Patent License. Subject to the terms and conditions of
72
- this License, each Contributor hereby grants to You a perpetual,
73
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74
- (except as stated in this section) patent license to make, have made,
75
- use, offer to sell, sell, import, and otherwise transfer the Work,
76
- where such license applies only to those patent claims licensable
77
- by such Contributor that are necessarily infringed by their
78
- Contribution(s) alone or by combination of their Contribution(s)
79
- with the Work to which such Contribution(s) was submitted. If You
80
- institute patent litigation against any entity (including a
81
- cross-claim or counterclaim in a lawsuit) alleging that the Work
82
- or a Contribution incorporated within the Work constitutes direct
83
- or contributory patent infringement, then any patent licenses
84
- granted to You under this License for that Work shall terminate
85
- as of the date such litigation is filed.
86
-
87
- 4. Redistribution. You may reproduce and distribute copies of the
88
- Work or Derivative Works thereof in any medium, with or without
89
- modifications, and in Source or Object form, provided that You
90
- meet the following conditions:
91
-
92
- (a) You must give any other recipients of the Work or
93
- Derivative Works a copy of this License; and
94
-
95
- (b) You must cause any modified files to carry prominent notices
96
- stating that You changed the files; and
97
-
98
- (c) You must retain, in the Source form of any Derivative Works
99
- that You distribute, all copyright, patent, trademark, and
100
- attribution notices from the Source form of the Work,
101
- excluding those notices that do not pertain to any part of
102
- the Derivative Works; and
103
-
104
- (d) If the Work includes a "NOTICE" text file as part of its
105
- distribution, then any Derivative Works that You distribute must
106
- include a readable copy of the attribution notices contained
107
- within such NOTICE file, excluding those notices that do not
108
- pertain to any part of the Derivative Works, in at least one
109
- of the following places: within a NOTICE text file distributed
110
- as part of the Derivative Works; within the Source form or
111
- documentation, if provided along with the Derivative Works; or,
112
- within a display generated by the Derivative Works, if and
113
- wherever such third-party notices normally appear. The contents
114
- of the NOTICE file are for informational purposes only and
115
- do not modify the License. You may add Your own attribution
116
- notices within Derivative Works that You distribute, alongside
117
- or as an addendum to the NOTICE text from the Work, provided
118
- that such additional attribution notices cannot be construed
119
- as modifying the License.
120
-
121
- You may add Your own copyright statement to Your modifications and
122
- may provide additional or different license terms and conditions
123
- for use, reproduction, or distribution of Your modifications, or
124
- for any such Derivative Works as a whole, provided Your use,
125
- reproduction, and distribution of the Work otherwise complies with
126
- the conditions stated in this License.
127
-
128
- 5. Submission of Contributions. Unless You explicitly state otherwise,
129
- any Contribution intentionally submitted for inclusion in the Work
130
- by You to the Licensor shall be under the terms and conditions of
131
- this License, without any additional terms or conditions.
132
- Notwithstanding the above, nothing herein shall supersede or modify
133
- the terms of any separate license agreement you may have executed
134
- with Licensor regarding such Contributions.
135
-
136
- 6. Trademarks. This License does not grant permission to use the trade
137
- names, trademarks, service marks, or product names of the Licensor,
138
- except as required for reasonable and customary use in describing the
139
- origin of the Work and reproducing the content of the NOTICE file.
140
-
141
- 7. Disclaimer of Warranty. Unless required by applicable law or
142
- agreed to in writing, Licensor provides the Work (and each
143
- Contributor provides its Contributions) on an "AS IS" BASIS,
144
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
145
- implied, including, without limitation, any warranties or conditions
146
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
147
- PARTICULAR PURPOSE. You are solely responsible for determining the
148
- appropriateness of using or redistributing the Work and assume any
149
- risks associated with Your exercise of permissions under this License.
150
-
151
- 8. Limitation of Liability. In no event and under no legal theory,
152
- whether in tort (including negligence), contract, or otherwise,
153
- unless required by applicable law (such as deliberate and grossly
154
- negligent acts) or agreed to in writing, shall any Contributor be
155
- liable to You for damages, including any direct, indirect, special,
156
- incidental, or consequential damages of any character arising as a
157
- result of this License or out of the use or inability to use the
158
- Work (including but not limited to damages for loss of goodwill,
159
- work stoppage, computer failure or malfunction, or any and all
160
- other commercial damages or losses), even if such Contributor
161
- has been advised of the possibility of such damages.
162
-
163
- 9. Accepting Warranty or Additional Liability. While redistributing
164
- the Work or Derivative Works thereof, You may choose to offer,
165
- and charge a fee for, acceptance of support, warranty, indemnity,
166
- or other liability obligations and/or rights consistent with this
167
- License. However, in accepting such obligations, You may act only
168
- on Your own behalf and on Your sole responsibility, not on behalf
169
- of any other Contributor, and only if You agree to indemnify,
170
- defend, and hold each Contributor harmless for any liability
171
- incurred by, or claims asserted against, such Contributor by reason
172
- of your accepting any such warranty or additional liability.
173
-
174
- END OF TERMS AND CONDITIONS
175
-
176
- APPENDIX: How to apply the Apache License to your work.
177
-
178
- To apply the Apache License to your work, attach the following
179
- boilerplate notice, with the fields enclosed by brackets "[]"
180
- replaced with your own identifying information. (Don't include
181
- the brackets!) The text should be enclosed in the appropriate
182
- comment syntax for the file format. We also recommend that a
183
- file or class name and description of purpose be included on the
184
- same "printed page" as the copyright notice for easier
185
- identification within third-party archives.
186
-
187
- Copyright [yyyy] [name of copyright owner]
188
-
189
- Licensed under the Apache License, Version 2.0 (the "License");
190
- you may not use this file except in compliance with the License.
191
- You may obtain a copy of the License at
192
-
193
- http://www.apache.org/licenses/LICENSE-2.0
194
-
195
- Unless required by applicable law or agreed to in writing, software
196
- distributed under the License is distributed on an "AS IS" BASIS,
197
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198
- See the License for the specific language governing permissions and
199
- limitations under the License.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Contribution" shall mean any work of authorship, including
40
+ the original version of the Work and any modifications or additions
41
+ to that Work or Derivative Works thereof, that is intentionally
42
+ submitted to the Licensor for inclusion in the Work by the copyright owner
43
+ or by an individual or Legal Entity authorized to submit on behalf of
44
+ the copyright owner. For the purposes of this definition, "submitted"
45
+ means any form of electronic, verbal, or written communication sent
46
+ to the Licensor or its representatives, including but not limited to
47
+ communication on electronic mailing lists, source code control systems,
48
+ and issue tracking systems that are managed by, or on behalf of, the
49
+ Licensor for the purpose of discussing and improving the Work, but
50
+ excluding communication that is conspicuously marked or otherwise
51
+ designated in writing by the copyright owner as "Not a Contribution."
52
+
53
+ "Contributor" shall mean Licensor and any individual or Legal Entity
54
+ on behalf of whom a Contribution has been received by Licensor and
55
+ subsequently incorporated within the Work.
56
+
57
+ 2. Grant of Copyright License. Subject to the terms and conditions of
58
+ this License, each Contributor hereby grants to You a perpetual,
59
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
60
+ copyright license to reproduce, prepare Derivative Works of,
61
+ publicly display, publicly perform, sublicense, and distribute the
62
+ Work and such Derivative Works in Source or Object form.
63
+
64
+ 3. Grant of Patent License. Subject to the terms and conditions of
65
+ this License, each Contributor hereby grants to You a perpetual,
66
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
67
+ (except as stated in this section) patent license to make, have made,
68
+ use, offer to sell, sell, import, and otherwise transfer the Work,
69
+ where such license applies only to those patent claims licensable
70
+ by such Contributor that are necessarily infringed by their
71
+ Contribution(s) alone or by combination of their Contribution(s)
72
+ with the Work to which such Contribution(s) was submitted. If You
73
+ institute patent litigation against any entity (including a
74
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
75
+ or a Contribution incorporated within the Work constitutes direct
76
+ or contributory patent infringement, then any patent licenses
77
+ granted to You under this License for that Work shall terminate
78
+ as of the date such litigation is filed.
79
+
80
+ 4. Redistribution. You may reproduce and distribute copies of the
81
+ Work or Derivative Works thereof in any medium, with or without
82
+ modifications, and in Source or Object form, provided that You
83
+ meet the following conditions:
84
+
85
+ (a) You must give any other recipients of the Work or
86
+ Derivative Works a copy of this License; and
87
+
88
+ (b) You must cause any modified files to carry prominent notices
89
+ stating that You changed the files; and
90
+
91
+ (c) You must retain, in the Source form of any Derivative Works
92
+ that You distribute, all copyright, patent, trademark, and
93
+ attribution notices from the Source form of the Work,
94
+ excluding those notices that do not pertain to any part of
95
+ the Derivative Works; and
96
+
97
+ (d) If the Work includes a "NOTICE" text file as part of its
98
+ distribution, then any Derivative Works that You distribute must
99
+ include a readable copy of the attribution notices contained
100
+ within such NOTICE file, excluding those notices that do not
101
+ pertain to any part of the Derivative Works, in at least one
102
+ of the following places: within a NOTICE text file distributed
103
+ as part of the Derivative Works; within the Source form or
104
+ documentation, if provided along with the Derivative Works; or,
105
+ within a display generated by the Derivative Works, if and
106
+ wherever such third-party notices normally appear. The contents
107
+ of the NOTICE file are for informational purposes only and
108
+ do not modify the License. You may add Your own attribution
109
+ notices within Derivative Works that You distribute, alongside
110
+ or as an addendum to the NOTICE text from the Work, provided
111
+ that such additional attribution notices cannot be construed
112
+ as modifying the License.
113
+
114
+ You may add Your own copyright statement to Your modifications and
115
+ may provide additional or different license terms and conditions
116
+ for use, reproduction, or distribution of Your modifications, or
117
+ for any such Derivative Works as a whole, provided Your use,
118
+ reproduction, and distribution of the Work otherwise complies with
119
+ the conditions stated in this License.
120
+
121
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
122
+ any Contribution intentionally submitted for inclusion in the Work
123
+ by You to the Licensor shall be under the terms and conditions of
124
+ this License, without any additional terms or conditions.
125
+ Notwithstanding the above, nothing herein shall supersede or modify
126
+ the terms of any separate license agreement you may have executed
127
+ with Licensor regarding such Contributions.
128
+
129
+ 6. Trademarks. This License does not grant permission to use the trade
130
+ names, trademarks, service marks, or product names of the Licensor,
131
+ except as required for reasonable and customary use in describing the
132
+ origin of the Work and reproducing the content of the NOTICE file.
133
+
134
+ 7. Disclaimer of Warranty. Unless required by applicable law or
135
+ agreed to in writing, Licensor provides the Work (and each
136
+ Contributor provides its Contributions) on an "AS IS" BASIS,
137
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
138
+ implied, including, without limitation, any warranties or conditions
139
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
140
+ PARTICULAR PURPOSE. You are solely responsible for determining the
141
+ appropriateness of using or redistributing the Work and assume any
142
+ risks associated with Your exercise of permissions under this License.
143
+
144
+ 8. Limitation of Liability. In no event and under no legal theory,
145
+ whether in tort (including negligence), contract, or otherwise,
146
+ unless required by applicable law (such as deliberate and grossly
147
+ negligent acts) or agreed to in writing, shall any Contributor be
148
+ liable to You for damages, including any direct, indirect, special,
149
+ incidental, or consequential damages of any character arising as a
150
+ result of this License or out of the use or inability to use the
151
+ Work (including but not limited to damages for loss of goodwill,
152
+ work stoppage, computer failure or malfunction, or any and all
153
+ other commercial damages or losses), even if such Contributor
154
+ has been advised of the possibility of such damages.
155
+
156
+ 9. Accepting Warranty or Additional Liability. While redistributing
157
+ the Work or Derivative Works thereof, You may choose to offer,
158
+ and charge a fee for, acceptance of support, warranty, indemnity,
159
+ or other liability obligations and/or rights consistent with this
160
+ License. However, in accepting such obligations, You may act only
161
+ on Your own behalf and on Your sole responsibility, not on behalf
162
+ of any other Contributor, and only if You agree to indemnify,
163
+ defend, and hold each Contributor harmless for any liability
164
+ incurred by, or claims asserted against, such Contributor by reason
165
+ of your accepting any such warranty or additional liability.
166
+
167
+ END OF TERMS AND CONDITIONS