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 > Create VRC6 versions of regular instruments? Owner: DevonS New post
Page 1 of 1 Sort:  
Create VRC6 versions of regular instruments? Posted: 2010-07-15 00:19  (Last Edited: 2010-07-15 00:20) Reply | Quote
DevonS



Member for: 4360 days
Status: Offline

#7326
I tried to make a VRC6 version of one of my instruments in famitracker, but I couldn't do it because the way such instruments are created is apparently totally different. Is there any way to replicate instruments in this way or am I just deluding myself?

Posted: 2010-07-15 00:47 Reply | Quote
tadpole

Avatar

Member for: 5712 days
Location: Renton, WA, USA
Status: Offline

#7327
What kind of instrument are you trying to convert?

Posted: 2010-07-15 01:08 Reply | Quote
kinkinkijkin

Avatar

Member for: 4366 days
Location: Not where my face is
Status: Offline

#7328
"Normal" instruments. Obviously 20A3/20A7 (or whatever).

Posted: 2010-07-15 02:27 Reply | Quote
xolroc

Avatar

Member for: 4373 days
Location: Here
Status: Offline

#7330
They're actually very similar. Everything except square duty is the same. The "Duty/Noise" envelope is replaced by the "Pulse Width" envelope, which is just an extension of its predecessor. In the duty 2A03 envelope, you have options of 12.5%, 25%, 50%, and 75%. The pulse width envelope has eight duty settings ranging from (I think) 12.5% to 50%. It goes no higher than 50% because a wave with 75% duty sounds identical to one with 25% duty, 80% would be the same as 20%, and so on.
That should help somewhat.

_______________________
If there is evil in this world, it lurks in the hearts of man.
--Trinicus D. Morrison

The Final Fantasy IX 8-bit project: 3 complete
http://famitracker.shoodot.net/forum/posts.php?id=1624
Posted: 2010-07-15 03:03 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#7341
In other words, when you create a new instrument for any of the VRC6 sound channels, open the instrument, check-mark the Pulse Width check box & type the number 1 in the MML text field.

Once you hit ENTER to finalize the change & exit the instrument settings' window, your VRC6 square wave instrument will sound exactly like the standard square wave instrument (they'll both have a duty cycle of 12.5%).

If you change the pulse width of the VRC6 instrument to a value of 7 instead of 1, it will sound like the standard square wave if it had a duty cycle value set as 2 (i.e.: they'll both have a 50% duty cycle).

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Posted: 2010-07-15 03:43 Reply | Quote
xolroc

Avatar

Member for: 4373 days
Location: Here
Status: Offline

#7345
I thought it was 0 that was 12.5%?

_______________________
If there is evil in this world, it lurks in the hearts of man.
--Trinicus D. Morrison

The Final Fantasy IX 8-bit project: 3 complete
http://famitracker.shoodot.net/forum/posts.php?id=1624
Posted: 2010-07-15 05:27 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#7347
With the VRC6 instrument, MML value 1 is the same as MML value 0 (or MML value 3, more precisely) in the 2A03 instrument.

You can try it for yourself create an instrument for the 2A03 channel, don't set the duty cycle (or set it to MML value 3) & play it. Then have a look at the produced wave form & note the sound.

Then, create a VRC6 instrument for the square channel & set the pulse width to MML value 1. Play it & take note of the waveform & sound.

Duty cycles of 25% & 75% produce the exact same sound. This means that using MML values of 3 or 0 in the 2A03 squares is equivalent to using MML value 1 in the VRC6 squares.

Also note: in the 2A03 sound chip, you can use MML values of 0, 1, 2 or 3 (which are 12.5%, 25%, 50% & 75% duty cycles respectively). But in the VRC6 sound chip, using an MML value of 0 creates a very narrow pulse width (one which actually is less than 12.5% duty cycle by the looks of it).

That said, if you have an oscilloscope, you can track the sound coming out of your NES or computer's speaker jack & see for yourself, too.

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Posted: 2010-07-15 05:42  (Last Edited: 2010-07-15 05:59) Reply | Quote
xolroc

Avatar

Member for: 4373 days
Location: Here
Status: Offline

#7348
You said several times that MML values 0 and 3 are identical in 2A03 when it's actually 1 and 3.

_______________________
If there is evil in this world, it lurks in the hearts of man.
--Trinicus D. Morrison

The Final Fantasy IX 8-bit project: 3 complete
http://famitracker.shoodot.net/forum/posts.php?id=1624
Posted: 2010-07-15 06:57 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#7353
Alrighty then; it seems all my typos are back-firing.

I'll correct this:

MML values of 1 & 3 in 2A03 are the same as MML values of 3 in VRC6. MML values of 2 in 2A03 are the same as MML values of 7 in VRC6. MML values of 0 in 2A03 are the same as MML values of 1 in VRC6.

Thanks for pointing out my mistakes, xolroc. I trust I didn't screw up anything now.

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Posted: 2010-07-15 07:06  (Last Edited: 2010-07-15 07:08) Reply | Quote
xolroc

Avatar

Member for: 4373 days
Location: Here
Status: Offline

#7354
Nope, you're fine. Sorry for the pedantry, but if we're trying to help someone, it's best if we give him/her accurate information. And hey, I learned stuff from your lectures, too!

_______________________
If there is evil in this world, it lurks in the hearts of man.
--Trinicus D. Morrison

The Final Fantasy IX 8-bit project: 3 complete
http://famitracker.shoodot.net/forum/posts.php?id=1624
Posted: 2010-07-15 09:31  (Last Edited: 2010-07-15 09:35) Reply | Quote
nicetas_c



Member for: 4582 days
Location: AB, CA
Status: Offline

#7355
VRC6's MML duty values and their corresponding duty cycles:
0: 6.25%
1: 12.5%
2: 18.75%
3: 25%
4: 31.25%
5: 37.5%
6: 43.75%
7: 50%

Note that pitch bends are slower if the VRC6 instrument is used as a sawtooth.

Posted: 2010-07-16 03:37 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#7397
So the MML values for a VRC6 instrument's pulse width tunes the duty cycle more fine than those for a 2A02 instrument's duty cycle? What limits the 2A03 chip from being able to fine-tune the duty cycle as such?

[quote=xolroc]Nope, you're fine. Sorry for the pedantry, but if we're trying to help someone, it's best if we give him/her accurate information. And hey, I learned stuff from your lectures, too![/quote]

Pedantry? Pish posh; I know you were being helpful. I actually appreciate it when someone points out a (million) mistake(s) that I made; it helps me to better myself.

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Posted: 2010-07-16 03:42 Reply | Quote
xolroc

Avatar

Member for: 4373 days
Location: Here
Status: Offline

#7399
Well, I guess it's because the 2A03 had to handle everything else, too, being the NES's CPU, while the VRC6 was mostly for sound.

_______________________
If there is evil in this world, it lurks in the hearts of man.
--Trinicus D. Morrison

The Final Fantasy IX 8-bit project: 3 complete
http://famitracker.shoodot.net/forum/posts.php?id=1624
Posted: 2010-07-16 04:18 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#7403
That makes sense, actually. Considering that the synthesizer needs internal bus connections to the integrated 6502 processor, this could very well explain why duty cycle adjustments are very restrictive (aside from the console's frequency being in tune with someone's TV set).

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Page 1 of 1 Sort: