I'm trying to build a website that is essentially a database of alternate tunings for the 6 string guitar. The first thing I really wanted to do was get a list of tunings put together.
My constants:
1.) six strings
2.) lowest note possible is a perfect 4th down from standard tuning (low e becomes a b, a string becomes an e, d string becomes a g, etc).
3.) the upper note (for now) is a major third above standard tuning (low e become a g#, a string becomes c#, d string becomes f#, etc).
4.) that means each string has a range of 10 possible notes, some of which will over lap (ex, between the low e and a string: e, f, f#, g, g#)
so given that information, I am trying to construct a list of ALL possible permutations.
I've tried using python's itertools, but my laptop is not handling the computation very well. So I thought maybe java would have some built-ins that would be more useful.
Can anyone help me? I am a pretty amateur coder, so any help would be great.
Thanks
edit: here is my code so far:
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.util.Iterator;
public class TuningList{
public static void main(String[] args){
List<String> string6 = Arrays.asList("B1", "C2", "C#2/Db2", "D2", "D#2/Eb2", "E2", "F2", "F#2/Gb2", "G2", "G#2/Ab2");
List<String> string5 = Arrays.asList("E2", "F2", "F#2/Gb2", "G2", "G#2/Ab2", "A2", "A#2/Bb2", "B2", "C3", "C#3/Db3");
List<String> string4 = Arrays.asList("A2", "A#2/Bb2", "B2", "C3", "C#3/Db3", "D3", "D#3/Eb3", "E3", "F3", "F#3/Gb3");
List<String> string3 = Arrays.asList("D3", "D#3/Eb3", "E3", "F3", "F#3/Gb3", "G3", "G#3/Ab3", "A3", "A#3/Bb3", "B3");
List<String> string2 = Arrays.asList("F#3/Gb3", "G3", "G#3/Ab3", "A3", "A#3/Bb3", "B3", "C4", "C#4/Db4", "D4", "D#4/Eb4");
List<String> string1 = Arrays.asList("B3", "C4", "C#4/Db4", "D4", "D#4/Eb4", "E4", "F4", "F#4/Gb4", "G4", "G#4/Ab4");
}