UNDOCUMENTED LINGO (was:Is it posible to modifiy a sound pitch?)

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default UNDOCUMENTED LINGO (was:Is it posible to modifiy a sound pitch?)

    Hi,

    I just read the message below which was about some hidden feature (pitching
    sound in Director) that I never knew of. This is not the first time I
    encountered handy lingo that wasn't documented and that remained hidden in
    Director(probably since it's experimental lingo and might not work
    everywhere). Does anyone know of an online website/archive where one can
    find undocumented lingo + examples?

    Thanks

    Richard


    -------------------following message is about hidden audio lingo



    > Cool, so it can be done within Director (at least with MX). Anyway, the
    command is undocumented as far as I know, and I dont know exactly how to
    find it. The only instance I've found of it is in the Message window's
    commands list. Any tip for using it?
    >
    > Thanks.
    >
    > Arthur.
    >
    > Hi Arthur,
    >
    > I just searched the MX Lingo Dictionary and the MX HTML Help: no doc on
    rateShift, like you say. Strange.
    >
    > Anyway, it was introduced and undocumented in 8, documented, if I recall,
    in 8.5, and now it's undocumented in MX.
    >
    > But it works fine.
    >
    > sound(3).play([#member: member("dowop"), #rateShift: 10])
    >
    > will play member("dowop") in channel 3, and play it 10 semitones above
    normal.
    >
    > 12 semitones is an octave. So
    >
    > sound(3).play([#member: member("dowop"), #rateShift: 12])
    >
    > will play it one octave higher. Negative values for rateShift lower the
    pitch in a similar way. You can also use values like 1.32 for rateShift,
    which would raise the pitch by 1.32 semitones.
    >
    > Changing the rateshift changes the duration of the sound.
    >
    > Raising the pitch by one octave shortens the duration by a factor of 2. In
    general,
    > newDuration = normalDuration * power(2, rateShift/(-12))
    >
    > member("dowop").duration tells you the duration in milliseconds of a
    sound.
    >
    > Dats da dope on da ting, Arthur.
    >

    Richard Guest

  2. Similar Questions and Discussions

    1. undocumented lingo ShowNormals
      i found informations on http://www.director3d.de/ about undocumented inverse kinematics features. in the same article i found this list of ...
    2. Is it posible to modifiy a sound pitch?
      I'm considering the posibility of modifying the pitch ( frequency ) of a sound within a Director aplication to simulate the effects of diferent spin...
    3. Xtra to report the pitch of a sound
      Hi, I use Audio Xtra to record the user's speech: now I need to know the pitch of the voice at a given millisecond of the recorded sound file. ...
    4. Sound & Lingo Problems
      Hello, I'm using Director MX and am having a couple of problems using Lingo's sound properties. My first probelm is that I'm trying to loop an...
    5. Undocumented Lingo
      Hi All, Can anyone kindly tell me some web sites where I can learn more about the undocumented lingo commands in Director? In one of my earlier...
  3. #2

    Default Re: UNDOCUMENTED LINGO (was:Is it posible to modifiy a sound pitch?)

    [url]http://www.director3d.de/[/url]

    ha ssome interesting bits of undocumented lingo.


    On Wed, 3 Dec 2003 09:55:28 +0100, "Richard" <info@soundsupport.net>
    wrote:
    >Hi,
    >
    >I just read the message below which was about some hidden feature (pitching
    >sound in Director) that I never knew of. This is not the first time I
    >encountered handy lingo that wasn't documented and that remained hidden in
    >Director(probably since it's experimental lingo and might not work
    >everywhere). Does anyone know of an online website/archive where one can
    >find undocumented lingo + examples?
    >
    >Thanks
    >
    >Richard
    >
    >
    >-------------------following message is about hidden audio lingo
    >
    >
    >
    >
    >> Cool, so it can be done within Director (at least with MX). Anyway, the
    >command is undocumented as far as I know, and I dont know exactly how to
    >find it. The only instance I've found of it is in the Message window's
    >commands list. Any tip for using it?
    >>
    >> Thanks.
    >>
    >> Arthur.
    >>
    >> Hi Arthur,
    >>
    >> I just searched the MX Lingo Dictionary and the MX HTML Help: no doc on
    >rateShift, like you say. Strange.
    >>
    >> Anyway, it was introduced and undocumented in 8, documented, if I recall,
    >in 8.5, and now it's undocumented in MX.
    >>
    >> But it works fine.
    >>
    >> sound(3).play([#member: member("dowop"), #rateShift: 10])
    >>
    >> will play member("dowop") in channel 3, and play it 10 semitones above
    >normal.
    >>
    >> 12 semitones is an octave. So
    >>
    >> sound(3).play([#member: member("dowop"), #rateShift: 12])
    >>
    >> will play it one octave higher. Negative values for rateShift lower the
    >pitch in a similar way. You can also use values like 1.32 for rateShift,
    >which would raise the pitch by 1.32 semitones.
    >>
    >> Changing the rateshift changes the duration of the sound.
    >>
    >> Raising the pitch by one octave shortens the duration by a factor of 2. In
    >general,
    >> newDuration = normalDuration * power(2, rateShift/(-12))
    >>
    >> member("dowop").duration tells you the duration in milliseconds of a
    >sound.
    >>
    >> Dats da dope on da ting, Arthur.
    >>
    >
    Richie Bisset Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139