Difference between revisions of "C"
From CCRMA Wiki
m |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Arrays | ||
+ | http://www.cs.swarthmore.edu/~newhall/unixhelp/C_arrays.html#dynamic2D | ||
+ | |||
http://web.stanford.edu/~fringer/teaching/operating_systems_03/handouts/lecture8.pdf | http://web.stanford.edu/~fringer/teaching/operating_systems_03/handouts/lecture8.pdf | ||
JSON parsing (MIT license): | JSON parsing (MIT license): | ||
http://zserge.com/jsmn.html | http://zserge.com/jsmn.html | ||
+ | |||
+ | JSON parsing example explained: | ||
+ | http://alisdair.mcdiarmid.org/2012/08/14/jsmn-example.html | ||
Midi to Json converter: | Midi to Json converter: | ||
https://github.com/mobyvb/midi-converter | https://github.com/mobyvb/midi-converter | ||
+ | |||
+ | convert midi to json: > node midi-to-json.js | ||
+ | |||
+ | > node midi-to-json.js scale_t0.mid scale_t0.json | ||
+ | > node midi-to-json.js scale_t1.mid scale_t1.json | ||
+ | |||
Run Javascript from commandline (Node): | Run Javascript from commandline (Node): | ||
http://javascript.cs.lmu.edu/notes/commandlinejs/ | http://javascript.cs.lmu.edu/notes/commandlinejs/ | ||
+ | |||
+ | Read text-file into buffer: | ||
+ | http://stackoverflow.com/questions/3747086/reading-the-whole-text-file-into-a-char-array-in-c | ||
+ | |||
+ | JSON Validator: | ||
+ | http://jsonlint.com/ |
Latest revision as of 07:31, 25 September 2014
Arrays
http://www.cs.swarthmore.edu/~newhall/unixhelp/C_arrays.html#dynamic2D
http://web.stanford.edu/~fringer/teaching/operating_systems_03/handouts/lecture8.pdf
JSON parsing (MIT license):
http://zserge.com/jsmn.html
JSON parsing example explained:
http://alisdair.mcdiarmid.org/2012/08/14/jsmn-example.html
Midi to Json converter:
https://github.com/mobyvb/midi-converter convert midi to json: > node midi-to-json.js > node midi-to-json.js scale_t0.mid scale_t0.json > node midi-to-json.js scale_t1.mid scale_t1.json
Run Javascript from commandline (Node):
http://javascript.cs.lmu.edu/notes/commandlinejs/
Read text-file into buffer:
http://stackoverflow.com/questions/3747086/reading-the-whole-text-file-into-a-char-array-in-c
JSON Validator:
http://jsonlint.com/