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 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > pitch-related tool(s) for Famitracker users Owner: cak New post
Page 1 of 1 Sort:  
pitch-related tool(s) for Famitracker users Posted: 2012-06-18 22:51  (Last Edited: 2012-06-18 22:54) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#35907
[url=http://cakdude.webs.com/freq2pxx%20v1.zip]Freq2Pxx

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.


Attachments:
readme.txt (1 Kb)
Posted: 2012-06-18 23:17 Reply | Quote
gyms



Member for: 4183 days
Status: Offline

#35908
awesome, it's finished! thanks for sharing, cak!




Posted: 2012-06-19 23:48  (Last Edited: 2012-06-19 23:52) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#35929
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).

Posted: 2012-06-20 06:23 Reply | Quote
Xyz_39808

Avatar

Member for: 4180 days
Location: South Texas
Status: Offline

#35935
What about VRC6 saw? Since its pitch table is dfferent.

Posted: 2012-06-20 07:23  (Last Edited: 2012-06-20 07:32) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#35938
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]

Posted: 2012-06-21 01:34 Reply | Quote
Xyz_39808

Avatar

Member for: 4180 days
Location: South Texas
Status: Offline

#35955
Does what it says on the tin.

Also, lowest freq that works is 55hz. So if you're inputting values less than 55
[quote=TheReadme]Don't do that[/quote]

Posted: 2012-06-22 23:11 Reply | Quote
Xyz_39808

Avatar

Member for: 4180 days
Location: South Texas
Status: Offline

#36005
I need a refesher on the Harmonic series so badly. This is a really helpful tool!

Since I can't run Scala, can anyone figure out which tuning of A would it be if I were to have the lowest note be 60hz aka B-0 P4C.

Posted: 2012-06-22 23:16 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#36006
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...

Anyhow, this tool is cool.

Posted: 2012-06-23 06:36  (Last Edited: 2012-06-23 06:38) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#36013
[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.

Posted: 2013-01-13 11:45  (Last Edited: 2013-01-16 04:53) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#43498
EDIT: See newest version below.

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.

Posted: 2013-01-13 23:53  (Last Edited: 2013-01-13 23:53) Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#43517
[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!

(Lousy modern technology! )
Posted: 2013-01-14 02:42 Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#43526
Oh I know, I just wanted to compile an exe that most people can use, in the hope that someone will actually use it, heh.
Thanks!

Posted: 2013-01-14 11:46  (Last Edited: 2013-01-16 08:07) Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#43535
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


Attachments:
pxx_calculator.ods (22 Kb)
Posted: 2013-01-16 04:52  (Last Edited: 2013-01-16 04:56) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#43564
Nice!

I went ahead and added FTM creation to my utility...useful for simulating portamento not based on NES registers.


Attachments:
readme.txt (1 Kb)
freq2ftm.exe (97 Kb)
Page 1 of 1 Sort: