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 > 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: 2954 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: [url=http://youtube.com/user/stratelier]http://youtube.com/user/stratelier
DeviantArt: [url=http://stratadrake.deviantart.com/]http://stratadrake.deviantart.com/
Posted: 2015-03-11 19:34 Reply | Quote
CheeseGuy99

Avatar

Member for: 3752 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:
[url=http://chipmusic.org/ch3dd4r]Le Chipmusic
[url=http://battleofthebits.org/barracks/Profile/CH3DD4R/]Le BattleOfTheBits
Posted: 2015-03-11 19:44 Reply | Quote
Stratelier



Member for: 2954 days
Status: Offline

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

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

Avatar

Member for: 4180 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: 3752 days
Location: Amarillo, TX
Status: Offline

#66825
[quote=Xyz_39808]Volume sequence: {F F F F F F F F F F 0}
Pitch sequence: {22}[/quote]

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:
[url=http://chipmusic.org/ch3dd4r]Le Chipmusic
[url=http://battleofthebits.org/barracks/Profile/CH3DD4R/]Le BattleOfTheBits
Posted: 2015-03-11 21:14 Reply | Quote
VinylScratch

Avatar

Member for: 3554 days
Location: Nebraska
Status: Offline

#66826
[quote=CheeseGuy99]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.[/quote]In pitch macros, positive values shift the pitch downward and vice versa. Also, it needs to be looped, so it's actually this: {| 22}

_______________________
[url=https://soundcloud.com/dj-dimeback]Soundcloud | [url=http://www.youtube.com/user/ITGpwnage]Youtube
Posted: 2015-03-12 10:04  (Last Edited: 2015-03-12 10:05) Reply | Quote
Xyz_39808

Avatar

Member for: 4180 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: 4983 days
Location: Canada
Status: Offline

#66842
[b]2[/b]22 and { | 22 } will not produce the same result. { | 34 } is the macro you want.

_______________________
Follow me on [url=https://twitter.com/jrlepage2a03]Twitter.
I record (some) NSFs on hardware. Feel free to [url=http://www.famitracker.com/forum/posts.php?id=3633]request a hardware render.
Posted: 2015-03-13 00:18 Reply | Quote
Stratelier



Member for: 2954 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: [url=http://youtube.com/user/stratelier]http://youtube.com/user/stratelier
DeviantArt: [url=http://stratadrake.deviantart.com/]http://stratadrake.deviantart.com/
Page 1 of 1 Sort: