Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > I'm new and What's going on in N106's sound? Owner: CaramelPuffpuff New post
Page 1 of 12 Sort: Goto Page: [1] [2] [3] [4] [5] [6] ... [10] [11] [12] Next >>
I'm new and What's going on in N106's sound? Posted: 2013-02-13 02:06 Reply | Quote
CaramelPuffpuff

Avatar

Member for: 4891 days
Status: Offline

#44432
When I'm making music N106 version, it sound soooo cool...but the problem is:

When I put two/three notes or more in an exact octave, all three/two of them will sound exactly the same. My apologies for explaining wrong, so I'll try to explain right:

There's one instrument, with three WAV #: 50%, 25%, and a Sawtooth.

All of them has the same sounding of THREE sawtooth instead of seperately.

Is this a glitch or is there something I didn't know?


P.S. I'm new here; planning to make my own NES games....offtopic I know but....I don't know the perfect program that is use to code NES.

Posted: 2013-02-13 02:09 Reply | Quote
rainwarrior

Avatar

Member for: 5603 days
Location: Canada
Status: Offline

#44433
All the wave samples in N163 instruments have to share the sample memory, basically you need to put each one in their own position and ensure they don't overlap.

http://famitracker.com/wiki/index.php?title=Instruments#Namco_163_instruments

Posted: 2013-02-13 02:11 Reply | Quote
CaramelPuffpuff

Avatar

Member for: 4891 days
Status: Offline

#44434
rainwarrior wrote:
All the wave samples in N163 instruments have to share the sample memory, basically you need to put each one in their own position and ensure they don't overlap.

http://famitracker.com/wiki/index.php?title=Instruments#Namco_163_instruments


I'm somewhat not good with English, sorry...what do you mean "Put each one in their own position and ensure they don't overlap."?

(Wow, quick reply!)

Posted: 2013-02-13 02:26 Reply | Quote
rainwarrior

Avatar

Member for: 5603 days
Location: Canada
Status: Offline

#44435
You have 128 samples in your sample memory.

If your wave is 32 samples long, and you put it at position 0, it will use samples 0-31 in memory.

If you have 3 instruments, each 32 samples long, put them at positions: 0, 32, 64.

This will use samples 0-31, 32-63, 64-95.

If the ranges overlap, instruments will conflict with each other, and you will only hear one of the waves.

Posted: 2013-02-13 02:53 Reply | Quote
Doxic

Avatar

Member for: 5028 days
Location: California, United States
Status: Offline

#44441
Let me show you what rainwarrior means.

Right Click one of the instruments, go to "edit" and then "wave" look at "wave position" on the right side, when you make a new instrument, with a different waveform, you will need to change that position. If you need more, click on the box above it and lower that value! Hope this helps! :3

_______________________
B00daW wrote: Memes are are like cheese; perishable.
Follow me on SoundCloud! http://soundcloud.com/thislinkisnttaken
Attachments:
n163example.ftm (1 Kb)
Posted: 2013-02-14 01:28 Reply | Quote
CaramelPuffpuff

Avatar

Member for: 4891 days
Status: Offline

#44481
Hmmm...what happens if both 2/3 of the instruments has the same numbers, but it is 32, 33, and 34?

Posted: 2013-02-14 01:34 Reply | Quote
CaramelPuffpuff

Avatar

Member for: 4891 days
Status: Offline

#44482
Doxic wrote:
Let me show you what rainwarrior means.

Right Click one of the instruments, go to "edit" and then "wave" look at "wave position" on the right side, when you make a new instrument, with a different waveform, you will need to change that position. If you need more, click on the box above it and lower that value! Hope this helps! :3


Whoa!...This sound complicated to explain this...Uhh..how does the Wave size and position works? I think wave size means higher pitch if it's shorter...

Posted: 2013-02-14 03:17  (Last Edited: 2013-02-14 03:20) Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6435 days
Location: Canada
Status: Offline

#44489
If your wave has 32 samples, and you assign it to position 0, it will occupy all positions from 0 to 31.

