This is some of the code for Samplify. Some of it had to be removed to protect the project.