Archive for the Category » Audio/Software Code «

Sunday, July 10th, 2011 | Author:

Skeleton of a (very basic) step sequencer written in Processing. BPM and threading not implemented yet. Left-click to add/remove triggers, Right-click to start/stop loop.

http://www.openprocessing.org/visuals/?visualID=30818

Continue for code..
more…

Share
Tuesday, July 05th, 2011 | Author:

A basic sketch that shows how to use millis() for basic animation, in this case a fade-in of a rect(). millis() returns the current runtime of the sketch in milliseconds. Left-click for Fade-In, Right-click for Fade-Out. The transparency (alpha channel of fill/stoke) is calculated evenly across the duration, meaning you only have to change 1 variable (delaytime) for adjusting the speed and fade. I wrote this from scratch as a learning activity some time ago, should be helpful to newcomers.

http://www.openprocessing.org/visuals/?visualID=30730

..continue for code..

more…

Share
Tuesday, June 21st, 2011 | Author:

Nice, another excuse to use Processing again..

The primary goal of this project is to make it foolishly easy to create Android apps using the Processing API. Once you have Processing on your machine (and the Android developer tools), you can simply write a line of code, hit Run (Ctrl-R or Cmd-R), and have your sketch show up in the emulator as a working Android app. Select Run on Device (Ctrl-Shift-R or Cmd-Shift-R) to have it run on an Android device that you have plugged into your machine. That’s good stuff!

Share
Saturday, January 23rd, 2010 | Author:

I’ve put together a collection of some PyBuzz scripts I have created over the past few years (most from 2005-2006).  A few others are included as well by Dukajoe (PyDrum) and Kazuya. One or two the scripts might not work in the latest version of PyBuzz, but the code is still relevant so I’ve included everything in this zip I could put together.

lazytrap_pybuzz_scripts.zip

PyBuzz is a native meta-controller of sorts written by Leonard Ritter for the modular audio application Jeskola Buzz. It the Buzz world, these control signal-type modules and their data are commonly referred to as Peer Controllers or Control Machines. PyBuzz is basically an empty shell of a machine that gives a Python scripter access to the Peer interface, making it possible to integrate custom Python scripts in order to control, react, or automate other  machines within a Buzz project.

Below is an example of one of the more complete and useful scripts in the .Zip. It’s called master&servant and the principle is pretty simple. You assign Master and Slave  targets then control it with the Master parameter slider. Anytime the value of  Master goes above the Threshold, the Master parameter slider will begin to also control the Slave target.

more…

Share
Saturday, January 23rd, 2010 | Author:

Found this on my harddrive recently from an old project, example provided to me by Ed some time ago… Better posted here than lost or squandered. To explain, it’s a relatively simple python script that you can run against your Buzz gear directories and a list of all machines in the directory is given and the type of machine, what flags it uses, the author, etc. is returned. It is more or less a starting example, but you may find it useful for sorting modules as-is:

more…

Share
Tuesday, January 05th, 2010 | Author:

The final version of the Splat theme for Buzz can be downloaded here. . Previous post/version is here.

Share
Wednesday, December 23rd, 2009 | Author:

Playing with Buzz modular’s ‘new’ xml/XAML driven interface. Splat1.zip – Extract to Themes/ with folders intact. Disable Skins on Machine View’s rightclick -> settings. It’s not skin friendly.

UPDATE: Final version here: stumm splat2.zip

Share
Thursday, December 10th, 2009 | Author:

This is a pack of Engines designed to work together for the music app CellsDS, a Monome-style customizable sequencer/controller with multiple layers possible of interaction for the Nintendo DS where engines are coded in the language, Lua. For more information on CellsDS and other DS music apps by the same developer, visit http://www.glitchds.com

http://www.lazytrap.com/files/amc_cellsds_pack_v1_1.zip

It includes my Step Sequencer v2, Block Mixer v1, and an enhanced version of the original Bouncer script. It also includes a Template snapshot which will added 3 Step Seqs, 1 Bouncer, and 1 Block mixer.

Key features of Step Sequencer v2:

  • Scale selection. Uses the same preset scales as found on Korg products like the DS-10 and Kaossilator.
  • Octave ranges
  • Copy and Paste between Blocks (aka patterns) of the same engine
  • Active display of data, including Sample #, Volume, Scale, Octave, current Note Freq. etc.,
  • Snapshot saving/restore of all parameters and notes
  • Various minor improvements and integration with Block Mixer

The Block mixer is a simple 8 Block selector that also lets you do volume fades. The fader/block handles are 2 blocks wide. The Volume settings on amc_block_mixer.lua will only work with these 3 scripts, if you use other scripts with this block selector it will still work, but there will be no volume control.

The Bouncer script (by Bret, developer of CellsDS) has been updated with the Scales, Volume, and Octave selections and Display updates.

Many thanks to Bret for the and demo scripts (CellsDS has great documentation, btw), and the GlitchDS community for additional support.

Note: I completed this last winter, but since then various changes and alternatve versions have popped up, including a MIDI version (works wirelessly with DSMI, the opensource wireless midi library for iPhone, DS, etc.) which can be found @ scripting section of the CellsDS forums, but you’ll have to dig through the spam posts.  Sooner or later I’ll post them here.

Share