If your wave has 16 samples, and you assign it to position 0, it will occupy all positions from 0 to 15.

If you have two 32-sample waves, one sitting in position 0, and another sitting in position 1, and you try to play both at once, then the one in position 1 will "rewrite" the other wave, except for the first sample of the first wave.

Let's say your first wave looks like this:
0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1

and your second wave looks like this:
1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2

then the result of putting the first one in position 0 and the second one in position 1, if you try to read from position 0, will be:
0-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1

_______________________
Follow me on Twitter.
I record (some) NSFs on hardware. Feel free to request a hardware render.
Posted: 2013-02-15 10:34 Reply | Quote
Patashu

Avatar

Member for: 5202 days
Location: Sydney, Australia
Status: Offline

#44537
How come we don't have automatic N163 wave management (ala memory managed programming language) yet?

Posted: 2013-02-15 10:53 Reply | Quote
rainwarrior

Avatar

Member for: 5603 days
Location: Canada
Status: Offline

#44539
Maybe a suggestion would be to have a checkbox below wave position that says "auto", which you can only check off if the wave length is <= 128 / channels. At that point it's trivial to just give each channel its own set of wave data.

Posted: 2013-02-15 15:43 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6435 days
Location: Canada
Status: Offline

#44540
Some interesting techniques can be used with manual wave position assignment which you could not achieve otherwise. For example, you could have a 32-sample triangle wave in position 0-31, and while that's playing, you could re-use only half of that wave to play a sawtooth wave, without wasting space. You could also re-write that portion of the wave on the go, which would also affect what was originally the triangle wave (usually you don't want memory conflicts, but sometimes this might be desirable).

I realise this isn't very clear. Right now I'm on a mobile, but as soon as I can get on a PC, I'll post one or two FTM examples.

_______________________
Follow me on Twitter.
I record (some) NSFs on hardware. Feel free to request a hardware render.
Posted: 2013-02-15 16:00  (Last Edited: 2013-02-15 16:09) Reply | Quote
MovieMovies1

Avatar

Member for: 5826 days
Location: Norway
Status: Offline

#44541
jrlepage wrote:
you could have a 32-sample triangle wave in position 0-31, and while that's playing, you could re-use only half of that wave to play a sawtooth wave, without wasting space.


You mean something like this?


Attachments:
wave_reusing.ftm (4 Kb)
Posted: 2013-02-15 21:11 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6435 days
Location: Canada
Status: Offline

#44550
Like I said, I'm on a mobile device right now so I can't open FTM files (or make any).

_______________________
Follow me on Twitter.
I record (some) NSFs on hardware. Feel free to request a hardware render.
Posted: 2013-02-15 21:42 Reply | Quote
CaramelPuffpuff

Avatar

Member for: 4891 days
Status: Offline

#44557
jrlepage wrote:
If your wave has 32 samples, and you assign it to position 0, it will occupy all positions from 0 to 31.

If your wave has 16 samples, and you assign it to position 0, it will occupy all positions from 0 to 15.

If you have two 32-sample waves, one sitting in position 0, and another sitting in position 1, and you try to play both at once, then the one in position 1 will "rewrite" the other wave, except for the first sample of the first wave.

Let's say your first wave looks like this:
0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1-0-1

and your second wave looks like this:
1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2

then the result of putting the first one in position 0 and the second one in position 1, if you try to read from position 0, will be:
0-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1


Hmmm...So each samples (from 0-96...I'm sure 124 is part of it) always exclude 1 RAM (Still bad at English.) like 15 instead of 16 and 96 would be 95? Intresting...

And the highest wave # will always override the below wave #?

I'm getting it more now! But how would it sound like if Pos. 1-31 and pos. 0 and both of them 32 sample wave? (I'm from Spain, so excuse my language.)


Posted: 2013-02-15 23:20 Reply | Quote
Mr_Master



Member for: 4974 days
Status: Offline

#44564


Page 1 of 12 Sort: Goto Page: [1] [2] [3] [4] [5] [6] ... [10] [11] [12] Next >>