Polyphonic MIDI issues - help!

Hi all, I’m getting the ‘wrong’ MIDI notes output to ableton with this setup (i’ve attached some of the midi output here - clearly there are notes falling outside of the c major scale).

I’m sending cv from my hardware modular (from the instruo scion) into my computer via the ES-9, then using silent way vst to convert cv to midi in ableton. Then sending this midi into vcv rack (the VST version in ableton). i’m trying to quantize the cv and generate polyphony in harmonaig, send this out to ableton as midi and then send this midi to outboard synths. There’s a breakdown in the system right now as the midi I’m getting out in ableton is def not quantized to the scales I’m setting in harmonaig. Any ideas?

I m not sure how harmnaig work butn a 3r of E for instance , is G# it is out of C scale

you should quantize before send to the MIDI out

also the input must be monophonic

Harmonaig is not a polyphonic module on the way in. I do not have hardware eurorack. I can also get it to take a polyphonic cable on the cv in, but it only responds to the first channel. I’m doing this in the standalone version since I don’t even have something to plug it into. I suspect you are just doing too many steps, instead converting the cv from the outside world into midi before you send it to the instance of VCV with Harmonaig, you should be sending that CV directly into harmonaig. Not a programmer but it seems like it is somehow “partially” recognizing multiple multiple CV’s as a VST and tweaking a bit due to unintended function. It is only supposed to be taking a single source at each of it’s inputs.

Harmonaig is a quantizer. I’m trying to send quantized midi out.

Thanks. But I’m not sending polyphonic info into the harmonaig - I’m just sending one channel of CV. And in the VST version of VCV I’m not aware of a way to send CV directly from hardware into VCV. I believe you have to convert MIDI to CV first.

1 Like

Chord quality knob is another possibility… there is no visual feedback of it’s settings seemed the most “stable” to me at 0 which you have to hover to see. as for the direct to VCV CV, These may help…

Ignore the the link haha… for some reason it does not include brand… go to the library and pick up the expert sleepers rack modules. They are utilities for their interfaces. Don’t have one to test for you.

There are a few things to consider: First I would multiply the gates into another merge (the one output to three channels on the merge). Second is the right-click-menu of the harmonaig. Is it set to Ionian Mode (Major) in the Modal Selection Menu?

Third is to check if your notes you are sending to the harmoniag are not polyphonic by accident. If you have a slight overlap the second polyphonic channel would be used and therefor not recognized by harmonaig.

You can actually use an audio in in your patch, to access the ES9 directly to get the CV in.

Edit: If that does not fix anything. Set Harmonaig to performance mode and hit a few buttons on it, is the generated Midi valid?

2 Likes

Hi - this is helpful! Thank you. I used another merge for the gates and that seems to solve the problem when the harmonaig is in performance mode - the ‘right’ notes are being generated by the c major scale. Weirdly tho, each gate appears to be doubled?

Yes, the harmonaig is set to Ionian.

However, when I try using a cv source external to the harmonaig - I used the vcv version of marbles - I’m still getting a bunch of notes outside my chosen scale. Very confusing.

In this case I’m just sending one channel of CV from Marbles to the CV in on the harmonaig

You can actually use an audio in in your patch, to access the ES9 directly to get the CV in.

This is super cool - can you give me more info?

I am not an owner of ES-Modules. But as far as I know you should be able to use an audio-8 in your patch and set it to the ES-9 as audio interface. I don’t think ASIO is possible, since that is used by your DAW, but wasapi or directsound. And there are dedicated modules from expert sleepers in the library (for V2) but I don’t know what they are for.

I will check, if I can reproduce the gate and CV problem.

Okay, that was “easy”. I first did a patch with harmonaig in performance-mode and got the same results as you. So there must be something wrong with the gates.

I then used RANDOM for CV generation and got non-modal notes as well, both with the gate out on harmonaig or the trigger out on RANDOM. I then added a gate delay to lengthen the gates.

and got this:

All the wrong notes are from channels that are not in the scale. I added a slight delay (0.01s) on the gate delay and everything is fine:

It seems to be that harmonaig is triggering before it sets the note values on the active polyphony channels and that seems to confuse cv-midi in what channels to send out. Strange and I don’t know if this is wrong in harmonaig or CV-MIDI. I would send a support request to VCV.

1 Like

I eventually got my midi recording issue sorted out (user error) and gave this some tests too. To me, it looks like the gate output is “slightly” triggered when the cv input reaches an actual note value sometimes, even when off the key set on the panel. I inserted sample and hold on each output path and got marginally better results. I only got all correct notes out of it when I triggered gates from elsewhere (I used 1/4 clock from the DAW), however, even then I was getting those tiny pulses at the end of quarter notes when the clock’s gates were shorter than full quarter notes. Could be small problems with both Harmonaig’s gate output and VCV’s CV to Midi.

I only screen capped the initial issue as an even better fix than mine was already posted.

I didn’t read eveything you guys wrote, and I never used Harmonaig

But it gets me sometimes still - remember the 1 sample wire delay.

In this patch from OP, the V/Octs are delayed 2 samples - the gate only 1.

Whatever is on the CV>MIDI V/Oct port, is sent in a MIDI NOTE ON message on the rising edge of the gate. the same note value is sent in a MIDI NOTE OFF message on the falling edge of the gate. (if i understand the source correctly).

“Each cable in Rack induces a 1-sample delay of its carried signal from the output port to the input port. This means that it is not guaranteed that two signals generated simultaneously will arrive at their destinations at the same time if the number of cables in each signal’s chain is different”
Voltage Standards - VCV Rack Manual

2 Likes

I believe the v/oct outputs are continuous, changing voltage when a new notes as calculated from the incoming CV. Being 1 sample ahead, gates should still be the same length if working as intended, I would think. Instead I am getting all sorts of “ghost” triggers of much shorter duration.

Nasty notes
Harmonaig sends a new gate when the note changes
note and gate not in sync



Nice notes
gate is delayed 1 sample to be in sync with the note

1 Like

Very nice. Thanks Much!

Yes, but then two merges (one for V/Oct and one for gate) should also work and it does not. So it is not simply a one-sample-delay. It is however funny that a multiples work, but a merge not.

I don’t know if this is what you did ? - It looks fine to me

Hi Jens - thanks this is super helpful! As above, I’m not having any issues with the harmonaig when in performance mode - that started working fine as soon as @mosphaere suggested adding a merge for the gate signal. From your post I gather that that delayed the gate signal by a sample and that solved the issue.

My issue is when a CV external to harmonaig is used (here I’m using marbles), the issue pops up again. There are no longer ‘double notes’, but there are definitely notes that shouldn’t be in the c major scale.

The approach that @mosphaere used, delaying the gate by 0.1s, worked great tho. So I’m confused as to why - but glad this is now working (?). Added bonus is that the gate is lengthened which is nice as well. I’d love to know your thoughts on why this works so I can understand what’s going on here.

I hooked up a Submarine scope - see picture.



It seems like Harmonaig sends 3ms gates. Perhaps that is too short for a cv>midi gate ? I haven’t found the reference for the shortest allowable midi note/gate. Sounds reasonable that lengthening the 3 ms gate to at least a 1/32th note (62ms at 120 BPM) would make more sense with a CV->midi module.

Voltage Standards - VCV Rack Manual