diff options
author | pommicket <pommicket@gmail.com> | 2022-10-03 23:35:06 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-10-03 23:35:06 -0400 |
commit | d109dc4ba5dcb85b16d35ff5235c6db346da47bc (patch) | |
tree | 4b0bf558f5199ce3f45a84b40a965da37069b02c /src/soundfont.rs | |
parent | 4d7d33298f6cebf54d9794a168bfc24d291dd08c (diff) |
midi input on windows
Diffstat (limited to 'src/soundfont.rs')
-rw-r--r-- | src/soundfont.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soundfont.rs b/src/soundfont.rs index 5bede73..4cddb0b 100644 --- a/src/soundfont.rs +++ b/src/soundfont.rs @@ -12,7 +12,6 @@ IMPORTANT SOUNDFONT TERMINOLOGY: an object zone refers to a sample a SAMPLE is a block of audio data with some properties of how it should be played */ - use std::fs::File; use std::io::{Read, Seek, Write}; @@ -1008,7 +1007,7 @@ impl SoundFont { // here's the key: audio samples measure voltage, not power // P = V^2 / R // so a 10x larger sample will have 100x the power (and will be 20dB, not 10dB louder). - */ + */ let mut t = hold_time; let data = &sample.data[..]; |