Women in Technology

Hear us Roar



Article:
  Java and Sound, Part 2
Subject:   new offsets simplier for a octave from C to +C
Date:   2008-11-27 00:36:19
From:   jesuson
Thanks a lot for the example. It is very usefull for trainig my ear, with diferents notes.
I add a random notes generator for this and i use the midi file.


I prefer next offsets:


static final int[] offsets = { // add these amounts to the base value
// A B C D E F G
9, 11, 0, 2, 4, 5, 7
};


it is simpler build a total octave from C to +C


Thanks again for the example.


Now,I'm looking for a player code that prints the playing notes: it would be a new listener...


Full Threads Newest First

Showing messages 1 through 1 of 1.

  • new offsets simplier for a octave from C to +C
    2009-07-27 05:22:10  nickleus [View]

    jesuson i agree, your preset choice is the best/most normal, thanks =)