前回の"NoteOn-NoteOffの時間差に関する統計処理"に加え、 今度は、MIDI(SMF)のノートの音程・ベロシティーについて統計処理をしてみました! (これも同様に、平均値・分散値・標準偏差値を算出するものです。) (これもまた同様に...) この記事に掲載するプログラムは次の記事を継承したものですので、必要であれば合わせて御覧ください。 ・「C言語でMIDI(SMF)データを読んでみる!」 ・「C言語でMIDI(SMF)データのNoteOn/NoteOffだけ表示する!」 ・「【C言語】MIDI(SMF)のNoteOn-NoteOffの時間差に関する統計処理(平均値・分散値・標準偏差値の算出)」 なお、このプログラムに対するテストは明らかに不十分ですので、参考になさる場合は十分にご注意ください。 // // Reading MIDI(SMF) Data // 2010.08.0
独習PHP 第3版 手を動かしながら学ぶPHP7。基本構文から、クラス、DB連携、セキュリティ対策まで。解説、例題、練習問題の3ステップでよくわかる。基礎からオブジェクト指向まで学べる定番入門書。 PHP逆引きレシピ 第2版 (PROGRAMMER’S RECiPE) 第2版では、最新のPHP(5.4/5.5)に対応したほか、レシピ全体の大幅な見直しを行い、データベースやテスト関連のレシピ拡充など、さらに内容充実・より便利になりました。サンプルプログラムのスマートフォン対応も行っています。実践で即役立つテクニックと開発ノウハウ、つまづきやすい・ハマりやすいポイントを徹底解説した「PHPユーザー必携の1冊」です。 PHPの絵本 第2版 Webアプリ作りが楽しくなる新しい9つの扉 HPは、さまざまなWebアプリケーションが簡単に作れそうなので、興味のある人は多いのではないでしょうか。本書は、イ
前回はC/C++の概要として、それぞれの言語の誕生と現在の規格について紹介した。今回は、先に言語の用途について紹介し、そのあと今も活躍し続ける理由について筆者の考えを述べたい。 C/C++の用途 C/C++はコンピュータシステムのあらゆるところで活躍している言語だ。その例を以下に列挙する。 OS(オペレーティングシステム) 現在よく用いられているオープンソースソフトウェア(OSS)の代表格に挙げられるLinuxは、その中核部分(カーネルと呼ぶ)がC言語で開発されている。そもそもC言語は、Linuxの元になったUNIXというOSを開発するための言語としてつくられた経緯があるからだ。 プログラム言語 Perl, PHP, Rubyなど、現在よく利用されているプログラム言語の処理系は、C言語を用いて開発されている。言い方を変えると、あるプログラム言語を解釈するプログラムがC言語で開発されているわ
目指せプログラマー!にようこそ。 当サイトはこちらに引っ越しました。 お手数をおかけしますが、上記サイトへご移動くださいませ。
copyright 1997 Kubo プログラムなんて簡単さ、分解の仕方が悪いんだよ。 NetNews発言を再編集しました。 fj NetNews--> fj.comp.lang.c , fj.comp.lang.c++ 文章の繋がりが変かもしれませんが想像力でお読み下さい。 コメントが無くてもプログラムが文章になっている。(しかも美しい) 例えば、1行しか処理が無い命令でも関数にする。 例えば、コンパイル後のオブジェクトを想定する。 #こういう事が出来ていないから悩むのです。 このような配慮が文章のようなプログラムになります。 これがきちんとしていれば、日本語でも英語でも関係ありません。 仕事でプログラムする場合には、細かい規約を決めてあげます。 こうすることによりシステムの統一性を保持し、各プログラマーの個性を消します。(でも基本は上記の通りです。難しくないです。) なぜなら仕事のシ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く