2 Apr 2024 |
@fractivore:cyberia.club | In reply to @technicus:matrix.org If I get an Axel-F midi, maybe a language model trained on Sonic-Pi could translate the MIDI into coded instructions. That's a deterministic problem, so if you wanted to do it programatically, I think you'd be better off with a deterministic program. | 03:57:38 |
@fractivore:cyberia.club | What role do you want sonic-pi to play in this situation? | 03:58:43 |
@fractivore:cyberia.club | I've used sonic-pi more with midi out than midi in, like to generate midi tracks that I want to swap out the instruments on or whatever. You could also take the midi input and have sonic-pi generate the audio, perhaps adding effects programatically - sort of using sonic-pi like a modular synth. | 04:00:29 |
@fractivore:cyberia.club | There are quite a few ways you could use the midi, and none of them are necessarily right or wrong. In the sonic-pi IDE, there's a tutorial section - part 11 is MIDI. I'd read through that section so you can bend it to your will for whatever sort of expression you choose. | 04:02:05 |
Miles Dyson | How do I open a midi file with Sonic-Pi? | 04:02:23 |
@fractivore:cyberia.club | In reply to @technicus:matrix.org How do I open a midi file with Sonic-Pi? Ah, so that, I don't think you can do. Sonic-pi can recognize the midi signal but I don't think it supports midi files directly. | 04:03:14 |
@fractivore:cyberia.club | Personally, with my stack, I'd probably open up the midi file in ardour and route it into sonic-pi using PipeWire or JACK. | 04:03:41 |
Miles Dyson | So I will need to play the midi file with a different program then send the midi signal into Sonic-Pi. | 04:03:53 |
@fractivore:cyberia.club | pretty much, yeah. In the IO tab, there's a "midi inputs" section. | 04:04:35 |
Miles Dyson | I am such a noop . . . I have not even opened Ardour yet. | 04:04:37 |
@fractivore:cyberia.club | I've tried out quite a few daws, most of the free ones plus a few that cost money, and ardour is by far my favorite! | 04:05:21 |
@fractivore:cyberia.club | You can just drag and drop the midi file in! | 04:06:03 |
Miles Dyson | I am probably getting the ocassional clicks because the audio settings are not yet optimized. | 04:08:29 |
Miles Dyson | As usual, I am already trying to run the instant I learn to crawal. | 04:09:01 |
Miles Dyson |
You can view the memory limit with 'ulimit -l', and it is normally controlled by /etc/security/limits.conf```
| 04:09:20 |
@fractivore:cyberia.club | In reply to @technicus:matrix.org
You can view the memory limit with 'ulimit -l', and it is normally controlled by /etc/security/limits.conf```
Oh yeah, the ulimit thing, that's a pain. Did you set up musnix yet? | 04:11:49 |
@fractivore:cyberia.club | Getting "too many open files" from ardour? | 04:12:06 |
@fractivore:cyberia.club | I had to work through this issue a couple months back, I think it was musnix that fixed it | 04:12:33 |
Miles Dyson | No, I have been too excited and skipped a few important steps. | 04:12:36 |
Miles Dyson | I got lost trying to figure out what Musnix is. | 04:13:06 |
Miles Dyson | What is it? | 04:13:09 |
Miles Dyson | . . . but I am still trying to understand how to setup revision control for my config files. | 04:14:02 |
Miles Dyson | There is still a bit of basic system administration that needs to be established. | 04:15:37 |
@fractivore:cyberia.club | In reply to @technicus:matrix.org What is it? It's this: https://github.com/musnix/musnix Basically it's a repo that has options to make configuring NixOS for audio work easier. | 04:15:39 |
@fractivore:cyberia.club | In reply to @technicus:matrix.org . . . but I am still trying to understand how to setup revision control for my config files. This isn't exactly the right channel for that, but may I take it you're new to git? | 04:16:15 |
Miles Dyson | In reply to @fractivore:cyberia.club This isn't exactly the right channel for that, but may I take it you're new to git? My git knowledge is just enough. | 04:19:33 |
Miles Dyson | Can I have the config files in a non root directory? | 04:21:02 |
@fractivore:cyberia.club | In reply to @technicus:matrix.org Can I have the config files in a non root directory? You can. There's a few ways of doing it, including home-manager (which I haven't bothered to learn yet myself), using flakes and specifying a flake to build from on the command line, or perhaps just manually copying your config files from your non-root repo to their normal rootful location. I personally just have a git repo in my root /etc/nixos, which is probably not recommended, but 🤷♂️ | 04:24:05 |
@fractivore:cyberia.club | If you just want to get started with the music stuff, don't worry about getting "the right" kind of revision control setup. You could just manually upload the files to github and figure out a fancier way later if you need to. | 04:25:25 |
@fractivore:cyberia.club | When it comes to secrets files, absolutely keep those outside of your repo. Ultimately you need something other than git and NixOS to manage your secrets. You can use agenix to encrypt your secrets files or whatever, but even then you still have to manage your private key. My advice? Use a password manager for that. | 04:27:44 |