Scala Scale Files to TX81Z?

This section is for all variants of the Yamaha DX series. DX1/DX100/DX11/DX21/DX27/DX27S/DX5/ DX7/DX7IID/DX7IIFD/DX7S/DX9/TX81Z/TX7

Moderators: parametric, Derek, Saul

pmj
Member
Member
Posts: 12
Joined: Sun Apr 08, 2018 11:38 am
Great Britain

Scala Scale Files to TX81Z?

Unread post by pmj » Sun Apr 08, 2018 11:58 am

yamaha_tzx81z.png
Yamaha TX81Z
Has anyone successfully transferred Scala tuning files on to a TX81Z?

I've come across this which explains the Sysex structure of the tuning system for the TX:

http://www.rreid.net/tuning/sysex_microtune.txt

But I was hoping someone might be able to show me a working example file?

I understand the start, Yamaha ID and end points of the message but not how you tell the TX the notes and frequencies it needs to use.

Is there any software around or conversion tables that can help Scala = Yamaha format?

Thanks for any help.
User avatar
Sonus
Member
Member
Posts: 246
Joined: Tue Aug 05, 2008 12:00 am

Re: Scala Scale Files to TX81Z?

Unread post by Sonus » Mon Apr 09, 2018 10:49 am

The following example using OpenOffice Calc ...

Scala 12-17.scl converted to DX11/TX81Z micro tuning octave.
DX11/TX81Z micro tuning fraction is 100/64 = 1.5625 cents.
The coarse value is the note number C#-1[13] ~ C7[108].

Image

Image
TX81Z_MT_OCT.zip
(172 Bytes) Downloaded 4 times
Last edited by Sonus on Thu Apr 12, 2018 6:50 am, edited 2 times in total.
pmj
Member
Member
Posts: 12
Joined: Sun Apr 08, 2018 11:38 am
Great Britain

Re: Scala Scale Files to TX81Z?

Unread post by pmj » Mon Apr 09, 2018 11:26 am

Thanks very much for that!

Would you mind sharing the OpenOffice Sheet if you still have it? Just so I can see how the calculation cells are formatted?
pmj
Member
Member
Posts: 12
Joined: Sun Apr 08, 2018 11:38 am
Great Britain

Re: Scala Scale Files to TX81Z?

Unread post by pmj » Mon Apr 09, 2018 7:27 pm

Also, if anyone has a formula for getting the 2’s binary checksum number that goes on the end of the sysex string I’d be grateful for any help...
User avatar
Sonus
Member
Member
Posts: 246
Joined: Tue Aug 05, 2008 12:00 am

Re: Scala Scale Files to TX81Z?

Unread post by Sonus » Wed Apr 11, 2018 11:50 am

Calculating 7-bit checksum:

•Scala 12-17 SUM = 1869
•Remainder of 1869/256
•256-77-128 = 51 = 0x33

=MOD(A1;256)
=IF(256-A2>127;256-A2-128;256-A2)
=DEC2HEX(A3;2)
Last edited by Sonus on Fri Apr 13, 2018 4:17 am, edited 1 time in total.
pmj
Member
Member
Posts: 12
Joined: Sun Apr 08, 2018 11:38 am
Great Britain

Re: Scala Scale Files to TX81Z?

Unread post by pmj » Wed Apr 11, 2018 1:02 pm

EDIT: Thanks, double checked my addition and got 1869 using this bracketed range for the checksum.

F0 43 00 7E 00 22
{4C 4D 20 20 4D 43 52 54 45 30 3C 00 3C 2D 3D 1A 3E 34 3F 21 40 3C 41 29 42 16 43 30 44 1E 45 38 46 25}
33 F7

Cheers!
pmj
Member
Member
Posts: 12
Joined: Sun Apr 08, 2018 11:38 am
Great Britain

Re: Scala Scale Files to TX81Z?

Unread post by pmj » Thu Apr 12, 2018 8:48 am

One last question on this, just to check my workings...

How are you arriving at the data in the fine tune column on your original sheet?
User avatar
Sonus
Member
Member
Posts: 246
Joined: Tue Aug 05, 2008 12:00 am

Re: Scala Scale Files to TX81Z?

Unread post by Sonus » Thu Apr 12, 2018 11:25 am

You're welcome ...

•Cents to MT units:
=ROUND(A1*64/100)
(closer to original)

•Octave C3~B3:
=B1+3008
(C3 note number 60)

•MT coarse value:
=QUOTIENT(C1;64)+13

•MT fine value:
=MOD(C1;64)

•MT MSB & LSB:
=DEC2HEX(CELL;2)
Last edited by Sonus on Fri Apr 13, 2018 5:38 am, edited 3 times in total.
pmj
Member
Member
Posts: 12
Joined: Sun Apr 08, 2018 11:38 am
Great Britain

Re: Scala Scale Files to TX81Z?

Unread post by pmj » Thu Apr 12, 2018 12:09 pm

Awesome!

Think I'm there...

I used ROUNDDOWN on the MT Units column otherwise I get a very slight variance in the figures to what you have.

One thing, and I can't find this in the LibreOffice documentation, is how to format cells in the MSB and LSB columns with a leading 0 on single digits once there's a calculation of DEC2HEX in a cell. Any idea?
Last edited by pmj on Mon Apr 16, 2018 8:07 am, edited 2 times in total.
pmj
Member
Member
Posts: 12
Joined: Sun Apr 08, 2018 11:38 am
Great Britain

Re: Scala Scale Files to TX81Z?

Unread post by pmj » Mon Apr 16, 2018 8:06 am

Final version with tidied up formatting, thanks Sonus for all your help!

SCL-TX81Z.ods
(16.32 KiB) Downloaded 2 times
Post Reply

Return to “Yamaha DX & TX Forum”