Upload 3 files
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289Required Notice: Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)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---# PolyForm Noncommercial License 1.0.0<https://polyformproject.org/licenses/noncommercial/1.0.0>## AcceptanceIn order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.## Copyright LicenseThe 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).## Distribution LicenseThe 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).## NoticesYou 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:> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)## Changes and New Works LicenseThe licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.## Patent LicenseThe 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.## Noncommercial PurposesAny noncommercial purpose is a permitted purpose.## Personal UsesPersonal 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.## Noncommercial OrganizationsUse 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.## Fair UseYou may have "fair use" rights for the software under the law. These terms do not limit them.## No Other RightsThese 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.## Patent DefenseIf 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.## ViolationsThe 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.## No Liability***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.***## DefinitionsThe **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.**You** refers to the individual or entity agreeing to these terms.**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.**Your licenses** are all the licenses granted to you for the software under these terms.**Use** means anything you do with the software requiring one of your licenses.---# Appendix: Apache License 2.0 (applies to the facebook/hubert-base-ls960 encoder weights contained in the model files)```Apache LicenseVersion 2.0, January 2004http://www.apache.org/licenses/TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION1. Definitions."License" shall mean the terms and conditions for use, reproduction,and distribution as defined by Sections 1 through 9 of this document."Licensor" shall mean the copyright owner or entity authorized bythe copyright owner that is granting the License."Legal Entity" shall mean the union of the acting entity and allother entities that control, are controlled by, or are under commoncontrol with that entity. For the purposes of this definition,"control" means (i) the power, direct or indirect, to cause thedirection or management of such entity, whether by contract orotherwise, or (ii) ownership of fifty percent (50%) or more of theoutstanding shares, or (iii) beneficial ownership of such entity."You" (or "Your") shall mean an individual or Legal Entityexercising permissions granted by this License."Source" form shall mean the preferred form for making modifications,including but not limited to software source code, documentationsource, and configuration files."Object" form shall mean any form resulting from mechanicaltransformation or translation of a Source form, including butnot limited to compiled object code, generated documentation,and conversions to other media types."Work" shall mean the work of authorship, whether in Source orObject form, made available under the License, as indicated by acopyright notice that is included in or attached to the work(an example is provided in the Appendix below)."Derivative Works" shall mean any work, whether in Source or Objectform, that is based on (or derived from) the Work and for which theeditorial revisions, annotations, elaborations, or other modificationsrepresent, as a whole, an original work of authorship. For the purposesof this License, Derivative Works shall not include works that remainseparable from, or merely link (or bind by name) to the interfaces of,the Work and Derivative Works thereof."Contribution" shall mean any work of authorship, includingthe original version of the Work and any modifications or additionsto that Work or Derivative Works thereof, that is intentionallysubmitted to Licensor for inclusion in the Work by the copyright owneror by an individual or Legal Entity authorized to submit on behalf ofthe copyright owner. For the purposes of this definition, "submitted"means any form of electronic, verbal, or written communication sentto the Licensor or its representatives, including but not limited tocommunication on electronic mailing lists, source code control systems,and issue tracking systems that are managed by, or on behalf of, theLicensor for the purpose of discussing and improving the Work, butexcluding communication that is conspicuously marked or otherwisedesignated in writing by the copyright owner as "Not a Contribution.""Contributor" shall mean Licensor and any individual or Legal Entityon behalf of whom a Contribution has been received by Licensor andsubsequently incorporated within the Work.2. Grant of Copyright License. Subject to the terms and conditions ofthis License, each Contributor hereby grants to You a perpetual,worldwide, non-exclusive, no-charge, royalty-free, irrevocablecopyright license to reproduce, prepare Derivative Works of,publicly display, publicly perform, sublicense, and distribute theWork and such Derivative Works in Source or Object form.3. Grant of Patent License. Subject to the terms and conditions ofthis License, each Contributor hereby grants to You a perpetual,worldwide, non-exclusive, no-charge, royalty-free, irrevocable(except as stated in this section) patent license to make, have made,use, offer to sell, sell, import, and otherwise transfer the Work,where such license applies only to those patent claims licensableby such Contributor that are necessarily infringed by theirContribution(s) alone or by combination of their Contribution(s)with the Work to which such Contribution(s) was submitted. If Youinstitute patent litigation against any entity (including across-claim or counterclaim in a lawsuit) alleging that the Workor a Contribution incorporated within the Work constitutes director contributory patent infringement, then any patent licensesgranted to You under this License for that Work shall terminateas of the date such litigation is filed.4. Redistribution. You may reproduce and distribute copies of theWork or Derivative Works thereof in any medium, with or withoutmodifications, and in Source or Object form, provided that Youmeet the following conditions:(a) You must give any other recipients of the Work orDerivative Works a copy of this License; and(b) You must cause any modified files to carry prominent noticesstating that You changed the files; and(c) You must retain, in the Source form of any Derivative Worksthat You distribute, all copyright, patent, trademark, andattribution notices from the Source form of the Work,excluding those notices that do not pertain to any part ofthe Derivative Works; and(d) If the Work includes a "NOTICE" text file as part of itsdistribution, then any Derivative Works that You distribute mustinclude a readable copy of the attribution notices containedwithin such NOTICE file, excluding those notices that do notpertain to any part of the Derivative Works, in at least oneof the following places: within a NOTICE text file distributedas part of the Derivative Works; within the Source form ordocumentation, if provided along with the Derivative Works; or,within a display generated by the Derivative Works, if andwherever such third-party notices normally appear. The contentsof the NOTICE file are for informational purposes only anddo not modify the License. You may add Your own attributionnotices within Derivative Works that You distribute, alongsideor as an addendum to the NOTICE text from the Work, providedthat such additional attribution notices cannot be construedas modifying the License.You may add Your own copyright statement to Your modifications andmay provide additional or different license terms and conditionsfor use, reproduction, or distribution of Your modifications, orfor any such Derivative Works as a whole, provided Your use,reproduction, and distribution of the Work otherwise complies withthe conditions stated in this License.5. Submission of Contributions. Unless You explicitly state otherwise,any Contribution intentionally submitted for inclusion in the Workby You to the Licensor shall be under the terms and conditions ofthis License, without any additional terms or conditions.Notwithstanding the above, nothing herein shall supersede or modifythe terms of any separate license agreement you may have executedwith Licensor regarding such Contributions.6. Trademarks. This License does not grant permission to use the tradenames, trademarks, service marks, or product names of the Licensor,except as required for reasonable and customary use in describing theorigin of the Work and reproducing the content of the NOTICE file.7. Disclaimer of Warranty. Unless required by applicable law oragreed to in writing, Licensor provides the Work (and eachContributor provides its Contributions) on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied, including, without limitation, any warranties or conditionsof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR APARTICULAR PURPOSE. You are solely responsible for determining theappropriateness of using or redistributing the Work and assume anyrisks associated with Your exercise of permissions under this License.8. Limitation of Liability. In no event and under no legal theory,whether in tort (including negligence), contract, or otherwise,unless required by applicable law (such as deliberate and grosslynegligent acts) or agreed to in writing, shall any Contributor beliable to You for damages, including any direct, indirect, special,incidental, or consequential damages of any character arising as aresult of this License or out of the use or inability to use theWork (including but not limited to damages for loss of goodwill,work stoppage, computer failure or malfunction, or any and allother commercial damages or losses), even if such Contributorhas been advised of the possibility of such damages.9. Accepting Warranty or Additional Liability. While redistributingthe Work or Derivative Works thereof, You may choose to offer,and charge a fee for, acceptance of support, warranty, indemnity,or other liability obligations and/or rights consistent with thisLicense. However, in accepting such obligations, You may act onlyon Your own behalf and on Your sole responsibility, not on behalfof any other Contributor, and only if You agree to indemnify,defend, and hold each Contributor harmless for any liabilityincurred by, or claims asserted against, such Contributor by reasonof your accepting any such warranty or additional liability.END OF TERMS AND CONDITIONSAPPENDIX: How to apply the Apache License to your work.To apply the Apache License to your work, attach the followingboilerplate notice, with the fields enclosed by brackets "[]"replaced with your own identifying information. (Don't includethe brackets!) The text should be enclosed in the appropriatecomment syntax for the file format. We also recommend that afile or class name and description of purpose be included on thesame "printed page" as the copyright notice for easieridentification within third-party archives.Copyright [yyyy] [name of copyright owner]Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.```
123456789101112131415161718192021222324252627282930313233343536373839RysUpAlign learned alignment model v6Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)
Required Notice: Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)
1. Licences in this repository - Model weights rysupalign_learned_v6.onnx / rysupalign_learned_v6.int8.onnx: PolyForm Noncommercial License 1.0.0 (LICENSE), except the HuBERT encoder weights they contain (section 2). - Benchmark and code: https://github.com/rysupaudio-lab/rysupalign-bench (code under MIT). Commercial licensing of the weights is available from Rys Up Audio: https://rysupaudio.com/pages/contact-us
2. HuBERT-base encoder (Apache License 2.0) The model weights include the first 9 transformer layers (plus the convolutional feature encoder) of facebook/hubert-base-ls960, revision af46f65f540dc3ca7aa59f46c6c3d5dbb4374fa8, https://huggingface.co/facebook/hubert-base-ls960, licensed under the Apache License, Version 2.0 (full text: appendix of LICENSE, and https://www.apache.org/licenses/LICENSE-2.0). Those encoder weights remain under the Apache License 2.0; the PolyForm Noncommercial terms apply only to Rys Up Audio's own contribution (the AlignHead weights, the log-mel front end and the combined graph). Modifications made by Rys Up Audio: layers 10-12 were removed, the remaining encoder weights were frozen (not changed) and exported together with the AlignHead and a log-mel front end into a single ONNX graph; rysupalign_learned_v6.int8.onnx is additionally dynamically quantised to int8 with onnxruntime. HuBERT: Hsu, W.-N., Bolte, B., Tsai, Y.-H. H., Lakhotia, K., Salakhutdinov, R., Mohamed, A. "HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units", IEEE/ACM TASLP 29, 2021. arXiv:2106.07447.
3. Training data attribution The AlignHead was trained on (a) Rys Up Audio's own studio vocal recordings (not distributed) and synthetic / pseudo-labelled pairs derived from them, and (b) VocalSet 1.2 (Wilkins, J., Seetharaman, P., Wahl, A., Pardo, B., ISMIR 2018), CC BY 4.0, https://doi.org/10.5281/zenodo.1442513. No benchmark audio (Choral Singing Dataset, Dagstuhl ChoirSet, Cambridge-MT stems, fury takes) was used for training.
4. Evaluation datasets (RAB benchmark; not used for training) - Choral Singing Dataset, Cuesta et al. 2018, CC BY 4.0, https://doi.org/10.5281/zenodo.2649950 - Dagstuhl ChoirSet 1.2.3, Rosenzweig et al. 2020, CC BY 4.0, https://doi.org/10.5281/zenodo.4618287 - Cambridge-MT "Mixing Secrets" multitrack library (https://cambridge-mt.com/ms3/mtk/), used under its own terms; no stems are included in this repository.1 unmodified line23451 unmodified linelicense: otherlicense_name: polyform-noncommercial-1.0.0license_link: LICENSE---1 unmodified line234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041 unmodified linelicense: otherlicense_name: polyform-noncommercial-1.0.0license_link: LICENSElibrary_name: onnxpipeline_tag: feature-extractionbase_model: facebook/hubert-base-ls960tags:- onnx- audio- singing-voice- vocal-alignment- audio-to-audio-alignment- dynamic-time-warping- hubert---# RysUpAlign learned alignment model v6Frame embeddings for **audio-to-audio vocal alignment**: aligning a double, gang or backing vocal to aguide vocal without lyrics. Embeddings of the two takes are compared with dynamic time warping (DTW);the model is trained so that the same sung moment in two takes gets the same embedding even acrosssingers, timbre and pitch (unison, harmony, octave).It is the timing model of the RysUpAlign plug-in by [Rys Up Audio](https://rysupaudio.com).Benchmark, code and evaluation: **https://github.com/rysupaudio-lab/rysupalign-bench**## Files| file | size | sha256 ||---|---|---|| `rysupalign_learned_v6.onnx` | 305 MB, fp32 | `db3bf5b88834bba926c147d8785e829845c7827248efc74e2966f0bec7ec8b32` || `rysupalign_learned_v6.int8.onnx` | 112 MB, dynamic int8 | `e48d692579af3d8ed710ff99e47a1c37d0c1e0205440d5a69d1521a69f505246` |Both give the same accuracy on the benchmark (see below).## Input / output- input `wav`: float32 `[1, S]`, mono 16 kHz audio, normalised to zero mean and unit variance over the file- output `emb`: float32 `[1, T, 128]`, unit-norm embeddings at 100 fps; frame k is centred at 10k + 12.5 msFor long files, run 30 s chunks with 2 s overlap and drop 1 s on each side of every join.```pythonimport numpy as np, librosa, onnxruntime as ortsess = ort.InferenceSession("rysupalign_learned_v6.onnx", providers=["CPUExecutionProvider"])y, _ = librosa.load("take.wav", sr=16000, mono=True)y = ((y - y.mean()) / (y.std() + 1e-7)).astype(np.float32)emb = sess.run(None, {"wav": y[None]})[0][0] # [T, 128], 100 fps# cost between two takes: 1 - emb_a @ emb_b.T, then DTW```The complete aligners used for the results (gating, log-mel block, DTW method M1) are`runners/learned_onnx.py` and `runners/m1_dtw.py` in the GitHub repository.## Architecture- Encoder: HuBERT-base (`facebook/hubert-base-ls960`, revision `af46f65f540dc3ca7aa59f46c6c3d5dbb4374fa8`,Apache-2.0), frozen, first 9 transformer layers.- Head (1.66 M parameters): LayerNorm and a learned softmax-weighted sum of layers 3–9, Linear 768→256,×2 transposed-conv upsampling to 100 fps, plus a log-mel branch (64 bands, 25 ms; 80 bands over80–2000 Hz, 64 ms) on the same grid, 3 residual dilated Conv1d blocks, Linear → 128, L2 normalisation.- The log-mel front end is part of the graph (STFT as fixed conv1d kernels), so the ONNX file takes raw audio.## TrainingSymmetric frame-level InfoNCE (positive = the true fractional frame in the other take, negatives = allother frames within ±1 s). Data: synthetic doubles with exact timing (WSOLA timing slop, pitch andformant shifts, EQ, drive, reverb, noise) made from Rys Up Audio's own studio vocal recordings andVocalSet 1.2 (CC BY 4.0), plus pseudo-labelled real double takes and VocalSet cross-singer pairs.No evaluation audio was used for training.## Results (RAB, mean / median / share within 20 ms of the timing error)| system | R: real unison choir pairs (48) | S: exact-truth cases (120), mean | D: held-out Dagstuhl pairs (12), mean ||---|---|---|---|| no alignment | 52.0 / 34.8 ms / 33.7% | 39.5 ms | 65.1 ms || HuBERT-base L6 + log-mel DTW | 47.4 / 24.1 ms / 45.0% | 6.1 ms | 42.6 ms || MERT-v1-95M L4 + log-mel DTW | 44.8 / 20.0 ms / 49.9% | – | 47.8 ms || MERT-v1-330M L10 + log-mel DTW | – | – | 45.2 ms || **this model + log-mel, DTW** | 43.8 / 20.3 ms / 49.5% | 3.9 ms | 42.0 ms || **this model + log-mel, DTW method M1** | **39.8 / 14.8 ms / 58.4%** | **3.2 ms** | 43.0 ms (C++ engine) |On the held-out suite D the model is statistically tied with HuBERT-base features (12 cases); thegain on R comes mostly from the DTW method and did not carry over to D. Suite R was used for modelselection. Commercial alignment tools were not evaluated. Full tables, caveats (including an invalidannotation in the Choral Singing Dataset that affects 2 of the 48 R cases) and the scripts toreproduce everything are in the GitHub repository.## Licence- Model weights: **PolyForm Noncommercial License 1.0.0** (`LICENSE`). Noncommercial use (research,personal, educational, by noncommercial organisations) is permitted under its terms.- The HuBERT-base encoder weights contained in the files remain under the **Apache License 2.0**; see`NOTICE` and the appendix of `LICENSE`.- **Commercial licensing** of the weights is available from Rys Up Audio:https://rysupaudio.com/pages/contact-usRequired Notice: Copyright 2026 Rys Up Audio LLC (https://rysupaudio.com)## CitationPlease cite the repository (https://github.com/rysupaudio-lab/rysupalign-bench, `CITATION.cff`) andHuBERT (Hsu et al., IEEE/ACM TASLP 2021, arXiv:2106.07447) and VocalSet (Wilkins et al., ISMIR 2018).
LICENSE+289
NOTICEAdded+39
README.md+99