Sfoglia il codice sorgente

Add dynamic module for constructing a Sampler with entirely dynamic parameters

mitchmindtree 8 anni fa
parent
commit
450fd4c40f
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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>;