Women in Technology

Hear us Roar



Article:
  Java and Sound, Part 2
Subject:   PlayerPiano offsets
Date:   2004-11-01 10:31:05
From:   ggraeme
The PlayerPiano is a nice example, however I think that



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



should be




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



Best regards,


Graeme
PS I realised that I'd posted this correction on the part 1 thread instead of here -- sorry.