+ Reply to Thread
Results 1 to 6 of 6

Permutations function for musical notes

  1. #1
    Registered User
    Join Date
    07-23-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Permutations function for musical notes

    THREAD SOLVED...and very well too

    Hi All,

    I saw a few posts on permutations/combinations functions and pointers to the Myrna Larson toolkit/workbook but I think my need is slightly different from that use case (maybe not!)

    I need to find all 3, 4 and 5 letter permutations based on 5-8 musical notes as input. FYI the permutations will be chords.

    i.e. C, D, E, F, Ab, Bb, B as an input musical scale input would yield

    All three note combos :
    C,D,E
    C,D,F
    C, D, Ab
    ....
    all 4 note combos
    C,D,E,F
    C,D,E,Ab

    all 5 note combos
    C,D,E,F,Ab
    C,D,E,F,Bb
    ...

    I'd like to structure the sheet as having 12 columns (1 for each note within an octave) with the combo placed under the right column i.e. C goes in 1, Eb in 4.

    any help on this matter much appreciated

    Drongomala
    Last edited by drongomala; 08-10-2009 at 08:36 AM. Reason: Thread Solved

  2. #2
    Registered User
    Join Date
    07-23-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Permutations function for musical notes

    Bump....would pay for a script that can help out here..!

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Permutations function for musical notes

    whats the range of notes from c to whatever
    and do you want permutations or combinations? 123 2 from 3 permutations are
    12
    13
    21
    23
    31
    32
    combinations 2 from 3 are
    12
    13
    23
    ah since they are chords you wont have the same note twice so it's combinations then.
    Last edited by martindwilson; 08-08-2009 at 08:04 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Permutations function for musical notes

    ok try this,it took ages to do and if some bright spark comes up with some code to do it i'll sulk! lol
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-23-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Permutations function for musical notes

    Hi Martin,

    Thank you so much for this - I really appreciate it. You can't believe how much time this will save me.

    If there is anything I can do in return then please let me know - how can I buy you a Mojito?!

    Drongomala

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Permutations function for musical notes

    no problem, pleased to help.
    please mark thread as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1