浏览代码

Add dynamic module for constructing a Sampler with entirely dynamic parameters

mitchmindtree 8 年之前
父节点
当前提交
450fd4c40f
共有 1 个文件被更改,包括 6 次插入0 次删除
  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>;