Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29
Useful for composing with microtonal/xenharmonic scales. I have a couple other utilities in the works as well, though they're mostly applicable to F01 composition.
No problemo. I forgot to mention a couple things...you can use [url=http://www.huygens-fokker.org/scala]Scala to generate the frequencies in the first place. Here's a few basic steps:
-Run Scala.
-Type "set freq 261.626" and hit enter. That sets the scale's base frequency to middle C, though you can use whatever frequency you want.
-Type "equal 24 2/1" and hit enter. This will create a 24-TET scale with a standard 2/1 octave ratio.
-Press ctrl-alt-f6, copy the frequencies, and paste them into "freq.txt".
Also, Freq2Pxx is only useful for 2A03/MMC5/VRC6 pulse channels and 2A03 triangle channel (obvious, but I should mention it anyway).
Frequency formula looks pretty similar, so yeah I can add vrc6 saw support at some point.
Also, this was funny/encouraging:
[quote=Kevin Horton]I have extensively tested the
output of the actual VRCVI chip to this spec and everything fits perfectly.
I did this by using a register dump and [b]a QBASIC program[/b] I wrote which
takes the register dump and produces a WAV file.[/quote]
QBasic has some following in the NESDEV scene. Kevtris and Bisqwit both seem to use it for stuff. For certain things it's as good a language as any I suppose...
[url=http://www.sengpielaudio.com/calculator-centsratio.htm]for the Scala disabled
The one sticky point about using QB is having to switch to FreeBASIC for final compilation, but other than that it's served me surprisingly well. I even figured out how to generate FTMs, which will soon come in handy.
Yesterday I made a variant of Freq2Pxx which is limited to equal temperament scales, with the benefit of not requiring another app or knowledge of tuning. All you need to do is type in the start/end notes (like A#3 or B-2), the number of desired notes, and the utility does the rest. The detune values are written to "pxx.txt", and the equivalent hz (for reference) are written to "freq.txt".
It's also useful for simulating logarithmic portamento. Hopefully I can add the ability to generate FTMs containing the effect at some point.
[quote=cak]The one sticky point about using QB is having to switch to FreeBASIC for final compilation, but other than that it's served me surprisingly well. I even figured out how to generate FTMs, which will soon come in handy.[/quote]
Actually, you only have to switch to FreeBASIC's compiler if you're trying to target any Windows OS from Vista or newer; you can still use 16-bit DOS compilers for GW-BASIC & QuickBASIC if you're targeting Windows XP or older.
And that's a pretty wicked program you made there.
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
For calculations like this, I guess standalone software works okay, but it occurs to me that a spreadsheet can do this job alright, so I took 30 minutes and wrote up something that can do this job in OpenOffice Calc.
Edit: re-uploaded, pxx was upside down also added resulting Hz for comparison