This file contains 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
# coding: utf-8 | |
#------------------------------------------------------------ | |
# FIR-LPF-Least-Squares-Fitting.rb | |
# | |
# Created by fukuroda (https://github.com/fukuroder) | |
#------------------------------------------------------------ | |
require "matrix" |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>fm synthesis test</title> | |
<script src='http://code.jquery.com/jquery-2.1.1.min.js'></script> | |
<script> | |
$(function(){ | |
//-------------- | |
// AudioContext |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>local wave file play test</title> | |
<script src='http://code.jquery.com/jquery-2.1.1.min.js'></script> | |
<script> | |
$(function(){ | |
var bufferSource; | |
var gainNode; |
This file contains 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
/* | |
* wave_play_asio.cpp | |
* | |
* Created by fukuroda (https://github.com/fukuroder) | |
*/ | |
// ASIO -> http://www.steinberg.net/en/company/developer.html | |
#include "asiosys.h" | |
#include "asio.h" | |
#include "asiodrivers.h" |
This file contains 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
/* | |
* wave_play_wasapi_exclusive.cpp | |
* | |
* Created by fukuroda (https://github.com/fukuroder) | |
*/ | |
// windows API | |
#include <windows.h> | |
#include <audioclient.h> | |
#include <mmdeviceapi.h> |
This file contains 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
package ; | |
import js.Browser; | |
import js.html.audio.*; // Web Audio API | |
import js.html.File; | |
import js.html.FileReader; | |
import js.html.InputElement; | |
import js.JQuery; | |
import js.Lib; |
This file contains 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
/* | |
* alsa_flac_test.cpp | |
* | |
* Created by fukuroda (https://github.com/fukuroder) | |
*/ | |
// g++ alsa_flac_test.cpp -std=c++0x -O3 -lasound -lsndfile | |
#include<alsa/asoundlib.h> // sudo apt-get install libasound2-dev | |
#include<sndfile.h> // sudo apt-get install libsndfile1-dev |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>local wave file streaming test</title> | |
<script src='http://code.jquery.com/jquery-2.1.1.min.js'></script> | |
<script> | |
$(function(){ | |
// HTML5 audio |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>SoundCloud + Web Audio API test</title> | |
<script src='http://code.jquery.com/jquery-2.1.1.min.js'></script> | |
<script src='http://connect.soundcloud.com/sdk.js'></script> | |
<script> | |
$(function(){ | |
// default URL |
OlderNewer