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

Acoustic Velocity with Temperature and AppleScript

NOTE: visit https://www.github.com/kreivalabs for the current code version. UPDATE - additional user prompt to enter the measured distance (in feet) between the reference speaker and delay speaker. This version will round all returned values to two decimal places, for convenience. If you require a more precise measurement, you can delete the rouding functions in the … Continue reading Acoustic Velocity with Temperature and AppleScript