Page 2 of 2
Re: not equal-tempered, just intonation & Live?
Posted: Sun Apr 10, 2011 6:28 pm
by crumhorn
If you are wanting to add calculated amounts of pitch bend to your note on messages then a PD patch could be made to do it.
Would be an interesting project. Might have a go when I get a spare half hour.
Re: not equal-tempered, just intonation & Live?
Posted: Sun Apr 10, 2011 7:20 pm
by Capitan Mission
crumhorn wrote:If you are wanting to add calculated amounts of pitch bend to your note on messages then a PD patch could be made to do it.
Would be an interesting project. Might have a go when I get a spare half hour.
Yes, it would be a very interesting and useful project!
These programs (L’il Miss' Scale Oven or the most simple microtuner) can load scala files and transform the ratios/cents info into pitch bend midi data.
I will really appreciate if you can do a patch. Im learning PD, but Im a noob, with your example I can learn a lot! : )
Re: not equal-tempered, just intonation & Live?
Posted: Sun Apr 10, 2011 8:52 pm
by crumhorn
I've got as far as a blank sheet with a notein at the top and a bendout at the bottom. Now I just need to figure out the bit in between.

Re: not equal-tempered, just intonation & Live?
Posted: Mon Apr 11, 2011 3:28 am
by crumhorn
I've kind of got it working but it's harder than it seems.
I made my patch so that it sends each note on a different MIDI channel. But it breaks if you release the notes in a different order to playing them. In which case it sends the note off to the wrong MIDI channel. It will need a note status array to keep track of which channel each note was sent on.
Also there is no file handling - you have to enter the offsets by hand into the tuning_adjust array. I've never looked at file handling in PD, but I'm pretty sure it's possible.
Here is what I have so far. (copy and save as microtune.pd)
Code: Select all
#N canvas 792 94 698 544 10;
#N canvas 0 0 454 304 graph1 0;
#X array tuning_adjust 12 float 3;
#A 0 0.057 0 0.0342 0 -0.3 0 0 0 0 0 0 0;
#X coords 0 -1 12 1 200 140 1;
#X restore 16 17 graph;
#X obj 189 280 tabread tuning_adjust;
#X obj 424 44 notein;
#X obj 189 239 mod 12;
#X obj 189 469 bendout;
#X obj 328 469 noteout;
#X obj 397 383 + 1;
#X obj 457 411 mod 16;
#X obj 336 178 t a a b;
#X obj 335 134 spigot;
#X obj 378 109 != 0;
#X obj 448 125 spigot;
#X obj 488 101 == 0;
#X obj 189 421 int;
#X obj 396 354 int 0;
#X obj 190 318 * 8192;
#X floatatom 123 311 5 1 12 0 Pitch_Bend_Range - -;
#X text 37 329 (semitones);
#X obj 191 365 /;
#X text 24 280;
#X text -1 167 Edit This Array to specify tuning offsets from -1 to
+1 semitone.;
#X text 440 359 MIDI Channel Counter;
#X text 497 126 Note Off Processing;
#X text 259 107 Note On Processing;
#X connect 1 0 15 0;
#X connect 2 0 9 0;
#X connect 2 0 11 0;
#X connect 2 1 5 1;
#X connect 2 1 10 0;
#X connect 2 1 12 0;
#X connect 3 0 1 0;
#X connect 6 0 7 0;
#X connect 6 0 5 2;
#X connect 6 0 4 1;
#X connect 7 0 14 1;
#X connect 8 0 5 0;
#X connect 8 1 3 0;
#X connect 8 2 14 0;
#X connect 9 0 8 0;
#X connect 10 0 9 1;
#X connect 11 0 5 0;
#X connect 12 0 11 1;
#X connect 13 0 4 0;
#X connect 14 0 6 0;
#X connect 15 0 18 0;
#X connect 16 0 18 1;
#X connect 18 0 13 0;
Re: not equal-tempered, just intonation & Live?
Posted: Mon Apr 11, 2011 7:20 pm
by ze2be
Hey guys.
With Absynth 5, is it possible to load .tun files?
Its got a tuning library, and there's a few to choose from. They can be loaded from the vst gui. Other then creating a new tuning preset by tuning all 127 notes separately, I cant figure out how to add .tun files. I have a folder with .tun files from LinPlug.
Been through the manual, and searched the web. No success.
I found this:
Please check that /Library/Application Support/Native Instruments/Absynth 5/Libraries/Tuning exists, if it doesn't just make a folder named Tuning in the Libraries folder.
Hmm.. cant find
Library/Application Support on WinXP!
Re: not equal-tempered, just intonation & Live?
Posted: Mon Apr 11, 2011 9:36 pm
by Capitan Mission
Hi!
ze2be: Im trying to load scala files in FM8, for what I read, I need to convert the files to syx and then load them. Im searching a converter.
crumhorn: thanks! I played with your patch. As you said, its more difficult. The pitch bends need to be different for each note. The intervals in microtuning are not semitones. I found a object in Max ("microtuner") that can load tuning files, and a patch that makes the pitch bends, but outputs freq signals, not midi. For the moment, I dont find such thing in PD.
I think that a M4L tool could be a very possible and amazing solution.
Re: not equal-tempered, just intonation & Live?
Posted: Tue Apr 12, 2011 12:40 am
by crumhorn
There are a few problems with that version. But I haven't given up on it.
This version has settings for number of midi output channels (default = 4) and the pitch bend range of the instrument (default = 2). The tuning data is in the array at the top left hand corner. To edit it Right click and choose properties and then follow you nose. alternatively find this line in the pd file:
#A 0 0 0 0.04 0 -0.14 -0.02 0 0.02 0 -0.16 0 -0.12;
and edit the numbers, which are tuning offsets is fractions of a semitone for each note from C, C#, D, through to B.
It could be changed to start from a different root note, which is something I should add as a parameter.
The preinitialised values are for a Just Intoned Major Scale, courtesy of Wikipedia -->
http://en.wikipedia.org/wiki/Just_intonation
PD file here -->
http://www.sharehost.co.uk/Live/microtune.pd
Re: not equal-tempered, just intonation & Live?
Posted: Wed Apr 13, 2011 5:36 pm
by Capitan Mission
crumhorn wrote:There are a few problems with that version. But I haven't given up on it.
I see! I will test it now.
Re: not equal-tempered, just intonation & Live?
Posted: Fri Jun 26, 2015 9:36 am
by cyclone975
Hey all,
Here is a Max for Live MIDI retuning device I just uploaded that offers some Microtuning capabilities for Live MIDI instruments.
Here's the device:
http://www.maxforlive.com/library/devic ... e-for-live
And here is a youtube tutorial where you can check it out:
https://www.youtube.com/watch?v=UFdoiX-kBA8
Thanks, and I'd love to hear your thoughts! Let me know how it works for you.
Re: not equal-tempered, just intonation & Live?
Posted: Fri Jun 26, 2015 7:19 pm
by ambientidm
ze2be wrote:Albino, Omnisphere, Zebra, Alchemy..
Can someone explane how to do it with Zebra?
With Alchemy its easy: and you can lock the tuning so that it stays when you change presets.
there is a micro tuning menu in zebra (.tun files) and a lock button inside that menu
the .tun files must be placed in the corresponding folder inside zebra
you cannot get them if they are not in that folder