- Install kernel module to mirror speaker/headphones audio onto input interface
- Create a virtual "multi-output" device to pipe audio output simultaneously to speakers/headphones and input interface
- Create a virtual "aggregate" device to multiplex output/input audio channels
- Record audio file
- Blend channels, normalise audio, export stereo file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Project page: https://github.com/slowmotionprojects/green-education-center | |
int pinArray[] = {2,3,4,5,6,7,8,9}; // define the pins that will connect to the relays | |
int cycle1LengthMs = 12000; // how long each lamp stays on in the first cycle | |
int cycle2LengthMs = 1000; // how long each lamp stays on in the second cycle | |
void setup() { | |
for (int i = 0; i < (sizeof(pinArray)/sizeof(int)); i++){ | |
pinMode(pinArray[i],OUTPUT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Full project code and assets at https://github.com/slowmotionprojects/green-education-center --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content="GEC China challenge map"> | |
<link rel="stylesheet" href="style.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Facebook login to get the list of members for every follower | |
from selenium import webdriver | |
from selenium.webdriver.support import ui | |
from selenium.webdriver.common.keys import Keys | |
def page_is_loaded(driver): | |
return driver.find_element_by_tag_name("body") != None | |
driver = webdriver.Chrome() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |