Microtonal to sound microtonal

Ian Guthrie's icon

Hello everyone,

I am trying to create a 15-tone equally-tempered scale in this patch's MIDI output. The scale does create the distance I want, but instead of producing microtonal inflections, it produces multiples of the same pitch. The previous forum from 2015 "Microtonal Piano App" had for what I was searching, but I could not understand the jargon.

15-tone poly (2nd attempt).maxpat
Max Patch
15-tone polyphonic attempt

Mitch Turner's icon

Ian,
Take a look inside of the [poly~ ez-synth] object.

Note the [t i b] object, just after the input. This takes in a number and outputs an int and a bang. I believe the floats you are sending the [poly~ ] are being converted into ints. So, if the poly~ receives the number 40.8 and 40.2, it will treat it as 40 in both cases. If I remember correctly, converting a float to an int, the decimal is removed, not rounded.

I think you will need to make two changes to your patcher:
1) recreate the "ez-synth" patch, making the trigger object is: [t f b]. I think this will get the result you want.
2) edit the poly~ object to say: [poly~ my-ex-synth 6]

I have created theses patches and will post it in a minute.

Hope this helps,
Mitch

Mitch Turner's icon

Here are the patches that I made. They will likely need to be in the same folder to work. Last thing, when you copy your patcher onto the forum, cycling asks that you "copy compressed." To do this, put your patcher into edit mode, select all, then select "copy compressed" from the Edit menu.

1) my-ez-synth patch:

Max Patch
Copy patch and select New From Clipboard in Max.


2) edited main patcher that I got from your original post.

[see corrected patcher in post below]

Hope this answers your questions,
Mitch

Ian Guthrie's icon

Hello Mitch,

Thanks. That definitely solved the tuning confusion. However, poly~ my-ez-synth and other arguments have no output.

Max Patch
Copy patch and select New From Clipboard in Max.

You would know better than I how to trick it to have an output.

Mitch Turner's icon

Ian,
Somehow, the connection cable from the [poly~ my-ez-synth] to the [live gain] object was removed. Re-connect that and all should be well.

Hope this helps,
Mitch

Mitch Turner's icon

I removed the broken patch from my earlier post.

Here is the corrected patcher.

Max Patch
Copy patch and select New From Clipboard in Max.

Ian Guthrie's icon

Hello Mitch,

Thanks. I think you attached your earlier patcher, as this one still has the connection cable removed. I am also going to try running my MSP folder via Administrator in order to allow editing.

Sincerely,

Ian Guthrie

Mitch Turner's icon

I think I see the problem.

When you copy to the clipboard and first open the patcher, the connection is broken from [poly~] to the [live.gain]. Once you save the patch into the same directory as the my-ez-synth.maxpat file, the connection is restored.

Hope this helps,
Mitch

Ian Guthrie's icon

Hello Mitch,

Thanks. The solution that ended up working for me was actually
(1) running Max as administrator
(2) going into the initial patch and subpatch
(3) changing the "i" to a "f" ([t i b] to [t f b]) as you had previously done
(4) since I was running as administrator, I was able to save the ez-synth MSP under a new name in the protected folder.

… And now it works!

Thank you again so much for your help in this process. I could not have discovered the difference between integer vs. float.

Sincerely,

Ian Guthrie

Main patch:

Max Patch
Copy patch and select New From Clipboard in Max.

ez-synthmicro:

Max Patch
Copy patch and select New From Clipboard in Max.