I hereby claim:
- I am matthewryanscott on github.
- I am gldnspud (https://keybase.io/gldnspud) on keybase.
- I have a public key ASAjLD3nW-ZT_9eEDNVKzoP0F2jbn3_dOjUgIO-Z5ks1wAo
To claim this, I am signing this object:
| # wav2sunvox | |
| # by Queries | |
| # | |
| # A tool for importing stems into SunVox. | |
| # | |
| # License: MIT | |
| # | |
| # Proper repo: some day maybe... | |
| # For now I'll keep the gist up-to-date with my local copy: | |
| # https://gist.github.com/matthewryanscott/d648a6462d555b0ebdbf83fd352f3008 |
| from pathlib import Path | |
| from struct import pack | |
| def add_serum_chunk(wav_path: Path): | |
| # Existing WAV file must be in a 2048-samples-per-frame format. | |
| # See https://www.kvraudio.com/forum/viewtopic.php?t=517146 | |
| comment = "<!>2048 00000000 wavetable (www.xferrecords.com)" | |
| encoded = comment.encode("utf8") | |
| chunk_id = b"clm " |
| from pathlib import Path | |
| from rv.api import m, Note, NOTE, Pattern, Project, Synth | |
| if __name__ == "__main__": | |
| # Metamodules contain a project. | |
| project = Project() | |
| # Simple routing of a multisynth to a generator to output. |
I hereby claim:
To claim this, I am signing this object:
| from collections import deque | |
| import sys | |
| import time | |
| import threading | |
| import mido | |
| import numpy as np | |
| from orbitant import backend as midi | |
| from orbitant.transport import START, STOP, CLOCK | |
| import sounddevice as sd |
| 0 1 2 3 4 5 6 7 8 9 a b c d e f | |
| CHNM: 00000000 | |
| CHDT: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |
| ------------------------------------------------ ? | |
| 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |
| ------------------------------------ ? | |
| ----------- max sample index + 1 | |
| (0 for no samples) | |
| 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |
| ----------- ? |
Please read this before joining our Slack chat:
Music and sound design attract a wide audience. Let's all be friendly and warm. :-)