HN user

waveywaves

90 karma

"It's a build and deploy world"

Posts16
Comments54
View on HN
rigorcloud.com 3mo ago

Show HN: Rigor – Anti-Enshittification Proxy for Your AI Agents

waveywaves
3pts0
contrapunk.com 3mo ago

Show HN: Contrapunk – Real-time counterpoint harmony from guitar input

waveywaves
118pts56
readandlearn.app 7mo ago

Read and Learn: open-source language learning app

waveywaves
2pts1
github.com 10mo ago

Show HN: MCP-Server for Tekton (Kubernetes CI/CD)

waveywaves
1pts1
vibhavstechdiary.substack.com 1y ago

Isolating Operating System Processes Part 1

waveywaves
1pts1
vibhavstechdiary.substack.com 1y ago

"Let's hook up " – said every LD_PRELOAD

waveywaves
8pts1
vibhavstechdiary.substack.com 1y ago

Mirrord Mirrord on the wall, who's most processed of them all

waveywaves
12pts4
vibhavstechdiary.substack.com 1y ago

Supernatural Abilities of a Virtual Kubelet

waveywaves
1pts0
vibhavstechdiary.substack.com 1y ago

Kubernetes Resource Model, Controller Pattern and Operator SDK Refresher ↻1

waveywaves
1pts0
vibhavstechdiary.substack.com 1y ago

Scheduling Simulations and Ghosts in the Cluster

waveywaves
1pts1
vibhavtechdiary.substack.com 1y ago

Deep dive into components required to run a air-gapped Kubernetes cluster

waveywaves
3pts0
quitetherabbithole.substack.com 2y ago

Lessons from Drunk Shenanigans in History

waveywaves
1pts0
waveywaves.substack.com 2y ago

Show HN: Visualizing Elias Canetti's Crowds and Power 2 with P5.js

waveywaves
1pts1
waveywaves.substack.com 2y ago

Analysing Inspirations for the Divine Dragon in Sekiro

waveywaves
1pts0
www.dailyartmagazine.com 2y ago

Dragons in East Asian Art

waveywaves
2pts0
waveywaves.substack.com 2y ago

Visualizing Elias Canetti's Crowds and Power 1

waveywaves
1pts1

Really appreciate you sharing your workflow honestly.

I have a few follow up questions. When you're using SonoBus, are your musicians running local synths/instruments, or are you working with audio streams? And are you on macOS? Asking because you can actually use Contrapunk with SonoBus today then route guitar through Contrapunk, send the harmony MIDI to a synth via IAC buses, and pipe the audio into SonoBus through BlackHole. But there's clearly an extra step you probably shouldn't have to do. Your session hears the harmonized output and you can mute/unmute the Contrapunk voices like any other musician. Longer term we can look at native SonoBus integration via the AOO protocol so Contrapunk would show up as a peer in your session directly. What do you think about it ? Would love your input on what that should look liked.

This is callback heavy audio code so this was the bigger problem for me mainly and learning about lifetimes was a pain initially. cpal's stream callback wants 'static which means you can't just pass references around. You end up using channels (crossbeam / std::sync::mpsc) between the audio thread and everything else. Once I structured around that it got smoother. I also got a lot of help from AI to understand and reimplement a lot of the parts for this as you can tell from the commit messages.

I had added a metronome and a note generator to this earlier which aren't working well exactly right now. But this would definitely increase playability. I agree that there should be a VST plugin version of this as well. It can also live as a standalone app and a plugin. Could you elaborate on the analyze timing? If you had to play using this, what would you like to hear ?

Yes, latency was the main problem to solve here. Because of which I opted for Rust. The pipeline is:

- 128-sample cpal audio buffers (~2.7ms at 48kHz) - Single-cycle pitch detection - 2-frame McLeod pitch voting for confirmation - Entire DSP pipeline is Rust, pre-allocated ring buffers with minimal heap pressure

The e2e from pluck to MIDI "note-on" signal, is under 10ms on an M-series Mac. Hardware matters for sure so an audio interface with low-latency drivers (I use an Audient iD14) helped a lot. The web version (app.contrapunk.com) adds AudioWorklet latency on top, so the native Mac app is noticeably tighter. I am still working on figuring out how to have lesser noise and pitch jitter in the final output. Also this works really well for higher notes, bass not so much right now. Still need to figure out how to handle harmonics better. I have created this issue for you for now, let me know if you would like to add anything else to this as well. https://github.com/contrapunk-audio/contrapunk/issues/6.

Have you been able to try it as well would love to hear what you think! Coming back to the features, regarding 1. you can already choose between soprano, alto, tenor or bass. I have still filed an issue for this, will help me remember to take vet this feature. Sometimes it's not as strict as it should be but that's also something I need to work on. Regarding 2. it's a good idea, helps you be in control of the kind of counterpoint you are doing, filed an issue for the same. Please feel free to comment on the issue. 3. is just feels is a little goofy as well I love it. I haver filed an issue for this as well check https://github.com/contrapunk-audio/contrapunk/issues/

Thank you! The best part about this project is that you don't actually need a elaborate setup :) All you need is a DAW like garage band or logic and a few IAC buses configured on your mac. I really like the idea of key detection, it is something I have already thought about as well: based on the song it should pick up the key which you can then jam to with contrapunk and I think it can act as an educational moment for the player as well at the time. https://github.com/contrapunk-audio/contrapunk/issues/4 I have created a github issue over here as well for this. For the velocity currently I am inheriting the onset strength of the input signal for the accompanied notes. The guitar input measures RMS energy in the first ~5ms of each pluck (the attack transient) and maps that to MIDI velocity. I will post more sample recordings on the website soon! Were you able to check the one which was already posted?

I had created this chrome plugin for myself because I didn't want to pay anyone else for a similar plugin to improve my French reading. The aim of this project is to create a open source platform which can be used to learn a language through reading initially and track progress on the app platform. I would like to share it here and understand what things would be good to keep in mind when making an app like this. I plan on making the platform free as well for as long as I can trying to keep the costs to an extreme minimum by making an extremely optimized service. I know that right now there's nothing substantial in the repository apart from a working MVP which you can start using locally, but would love to hear your comments on what you think.