Question about the internal pitch shifter (maybe xylofun knows?)

HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
edited November -1 in Working with GS (Mac)
Just wondering if anyone knows how the pitch shifter inside the sound behavior correlates to musical scales. i.e how much do you add to go up a semi tone?

Did Xylofun already work this out?

Cheers

Comments

  • xyloFUNxyloFUN Member Posts: 1,593
    hey shaz,
    i do indeed know this :)

    Here's the drill:

    Let's take a sample of a C sound

    You want to use it for the B (one semi tone bellow the C) and for the Bb (B flat, two semi tones bellow the C)

    First, you play it with Volume and Pitch set to 1 which gives you the unaltered pitch

    To go one semi tone bellow, use 0.95
    To go two semi tones bellow, use 0.9

    The same goes for raising the pitch

    Use 1.05 to go one semi tone up
    Use 1.1 to go two semi tones up

    As a general rule. lowering the pitch produces nicer results than raising it more than a semi tone

    What ever you do, you MUST fine tune each sample with a tuner because sometimes, it takes something like this to get it to tune: 0.9493

    Basically, you can save some storage and make a piano with only four to five samples instead of 12. The sound quality is negligible and I am not able to tell between the original and the adjusted sound.
  • HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
    Ah ok - thanks a lot for that explanation.

    It would be nice to put in separate samples for each pitch (I'm making a game, not an instument but want to have different notes on collecting items). But having to preload them at the start of each scene starts to get a bit troublesome for my 2nd gen ipod if i add too many. Maybe I'll try adding them every 1 second instead of at the same time...

    Cheers!
  • HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
  • xyloFUNxyloFUN Member Posts: 1,593
    shaz said:
    Does this chart (scroll down) match up with the values you use?

    http://www.phy.mtu.edu/~suits/windchime.html

    no

    minor second = one semi tone
    major second = two semi tones

    if you check the numbers, you see that they don't compute
Sign In or Register to comment.