Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > Effect vs. Instrument Owner: Stratelier New post
Page 1 of 1 Sort:  
Effect vs. Instrument Posted: 2015-03-11 19:13  (Last Edited: 2015-03-11 19:43) Reply | Quote
Stratelier



Member for: 4363 days
Status: Offline

#66815
Part 2 - Pitch Bending.

Okay, so I have a tom drum that goes kinda like this:

D-4 .. . 222 S0A

I would like to bundle this into an instrument, but ... how?

_______________________
Where to find me:
YouTube: http://youtube.com/user/stratelier
DeviantArt: http://stratadrake.deviantart.com/
Posted: 2015-03-11 19:34 Reply | Quote
CheeseGuy99

Avatar

Member for: 5161 days
Location: Amarillo, TX
Status: Offline

#66818
I'm not sure how this is supposed to work. The Sxx command stops the note. S0A would stop before S22, which would the become useless. But, if you want to put a stop command in a note, just take the xx part and convert it to decimal, then put that many at the volume you want it, then a 0. But I'm not sure how the S22 could do much of anything.

_______________________
**** COMMODORE 64 BASIC V2 ****

Some other places I've tried to conquer:
Le Chipmusic
Le BattleOfTheBits
Posted: 2015-03-11 19:44 Reply | Quote
Stratelier



Member for: 4363 days
Status: Offline

#66819
Whoops! Typo, the first effect is 222 (pitch bend), not S22.

_______________________
Where to find me:
YouTube: http://youtube.com/user/stratelier
DeviantArt: http://stratadrake.deviantart.com/
Posted: 2015-03-11 20:38 Reply | Quote
Xyz_39808

Avatar

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

#66821
Volume sequence: {F F F F F F F F F F 0}
Pitch sequence: {22}

Posted: 2015-03-11 21:11 Reply | Quote
CheeseGuy99

Avatar

Member for: 5161 days
Location: Amarillo, TX
Status: Offline

#66825
Xyz_39808 wrote:
Volume sequence: {F F F F F F F F F F 0}
Pitch sequence: {22}


But that just stays at a single tone. If it were relative instead of fixed, then it would need to be -22, not 22, because 2xy goes downward, not upward.

_______________________
**** COMMODORE 64 BASIC V2 ****

Some other places I've tried to conquer:
Le Chipmusic
Le BattleOfTheBits
Posted: 2015-03-11 21:14 Reply | Quote
VinylScratch

Avatar

Member for: 4963 days
Location: Nebraska
Status: Offline

#66826
CheeseGuy99 wrote:
But that just stays at a single tone. If it were relative instead of fixed, then it would need to be -22, not 22, because 2xy goes downward, not upward.
In pitch macros, positive values shift the pitch downward and vice versa. Also, it needs to be looped, so it's actually this: {| 22}

_______________________
Soundcloud | Youtube
Posted: 2015-03-12 10:04  (Last Edited: 2015-03-12 10:05) Reply | Quote
Xyz_39808

Avatar

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

#66841
A pitch macro of 22 means it adds 22 to the period every frame. Adding to the period makes the pitch go down.

Also, I was unaware that the behavior of the pitch sequence no longer follows ppMCK convention, where {22} is the same as {|22} and doesn't need the pipe typed out.

I always just use 2xx in the pattern instead of defining it as an instrument.

Posted: 2015-03-12 12:03 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6392 days
Location: Canada
Status: Offline

#66842
222 and { | 22 } will not produce the same result. { | 34 } is the macro you want.

_______________________
Follow me on Twitter.
I record (some) NSFs on hardware. Feel free to request a hardware render.
Posted: 2015-03-13 00:18 Reply | Quote
Stratelier



Member for: 4363 days
Status: Offline

#66854
Okay, I finally got it working as intended:

1 - 2xx effect actually stacks with instrument pitch (this was a big thing throwing me off)
2 - Instrument values are in decimal, effect values are in hex

_______________________
Where to find me:
YouTube: http://youtube.com/user/stratelier
DeviantArt: http://stratadrake.deviantart.com/
Page 1 of 1 Sort: