Speaker coverage measurements with Python

NOTE: visit https://www.github.com/kreivalabs for current code versions. Calculate the coverage pattern area of a point-source loudspeaker based on its dispersion angle and the measured distance from source to listener (or some other point). This method uses Future functionality from www.python-future.org:

 

Convert Samples to Time with Python

NOTE: visit https://www.github.com/kreivalabs for up to date code versions. The following will calculate elapsed time in milliseconds and seconds for a given sample rate and time (entered in seconds). It will also calculate the number of individual samples elapsed based on sample rate and time (seconds). This Python script utilizes the Future functions available for … Continue reading Convert Samples to Time with Python

Acoustic Velocity and Loudspeaker Delay with Temperature and Python

NOTE: visit https://www.github.com/kreivalabs for the current code versions. Building on the method below, here is the same calculator in Python (hooray for cross-platform!). Save the text below as a .py file to run in the Terminal of your choice. Python 2:

  Python 3:

  And a version if you have Future installed, … Continue reading Acoustic Velocity and Loudspeaker Delay with Temperature and Python

Further Adventures with Twitter, node-red and Sonic Pi

Building upon the methods explored here, I've been experimenting with using node-red's Twitter node to interface directly with ruby files in Sonic Pi by means of shell scripting. By creating multiple instances of the Twitter nodes in a single flow, I can set unique search terms, strings, hash tags, etc per node, which correspond to … Continue reading Further Adventures with Twitter, node-red and Sonic Pi

Control QLab with Twitter

UPDATE 7/10/17 - Check out the contributed module from Sam Levey, with nodes to control QLab via OSC messages and a node to control node-red from QLab: https://www.npmjs.com/package/node-red-contrib-qlab This eliminates some steps from the method described below. ORIGINAL: Utilizing node-RED, QLab can respond to hash tags, text strings, etc via OSC messages and UDP packets. … Continue reading Control QLab with Twitter