<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    if you mean as specific scale the equal tempered you can use [ftom]
    to convert from frequency to midi note numbers.<br>
    then you round this number to integer and with [mtof] back to have a
    frequency value.<br>
    <br>
    matthias<br>
    <br>
    Am 23.05.12 10:29, schrieb flad chester:
    <blockquote
cite="mid:CALBstEVjoVjo867CWQ26oT8K+V9kjwYiYyzUFvZstFzGd6VhDg@mail.gmail.com"
      type="cite">Hi list, im new with pd, i was thinking about which
      should be the best way to implement this idea or maybe somebody
      has done something like this before:<br>
      Im controlling the frequencies of my grains with a random number
      generator, but instead of controlling the frequencies directly i
      would like to select the closest frequency in a specific scale for
      each random value.<br>
      <br>
      how can i do this in pd?<br>
      <br>
      <br>
      thanks in advance<br>
      <br>
      Flad<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>