Jelajahi Sumber

Add dynamic module for constructing a Sampler with entirely dynamic parameters

mitchmindtree 8 tahun lalu
induk
melakukan
450fd4c40f
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      src/dynamic.rs

+ 6 - 0
src/dynamic.rs

@@ -0,0 +1,6 @@
+use instrument;
+use sampler;
+
+/// An alias for a `Sampler` type that uses a dynamic instrument and note frequency mode.
+pub type Sampler<F> =
+    sampler::Sampler<instrument::mode::Dynamic, instrument::note_freq::DynamicGenerator, F>;