How lucky we are to live in this time, the first moment in human history, when we detected gravity waves! It was only 4 years ago in 2012 when the Higg Boson was discovered at the LHC, 2 years ago we landed on a comet, 1 year ago we flew past Pluto. Today, we detected gravity waves!
This will open up a whole new era of astronomy, potentially detecting gravity waves across our universe, unobstructed by gas and dust. We could potentially even get hints about the big bang that are older than the cosmic microwave background (CMB), the oldest light in the universe. Gravity waves could also provide new clues and limits for the quantum theory of gravity, perhaps leading us to the theory of everything!
Way to go LIGO and everyone who worked on this achievement!
This work is to enable a parametric equalizer application, where an audio sample can be loaded and filtered in real-time while the user adjusts the filter parameters.
I’ve ported most of the MATLAB code to Python and have made some progress on a C++ version here. Here’s a plot:
This class will also be able to read/write JSON strings. So one could load any IIR filter designed elsewhere and load it into the Biquad class. Here’s a sample of the JSON for the filter designed above:
Yesterday while using Yahoo Mail, I was clearing out my Trash folder by clicking on the trash icon. The usual popup dialog asking me to confirm showed up so I clicked Okay.
At the time, I had only 4 items in the Trash folder, so when the dialog was taking a long time to delete 4 items I started to get worried. Once the busy dialog cleared, my INBOX was Empty! I just deleted all my email from the last 15 years!
By clicking near the Trash Can icon next the either the Spam or Trash folders, a dialog box for deleting All Emails for the Inbox shows up! It’s very easy to reproduce in Firefox 38.0 running on Ubuntu 14.04. Just click near the icon and you will get a dialog to delete everthing out of your inbox:
I’ve posted a feedback request to Yahoo about the problem, we’ll see if they will fix it and restore my email.
On the Nsound development branch, I’ve exposed the C++ circular iterators for the Buffer class to the Python module. This code will eventually get released as part of Nsound-0.9.3.
Here’s how one might use them:
1
2
3
4
5
6
7
8
9
10
11
importNsound asns
b=ns.Buffer()
b<<1<<2<<3
c=b.cbegin()
foriinxrange(10):
printfloat(c)
c+=1
Which will produce the this output:
1
2
3
4
5
6
7
8
9
10
1.0
2.0
3.0
1.0
2.0
3.0
1.0
2.0
3.0
1.0
The function cbegin() returns a Buffer::circular_iterator object that can be dereferenced using the Python builtin float(). The iterator can be incremented using the += operator. Once the iterator goes off the end of the Buffer, it wraps around back to the beginning again, circular.
Posted innsound|Comments Off on Nsound Circular Iterators