Sine wave synthesis is a fun example - simulating a discrete time recursive system is pretty easy, but covers a lot of ground.
If you have the time for literature: - https://ccrma.stanford.edu/~jos/StateSpace/State_Space_Analysis_Example_The.html - https://ccrma.stanford.edu/~dattorro/EffectDesignPart3.pdf I have graphviz output and rendered pngs working - https://github.com/itdaniher/ratpak/blob/master/clips/digitalWaveguide.pngis a reorganization of the block diagram in the links above, with the ratpak source at https://github.com/itdaniher/ratpak/blob/master/temps.rat#L16. https://github.com/itdaniher/ratpak/blob/master/temps.rat#L38 compiles to a linux executable - check out http://i.imgur.com/wAEyHyX.png and http://i.imgur.com/wAEyHyX.png. Sorry for the link-heavy email, let me know if anything catches your eye! Best, -- Ian On Thu, May 22, 2014 at 12:10 PM, Devon McCormick <[email protected]>wrote: > Ian - > > this sounds potentially interesting - do you have a simple summary of what > you're doing here with some kind of example? > > Regards, > > Devon > > > On Sat, May 17, 2014 at 9:26 PM, Ian Daniher <[email protected] > >wrote: > > > Hey JChat, > > > > I wanted to share one of my senior projects, a small language for > > describing stream manipulations as flowgraphs. > > > > It's partially inspired by J, with a terse syntax and visual puns / > > mnemonics where possible. Whereas J consists of a set of verb phrases > > operating on nouns of various ranks, a ratpak source file describes a set > > of interconnected processes operating on infinite streams of various type > > and dimensionality. Whenever possible, I leverage the compile-time type > > inference of the produced Rust language source code, with lightweight > > syntax for applying expressions across infinite streams of items and > lists. > > > > I have preliminary documentation and source online at > > https://github.com/itdaniher/ratpak, with a standard library (in Rust) > at > > https://github.com/ade-ma/LibRedio/tree/refactor. > > > > This work has allowed me to build executables implementing streaming, > > "real-time" versions of DSP experiments I originally prototyped in J ( > > https://github.com/itdaniher/JNotebook.) > > > > I'm far from done, but with the semester's work (mostly) completed, I'm > > taking a step back and looking for feedback. > > > > If any of you happen to have (for some reason) used both J and a toolkit > > like Simulink, Labview, GNURadio, or Scicos, you ought to be right at > home. > > > > If you haven't, consider this from the perspective of how you'd go about > > describing a dozen manipulations operating concurrently on infinite > streams > > of information, using exclusively ASCII syntax. > > > > Best! > > -- > > Ian Daniher > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > Devon McCormick, CFA > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
