Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
A440
Search
HORINOUCHI Masato
February 16, 2016
Technology
0
61
A440
社内LT大会 0x64物語 #05 Number 資料
HORINOUCHI Masato
February 16, 2016
Tweet
Share
More Decks by HORINOUCHI Masato
See All by HORINOUCHI Masato
balenaCloud
thermes
0
73
Church Numerals
thermes
0
47
CPS & CTO
thermes
0
250
FM synthesis
thermes
0
36
Inside mml2wav.rb
thermes
0
86
Scheme Interpreter in Ruby
thermes
0
70
Clock / Timer
thermes
0
160
Hash Tree
thermes
0
75
POSIX Threads
thermes
0
56
Other Decks in Technology
See All in Technology
AWS Lambda durable functions を使って AWS Lambda の15分の壁を超えてみよう
matsuzawatakeshi
0
110
ハッカソンから社内プロダクトへ AIエージェント ko☆shi 開発で学んだ4つの重要要素
leveragestech
0
430
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
1.4k
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
140
モダンデータスタックの理想と現実の間で~1.3億人Vポイントデータ基盤の現在地とこれから~
taromatsui_cccmkhd
2
290
SQLだけでマイグレーションしたい!
makki_d
0
1.3k
Microsoft Agent Frameworkの可観測性
tomokusaba
1
120
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
160
2025年の医用画像AI/AI×medical_imaging_in_2025_generated_by_AI
tdys13
0
200
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.6k
アプリにAIを正しく組み込むための アーキテクチャ── 国産LLMの現実と実践
kohju
1
260
2025-12-27 Claude CodeでPRレビュー対応を効率化する@機械学習社会実装勉強会第54回
nakamasato
4
1.3k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Discover your Explorer Soul
emna__ayadi
2
1k
HDC tutorial
michielstock
1
280
Highjacked: Video Game Concept Design
rkendrick25
PRO
0
260
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
43
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
Claude Code のすすめ
schroneko
67
210k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
350
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
520
Transcript
A440 2016/02/16 0x64 Tales #05 Number Livesense Inc. HORINOUCHI Masato
A440 ͬͯͳʹ? • ΦΫλʔϒ 4 ͷ A (ϥ) ͷपΛ 440Hz
ͱ͢Δ͜ͱɻج४ϐο ν(Իߴ) ͱͯ͠ࠃࡍඪ४ͱͳ͍ͬͯΔɻ • 1955 ʹ ISO ʹΑΓ A=440 ͕ఆΊΒΕΔલྺ࢙తܦҢʹΑ Γ A=415, A=430, A=466 ͳͲ༷ʑͳج४ϐον͕༻͍ΒΕ͖ͯ ͨɻ • গʑߴ͍ج४ϐονͷํ͕՚͔ʹௌ͑͜ΔͷͰɺݱࡏͰ A=442, A=444 ͦΕΛӽ͑ΔΦʔέετϥଟ͍ɻ
ΈΜͳͬͯΔ A440 • ࣌ใ • "me_signal.wav • 440Hz 440Hz 440Hz
880Hz ͱ͍͏पͰ໐͍ͬͯΔɻ
ΦΫλʔϒ • 1ΦΫλʔϒ্ͷԻΛ໐Β͢ʹपΛ 2ഒʹ͢Δɻ • 1ΦΫλʔϒԼͷԻΛ໐Β͢ʹपΛ 1/2ഒʹ͢Δɻ • ΦΫλʔϒ x
ͷ A ͷपൺྻ • 1 => 55, 2 => 110, 3 => 220, 4 => 440, 5 => 880 … • f(x) = 27.5 * (2 ** x)
Ի ԻఔͷपΛͲͷΑ͏ʹنఆ͢Δ͔ɻ • ฏۉ • 1ΦΫλʔϒΛ 12ͨ͠Իɻ • (0..12).each {|i|
2.0 ** (i.to_f / 12) } ͷൺྻɻ • ७ਖ਼ • ७ਖ਼Իఔ(पൺ͕୯७ͳൺͱͳΔ)Λ༻͍ͨԻɻ • ԻͰഒԻͷ͏ͳΓ͕ൃੜ͠ͳ͍ɻCϝδϟʔͰͷ C-E-G ͕ 4:5:6 ͱͳΔɻ
ฏۉͱ७ਖ਼ʹΑΔԻఔ ฏۉ ͔ΒҾ༻
σϞ CϝδϟʔͰશԻ֊ͱ C-E-G , F-A-C , G-B-D ͷࡾԻɻ • ฏۉ
A440: temp_12tet_a440.wav • ฏۉ A444: temp_12tet_a444.wav • ७ਖ਼ A440: temp_just.wav
ࠓճͷݕূɺ ॳϦΞϧλΠϜੜͨ͠ܗσ ʔλΛ /dev/dsp ʹग़ྗ͠Α͏ͱߟ ͍͑ͯͨͷ͕ͩ…ɻ
σʔλͲ͏ͬͯ࡞ͬͨͷ? • MML ύʔαʔ࡞ͬͯܗσʔλʹม͢Εྑ͍ͷͰ… • ܗσʔλ͑͞࡞ΕͨΒ .wav ग़ྗ؆୯ͩΑͶɻ • ܗੜؔม͑Εਖ਼ݭҎ֎ग़ྗͰ͖ΔΑͶɻ
• ܗσʔλΛ߹Ͱ͖ΕϚϧντϥοΫԽͰ͖ΔΑͶɻ • ࡞ͬͯΈͨ ← ΠϚίί
to be con(nued...