Upload 3 files
Browse files
LICENSE
CHANGED
|
@@ -0,0 +1,289 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Required Notice: Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)
|
| 2 |
+
|
| 3 |
+
The RysUpAlign learned alignment model v6 weights (rysupalign_learned_v6.onnx and rysupalign_learned_v6.int8.onnx) are licensed under the PolyForm Noncommercial License 1.0.0, reproduced in full below. The model contains the facebook/hubert-base-ls960 encoder, which remains under the Apache License 2.0; see NOTICE. For commercial use of the weights, contact Rys Up Audio: https://rysupaudio.com/pages/contact-us
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# PolyForm Noncommercial License 1.0.0
|
| 8 |
+
|
| 9 |
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
| 10 |
+
|
| 11 |
+
## Acceptance
|
| 12 |
+
|
| 13 |
+
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
|
| 14 |
+
|
| 15 |
+
## Copyright License
|
| 16 |
+
|
| 17 |
+
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
|
| 18 |
+
|
| 19 |
+
## Distribution License
|
| 20 |
+
|
| 21 |
+
The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
|
| 22 |
+
|
| 23 |
+
## Notices
|
| 24 |
+
|
| 25 |
+
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
|
| 26 |
+
|
| 27 |
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
| 28 |
+
|
| 29 |
+
## Changes and New Works License
|
| 30 |
+
|
| 31 |
+
The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
|
| 32 |
+
|
| 33 |
+
## Patent License
|
| 34 |
+
|
| 35 |
+
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
|
| 36 |
+
|
| 37 |
+
## Noncommercial Purposes
|
| 38 |
+
|
| 39 |
+
Any noncommercial purpose is a permitted purpose.
|
| 40 |
+
|
| 41 |
+
## Personal Uses
|
| 42 |
+
|
| 43 |
+
Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
|
| 44 |
+
|
| 45 |
+
## Noncommercial Organizations
|
| 46 |
+
|
| 47 |
+
Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
|
| 48 |
+
|
| 49 |
+
## Fair Use
|
| 50 |
+
|
| 51 |
+
You may have "fair use" rights for the software under the law. These terms do not limit them.
|
| 52 |
+
|
| 53 |
+
## No Other Rights
|
| 54 |
+
|
| 55 |
+
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
|
| 56 |
+
|
| 57 |
+
## Patent Defense
|
| 58 |
+
|
| 59 |
+
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
| 60 |
+
|
| 61 |
+
## Violations
|
| 62 |
+
|
| 63 |
+
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
|
| 64 |
+
|
| 65 |
+
## No Liability
|
| 66 |
+
|
| 67 |
+
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
|
| 68 |
+
|
| 69 |
+
## Definitions
|
| 70 |
+
|
| 71 |
+
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
|
| 72 |
+
|
| 73 |
+
**You** refers to the individual or entity agreeing to these terms.
|
| 74 |
+
|
| 75 |
+
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
| 76 |
+
|
| 77 |
+
**Your licenses** are all the licenses granted to you for the software under these terms.
|
| 78 |
+
|
| 79 |
+
**Use** means anything you do with the software requiring one of your licenses.
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
# Appendix: Apache License 2.0 (applies to the facebook/hubert-base-ls960 encoder weights contained in the model files)
|
| 85 |
+
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
Apache License
|
| 89 |
+
Version 2.0, January 2004
|
| 90 |
+
http://www.apache.org/licenses/
|
| 91 |
+
|
| 92 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 93 |
+
|
| 94 |
+
1. Definitions.
|
| 95 |
+
|
| 96 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 97 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 98 |
+
|
| 99 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 100 |
+
the copyright owner that is granting the License.
|
| 101 |
+
|
| 102 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 103 |
+
other entities that control, are controlled by, or are under common
|
| 104 |
+
control with that entity. For the purposes of this definition,
|
| 105 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 106 |
+
direction or management of such entity, whether by contract or
|
| 107 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 108 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 109 |
+
|
| 110 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 111 |
+
exercising permissions granted by this License.
|
| 112 |
+
|
| 113 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 114 |
+
including but not limited to software source code, documentation
|
| 115 |
+
source, and configuration files.
|
| 116 |
+
|
| 117 |
+
"Object" form shall mean any form resulting from mechanical
|
| 118 |
+
transformation or translation of a Source form, including but
|
| 119 |
+
not limited to compiled object code, generated documentation,
|
| 120 |
+
and conversions to other media types.
|
| 121 |
+
|
| 122 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 123 |
+
Object form, made available under the License, as indicated by a
|
| 124 |
+
copyright notice that is included in or attached to the work
|
| 125 |
+
(an example is provided in the Appendix below).
|
| 126 |
+
|
| 127 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 128 |
+
form, that is based on (or derived from) the Work and for which the
|
| 129 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 130 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 131 |
+
of this License, Derivative Works shall not include works that remain
|
| 132 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 133 |
+
the Work and Derivative Works thereof.
|
| 134 |
+
|
| 135 |
+
"Contribution" shall mean any work of authorship, including
|
| 136 |
+
the original version of the Work and any modifications or additions
|
| 137 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 138 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 139 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 140 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 141 |
+
means any form of electronic, verbal, or written communication sent
|
| 142 |
+
to the Licensor or its representatives, including but not limited to
|
| 143 |
+
communication on electronic mailing lists, source code control systems,
|
| 144 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 145 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 146 |
+
excluding communication that is conspicuously marked or otherwise
|
| 147 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 148 |
+
|
| 149 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 150 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 151 |
+
subsequently incorporated within the Work.
|
| 152 |
+
|
| 153 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 154 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 155 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 156 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 157 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 158 |
+
Work and such Derivative Works in Source or Object form.
|
| 159 |
+
|
| 160 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 161 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 162 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 163 |
+
(except as stated in this section) patent license to make, have made,
|
| 164 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 165 |
+
where such license applies only to those patent claims licensable
|
| 166 |
+
by such Contributor that are necessarily infringed by their
|
| 167 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 168 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 169 |
+
institute patent litigation against any entity (including a
|
| 170 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 171 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 172 |
+
or contributory patent infringement, then any patent licenses
|
| 173 |
+
granted to You under this License for that Work shall terminate
|
| 174 |
+
as of the date such litigation is filed.
|
| 175 |
+
|
| 176 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 177 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 178 |
+
modifications, and in Source or Object form, provided that You
|
| 179 |
+
meet the following conditions:
|
| 180 |
+
|
| 181 |
+
(a) You must give any other recipients of the Work or
|
| 182 |
+
Derivative Works a copy of this License; and
|
| 183 |
+
|
| 184 |
+
(b) You must cause any modified files to carry prominent notices
|
| 185 |
+
stating that You changed the files; and
|
| 186 |
+
|
| 187 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 188 |
+
that You distribute, all copyright, patent, trademark, and
|
| 189 |
+
attribution notices from the Source form of the Work,
|
| 190 |
+
excluding those notices that do not pertain to any part of
|
| 191 |
+
the Derivative Works; and
|
| 192 |
+
|
| 193 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 194 |
+
distribution, then any Derivative Works that You distribute must
|
| 195 |
+
include a readable copy of the attribution notices contained
|
| 196 |
+
within such NOTICE file, excluding those notices that do not
|
| 197 |
+
pertain to any part of the Derivative Works, in at least one
|
| 198 |
+
of the following places: within a NOTICE text file distributed
|
| 199 |
+
as part of the Derivative Works; within the Source form or
|
| 200 |
+
documentation, if provided along with the Derivative Works; or,
|
| 201 |
+
within a display generated by the Derivative Works, if and
|
| 202 |
+
wherever such third-party notices normally appear. The contents
|
| 203 |
+
of the NOTICE file are for informational purposes only and
|
| 204 |
+
do not modify the License. You may add Your own attribution
|
| 205 |
+
notices within Derivative Works that You distribute, alongside
|
| 206 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 207 |
+
that such additional attribution notices cannot be construed
|
| 208 |
+
as modifying the License.
|
| 209 |
+
|
| 210 |
+
You may add Your own copyright statement to Your modifications and
|
| 211 |
+
may provide additional or different license terms and conditions
|
| 212 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 213 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 214 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 215 |
+
the conditions stated in this License.
|
| 216 |
+
|
| 217 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 218 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 219 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 220 |
+
this License, without any additional terms or conditions.
|
| 221 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 222 |
+
the terms of any separate license agreement you may have executed
|
| 223 |
+
with Licensor regarding such Contributions.
|
| 224 |
+
|
| 225 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 226 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 227 |
+
except as required for reasonable and customary use in describing the
|
| 228 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 229 |
+
|
| 230 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 231 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 232 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 233 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 234 |
+
implied, including, without limitation, any warranties or conditions
|
| 235 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 236 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 237 |
+
appropriateness of using or redistributing the Work and assume any
|
| 238 |
+
risks associated with Your exercise of permissions under this License.
|
| 239 |
+
|
| 240 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 241 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 242 |
+
unless required by applicable law (such as deliberate and grossly
|
| 243 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 244 |
+
liable to You for damages, including any direct, indirect, special,
|
| 245 |
+
incidental, or consequential damages of any character arising as a
|
| 246 |
+
result of this License or out of the use or inability to use the
|
| 247 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 248 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 249 |
+
other commercial damages or losses), even if such Contributor
|
| 250 |
+
has been advised of the possibility of such damages.
|
| 251 |
+
|
| 252 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 253 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 254 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 255 |
+
or other liability obligations and/or rights consistent with this
|
| 256 |
+
License. However, in accepting such obligations, You may act only
|
| 257 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 258 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 259 |
+
defend, and hold each Contributor harmless for any liability
|
| 260 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 261 |
+
of your accepting any such warranty or additional liability.
|
| 262 |
+
|
| 263 |
+
END OF TERMS AND CONDITIONS
|
| 264 |
+
|
| 265 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 266 |
+
|
| 267 |
+
To apply the Apache License to your work, attach the following
|
| 268 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 269 |
+
replaced with your own identifying information. (Don't include
|
| 270 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 271 |
+
comment syntax for the file format. We also recommend that a
|
| 272 |
+
file or class name and description of purpose be included on the
|
| 273 |
+
same "printed page" as the copyright notice for easier
|
| 274 |
+
identification within third-party archives.
|
| 275 |
+
|
| 276 |
+
Copyright [yyyy] [name of copyright owner]
|
| 277 |
+
|
| 278 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 279 |
+
you may not use this file except in compliance with the License.
|
| 280 |
+
You may obtain a copy of the License at
|
| 281 |
+
|
| 282 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 283 |
+
|
| 284 |
+
Unless required by applicable law or agreed to in writing, software
|
| 285 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 286 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 287 |
+
See the License for the specific language governing permissions and
|
| 288 |
+
limitations under the License.
|
| 289 |
+
```
|
NOTICE
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
RysUpAlign learned alignment model v6
|
| 2 |
+
Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)
|
| 3 |
+
|
| 4 |
+
Required Notice: Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)
|
| 5 |
+
|
| 6 |
+
1. Licences in this repository
|
| 7 |
+
- Model weights rysupalign_learned_v6.onnx / rysupalign_learned_v6.int8.onnx: PolyForm
|
| 8 |
+
Noncommercial License 1.0.0 (LICENSE), except the HuBERT encoder weights they contain (section 2).
|
| 9 |
+
- Benchmark and code: https://github.com/rysupaudio-lab/rysupalign-bench (code under MIT).
|
| 10 |
+
Commercial licensing of the weights is available from Rys Up Audio:
|
| 11 |
+
https://rysupaudio.com/pages/contact-us
|
| 12 |
+
|
| 13 |
+
2. HuBERT-base encoder (Apache License 2.0)
|
| 14 |
+
The model weights include the first 9 transformer layers (plus the convolutional feature
|
| 15 |
+
encoder) of facebook/hubert-base-ls960, revision af46f65f540dc3ca7aa59f46c6c3d5dbb4374fa8,
|
| 16 |
+
https://huggingface.co/facebook/hubert-base-ls960, licensed under the Apache License,
|
| 17 |
+
Version 2.0 (full text: appendix of LICENSE, and https://www.apache.org/licenses/LICENSE-2.0). Those encoder weights remain under the
|
| 18 |
+
Apache License 2.0; the PolyForm Noncommercial terms apply only to Rys Up Audio's own
|
| 19 |
+
contribution (the AlignHead weights, the log-mel front end and the combined graph).
|
| 20 |
+
Modifications made by Rys Up Audio: layers 10-12 were removed, the remaining encoder weights
|
| 21 |
+
were frozen (not changed) and exported together with the AlignHead and a log-mel front end into
|
| 22 |
+
a single ONNX graph; rysupalign_learned_v6.int8.onnx is additionally dynamically quantised to
|
| 23 |
+
int8 with onnxruntime.
|
| 24 |
+
HuBERT: Hsu, W.-N., Bolte, B., Tsai, Y.-H. H., Lakhotia, K., Salakhutdinov, R., Mohamed, A.
|
| 25 |
+
"HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units",
|
| 26 |
+
IEEE/ACM TASLP 29, 2021. arXiv:2106.07447.
|
| 27 |
+
|
| 28 |
+
3. Training data attribution
|
| 29 |
+
The AlignHead was trained on (a) Rys Up Audio's own studio vocal recordings (not distributed)
|
| 30 |
+
and synthetic / pseudo-labelled pairs derived from them, and (b) VocalSet 1.2
|
| 31 |
+
(Wilkins, J., Seetharaman, P., Wahl, A., Pardo, B., ISMIR 2018), CC BY 4.0,
|
| 32 |
+
https://doi.org/10.5281/zenodo.1442513. No benchmark audio (Choral Singing Dataset, Dagstuhl
|
| 33 |
+
ChoirSet, Cambridge-MT stems, fury takes) was used for training.
|
| 34 |
+
|
| 35 |
+
4. Evaluation datasets (RAB benchmark; not used for training)
|
| 36 |
+
- Choral Singing Dataset, Cuesta et al. 2018, CC BY 4.0, https://doi.org/10.5281/zenodo.2649950
|
| 37 |
+
- Dagstuhl ChoirSet 1.2.3, Rosenzweig et al. 2020, CC BY 4.0, https://doi.org/10.5281/zenodo.4618287
|
| 38 |
+
- Cambridge-MT "Mixing Secrets" multitrack library (https://cambridge-mt.com/ms3/mtk/), used
|
| 39 |
+
under its own terms; no stems are included in this repository.
|
README.md
CHANGED
|
@@ -2,4 +2,103 @@
|
|
| 2 |
license: other
|
| 3 |
license_name: polyform-noncommercial-1.0.0
|
| 4 |
license_link: LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: other
|
| 3 |
license_name: polyform-noncommercial-1.0.0
|
| 4 |
license_link: LICENSE
|
| 5 |
+
library_name: onnx
|
| 6 |
+
pipeline_tag: feature-extraction
|
| 7 |
+
base_model: facebook/hubert-base-ls960
|
| 8 |
+
tags:
|
| 9 |
+
- onnx
|
| 10 |
+
- audio
|
| 11 |
+
- singing-voice
|
| 12 |
+
- vocal-alignment
|
| 13 |
+
- audio-to-audio-alignment
|
| 14 |
+
- dynamic-time-warping
|
| 15 |
+
- hubert
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# RysUpAlign learned alignment model v6
|
| 19 |
+
|
| 20 |
+
Frame embeddings for **audio-to-audio vocal alignment**: aligning a double, gang or backing vocal to a
|
| 21 |
+
guide vocal without lyrics. Embeddings of the two takes are compared with dynamic time warping (DTW);
|
| 22 |
+
the model is trained so that the same sung moment in two takes gets the same embedding even across
|
| 23 |
+
singers, timbre and pitch (unison, harmony, octave).
|
| 24 |
+
|
| 25 |
+
It is the timing model of the RysUpAlign plug-in by [Rys Up Audio](https://rysupaudio.com).
|
| 26 |
+
Benchmark, code and evaluation: **https://github.com/rysupaudio-lab/rysupalign-bench**
|
| 27 |
+
|
| 28 |
+
## Files
|
| 29 |
+
|
| 30 |
+
| file | size | sha256 |
|
| 31 |
+
|---|---|---|
|
| 32 |
+
| `rysupalign_learned_v6.onnx` | 305 MB, fp32 | `db3bf5b88834bba926c147d8785e829845c7827248efc74e2966f0bec7ec8b32` |
|
| 33 |
+
| `rysupalign_learned_v6.int8.onnx` | 112 MB, dynamic int8 | `e48d692579af3d8ed710ff99e47a1c37d0c1e0205440d5a69d1521a69f505246` |
|
| 34 |
+
|
| 35 |
+
Both give the same accuracy on the benchmark (see below).
|
| 36 |
+
|
| 37 |
+
## Input / output
|
| 38 |
+
|
| 39 |
+
- input `wav`: float32 `[1, S]`, mono 16 kHz audio, normalised to zero mean and unit variance over the file
|
| 40 |
+
- output `emb`: float32 `[1, T, 128]`, unit-norm embeddings at 100 fps; frame k is centred at 10k + 12.5 ms
|
| 41 |
+
|
| 42 |
+
For long files, run 30 s chunks with 2 s overlap and drop 1 s on each side of every join.
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
import numpy as np, librosa, onnxruntime as ort
|
| 46 |
+
sess = ort.InferenceSession("rysupalign_learned_v6.onnx", providers=["CPUExecutionProvider"])
|
| 47 |
+
y, _ = librosa.load("take.wav", sr=16000, mono=True)
|
| 48 |
+
y = ((y - y.mean()) / (y.std() + 1e-7)).astype(np.float32)
|
| 49 |
+
emb = sess.run(None, {"wav": y[None]})[0][0] # [T, 128], 100 fps
|
| 50 |
+
# cost between two takes: 1 - emb_a @ emb_b.T, then DTW
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
The complete aligners used for the results (gating, log-mel block, DTW method M1) are
|
| 54 |
+
`runners/learned_onnx.py` and `runners/m1_dtw.py` in the GitHub repository.
|
| 55 |
+
|
| 56 |
+
## Architecture
|
| 57 |
+
|
| 58 |
+
- Encoder: HuBERT-base (`facebook/hubert-base-ls960`, revision `af46f65f540dc3ca7aa59f46c6c3d5dbb4374fa8`,
|
| 59 |
+
Apache-2.0), frozen, first 9 transformer layers.
|
| 60 |
+
- Head (1.66 M parameters): LayerNorm and a learned softmax-weighted sum of layers 3–9, Linear 768→256,
|
| 61 |
+
×2 transposed-conv upsampling to 100 fps, plus a log-mel branch (64 bands, 25 ms; 80 bands over
|
| 62 |
+
80–2000 Hz, 64 ms) on the same grid, 3 residual dilated Conv1d blocks, Linear → 128, L2 normalisation.
|
| 63 |
+
- The log-mel front end is part of the graph (STFT as fixed conv1d kernels), so the ONNX file takes raw audio.
|
| 64 |
+
|
| 65 |
+
## Training
|
| 66 |
+
|
| 67 |
+
Symmetric frame-level InfoNCE (positive = the true fractional frame in the other take, negatives = all
|
| 68 |
+
other frames within ±1 s). Data: synthetic doubles with exact timing (WSOLA timing slop, pitch and
|
| 69 |
+
formant shifts, EQ, drive, reverb, noise) made from Rys Up Audio's own studio vocal recordings and
|
| 70 |
+
VocalSet 1.2 (CC BY 4.0), plus pseudo-labelled real double takes and VocalSet cross-singer pairs.
|
| 71 |
+
No evaluation audio was used for training.
|
| 72 |
+
|
| 73 |
+
## Results (RAB, mean / median / share within 20 ms of the timing error)
|
| 74 |
+
|
| 75 |
+
| system | R: real unison choir pairs (48) | S: exact-truth cases (120), mean | D: held-out Dagstuhl pairs (12), mean |
|
| 76 |
+
|---|---|---|---|
|
| 77 |
+
| no alignment | 52.0 / 34.8 ms / 33.7% | 39.5 ms | 65.1 ms |
|
| 78 |
+
| HuBERT-base L6 + log-mel DTW | 47.4 / 24.1 ms / 45.0% | 6.1 ms | 42.6 ms |
|
| 79 |
+
| MERT-v1-95M L4 + log-mel DTW | 44.8 / 20.0 ms / 49.9% | – | 47.8 ms |
|
| 80 |
+
| MERT-v1-330M L10 + log-mel DTW | – | – | 45.2 ms |
|
| 81 |
+
| **this model + log-mel, DTW** | 43.8 / 20.3 ms / 49.5% | 3.9 ms | 42.0 ms |
|
| 82 |
+
| **this model + log-mel, DTW method M1** | **39.8 / 14.8 ms / 58.4%** | **3.2 ms** | 43.0 ms (C++ engine) |
|
| 83 |
+
|
| 84 |
+
On the held-out suite D the model is statistically tied with HuBERT-base features (12 cases); the
|
| 85 |
+
gain on R comes mostly from the DTW method and did not carry over to D. Suite R was used for model
|
| 86 |
+
selection. Commercial alignment tools were not evaluated. Full tables, caveats (including an invalid
|
| 87 |
+
annotation in the Choral Singing Dataset that affects 2 of the 48 R cases) and the scripts to
|
| 88 |
+
reproduce everything are in the GitHub repository.
|
| 89 |
+
|
| 90 |
+
## Licence
|
| 91 |
+
|
| 92 |
+
- Model weights: **PolyForm Noncommercial License 1.0.0** (`LICENSE`). Noncommercial use (research,
|
| 93 |
+
personal, educational, by noncommercial organisations) is permitted under its terms.
|
| 94 |
+
- The HuBERT-base encoder weights contained in the files remain under the **Apache License 2.0**; see
|
| 95 |
+
`NOTICE` and the appendix of `LICENSE`.
|
| 96 |
+
- **Commercial licensing** of the weights is available from Rys Up Audio:
|
| 97 |
+
https://rysupaudio.com/pages/contact-us
|
| 98 |
+
|
| 99 |
+
Required Notice: Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)
|
| 100 |
+
|
| 101 |
+
## Citation
|
| 102 |
+
|
| 103 |
+
Please cite the repository (https://github.com/rysupaudio-lab/rysupalign-bench, `CITATION.cff`) and
|
| 104 |
+
HuBERT (Hsu et al., IEEE/ACM TASLP 2021, arXiv:2106.07447) and VocalSet (Wilkins et al., ISMIR 2018).
|