sublime SublimeAStyleFormatter コード整形 Ctrl+ alt + f
C++ 始まり
MinGW
http://www.mingw.org/
end
C++ 始まり
MinGW
http://www.mingw.org/
end
private void hz() {
byte[] bs = new byte[44100];
Double temp;
for (int i = 0; i < bs.length; i++) {
temp = i / 2 * Math.PI / (44100 / Double.parseDouble("800"));
bs[i] = (byte) (Math.sin(temp) * 120);
}
audioTrack.play();
while (true) {
audioTrack.write(bs, 0, bs.length);
}
}