SynthMaker

Tuning with .tun

Archive · 2007 7 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

oddson ·

I've been playing with .tun files and I've made this basic file reader/microtuner.

It doesn't read base frequency data. But it does read the 'Exact Turning' section and replaces any values from the quantized tuning section with the fractional (cent) values.

microtuning.osm

Originally I was breaking the two sections and processing them separately. But this works more simply - but the exact section has to follow the quantized section.

oddson ·

I've cleaned it up a touch and added 'basefreq' support - at least I hope I've got that right.

microtuningBF.osm

Please let me know if I got anything wrong here. 🙂

AngularMomentum ·

Hey Oddson,

Thank you for your work on this.

I got a whole bunch of tune files, but none of them seem to work here, whatever file I load, it still comes up with the same frequency for every note, no changes to see. Keep up the good work though, I sure find this very useful.

oddson ·

Can you send me some that don't work?

I've been trying Tobybear exports of .scl files and they seem to work fine but I may have missing some important aspect of .tun files that's causing the parse not to work.

AngularMomentum ·

Heheh, I was thinking the same thing, I converted the Tobybear files, and thought I must have been doing something wrong...I will upload some and PM you a link Leif.

oddson ·

Umm... they seem to work for me... you did see the 'A/B Selector' module? It's there so you can switch between standard and retuned values. I think I saved the last version with the '.tun' on false so it's using the standard tuning. But when I load a file and click it on it is definately retuning.

EDIT - there was at least one bug. If there was no explicit basefreq value it would take the last one read instead of restoring the default.

AngularMomentum ·

When I push A/B it plays an octave higher. So indeed it is retuning....heheh! 🙂

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.