public static int readSignedByte (DataInputStream stream, ModuleBase counted) throws IOException { int val = stream.readByte (); if (counted != null) { counted._nByte++; } return val; }
WaveModule module = (WaveModule) _module; int unshiftedNote = ModuleBase.readUnsignedByte (_dstream, _module); int fineTune = ModuleBase.readSignedByte (_dstream, _module); int gain = ModuleBase.readSignedByte (_dstream, _module); int lowNote = ModuleBase.readUnsignedByte (_dstream, _module); int highNote = ModuleBase.readUnsignedByte (_dstream, _module);
int detune = ModuleBase.readSignedByte (_dstream, module); int lowNote = ModuleBase.readUnsignedByte (_dstream, module); int highNote = ModuleBase.readUnsignedByte (_dstream, module);
byte [] buf = new byte[10]; for (int i=0; i<10; i++) { buf[i] = (byte) ModuleBase.readSignedByte (stream); int baseNote = ModuleBase.readSignedByte (stream); int detune = ModuleBase.readSignedByte (stream); int lowNote = ModuleBase.readSignedByte (stream); int highNote = ModuleBase.readSignedByte (stream); int lowVelocity = ModuleBase.readSignedByte (stream); int highVelocity = ModuleBase.readSignedByte (stream); int gain = ModuleBase.readSignedShort (stream, ENDIAN);
vresList.add (new Property ("Exponent", PropertyType.INTEGER, new Integer (ModuleBase.readSignedByte (_dstrm, _module)))); hresList.add (new Property ("Exponent", PropertyType.INTEGER, new Integer (ModuleBase.readSignedByte (_dstrm, _module))));
long by = ModuleBase.readSignedByte (file); buffer.append (" " + by);
int sampleOffsetHour = ModuleBase.readSignedByte (_dstream, module); int sampleOffsetMinute = ModuleBase.readUnsignedByte (_dstream, module); int sampleOffsetSecond = ModuleBase.readUnsignedByte (_dstream, module); int sampleOffsetFrames = ModuleBase.readSignedByte (_dstream, module);