debugger shows bpm beats k
This commit is contained in:
@@ -16,7 +16,7 @@ fn main() {
|
||||
let params = OutputDeviceParameters {
|
||||
channels_count: 2,
|
||||
sample_rate: flags.sample_rate,
|
||||
channel_sample_count: flags.sample_rate / flags.smallest_note,
|
||||
channel_sample_count: flags.sample_rate / flags.bpm * 60 / flags.smallest_note,
|
||||
};
|
||||
|
||||
// Play some notes (middle C, E, G). // 16 channels actually // 60=c 64=e 67=g //up to 128velocity though dont go below 50 tbh // 12 notes per octave
|
||||
|
||||
Reference in New Issue
Block a user