Install pyaudio
sudo apt install python3-pyaudio
Make script executable
chmod +x record.py
Open in your favourite editor and adjust RECORD_SECONDS
and OUTPUT_FOLDER
accordingly
#include <glib/gi18n.h> | |
#include <gtk/gtk.h> | |
#include <math.h> | |
#include <stdlib.h> | |
static gint | |
hex_spin_input (GtkSpinButton *spin_button, | |
gdouble *new_val) | |
{ | |
const gchar *buf; |
Install pyaudio
sudo apt install python3-pyaudio
Make script executable
chmod +x record.py
Open in your favourite editor and adjust RECORD_SECONDS
and OUTPUT_FOLDER
accordingly
#include <iostream> | |
#include <array> | |
struct Point | |
{ | |
constexpr Point(double x, double y) | |
: x(x) | |
, y(y){}; | |
double x, y; | |
}; |
#include <iostream> | |
#include <cassert> | |
#include <boost/fusion/sequence.hpp> | |
#include <boost/fusion/include/sequence.hpp> | |
#include <boost/fusion/include/make_vector.hpp> | |
#include <boost/fusion/include/transform.hpp> | |
#include <boost/fusion/include/accumulate.hpp> | |
namespace fusion = boost::fusion; |
#include <boost/iterator/iterator_facade.hpp> | |
#include <eigen3/Eigen/Core> | |
#include <iostream> | |
#include <tuple> | |
#include <vector> | |
using Entry = std::pair<Eigen::VectorXd, Eigen::VectorXi>; | |
class EntryIterator; |
add_unit_test(TriangulateIPCellsTest | |
mechanics/integrationtypes/IntegrationTypeBase.cpp | |
mechanics/integrationtypes/IntegrationTypeEnum.cpp | |
mechanics/integrationtypes/IntegrationType2D3NGauss3Ip.cpp | |
mechanics/integrationtypes/IntegrationType2D4NGauss1Ip.cpp | |
mechanics/integrationtypes/IntegrationType2D4NGauss4Ip.cpp | |
mechanics/integrationtypes/IntegrationType2D4NGauss9Ip.cpp) | |
target_link_libraries(TriangulateIPCellsTest -lgmp -lCGAL) | |
#pragma once | |
#include <algorithm> | |
#include <vector> | |
#include <boost/iterator/indirect_iterator.hpp> | |
namespace NuTo | |
{ | |
namespace Groups | |
{ |
#include <vector> | |
#include <iostream> | |
#include <cmath> | |
#include <eigen3/Eigen/Core> | |
class Cell; | |
// base class for "operations": hessians, gradients, etc. | |
template <typename ReturnType> |
#include <iostream> | |
#include <functional> | |
class ConstitutiveLaw {}; | |
class ElementBase | |
{ | |
public: | |
ElementBase(ConstitutiveLaw* law) : mLaw(law) {} |
#include <iostream> | |
#include <map> | |
#include <boost/any.hpp> | |
enum class eInput { | |
ONE, TWO, THREE | |
}; | |
// are a string, a double and an int | |
enum class eOutput { |