SlideShare a Scribd company logo
1 of 11
Download to read offline
C# から
YMF825Board を
演奏する
七瀬 @nanase_coder
YMF825Board交流会 #1
2017/12/02
自己紹介
七瀬 Nanase
• 25歳、昨年上京
• FM音源大好き、電子工作初心者、言語制作
• 過去にソフトウェアシンセサイザもどきを制作
• 詳しくは -> https:// nanase.cc
構想
• C# を介して MIDI から YMF825Board を演奏
• シリアル通信クラスが標準装備
• 過去制作の MIDI ライブラリを流用可
ハードウェア
YMF825 MIDI Driver
演奏コントロール
構成
YMF825 Server
レジスタ読み書き・監視
YMF825Board
Arduino Nano
Ymf825Client
Ymf825Driver
Ymf825MidiDriver
MIDI
SPI
シリアル通信
IPC (プロセス間通信)
MIDI-IN/OUT
ハードウェア
• YMF825Board を2 枚使用
• Lch, Rch 用
• /SS を切り替えて使用
• シリアル通信のプロトコルは独自策定
• 速度は 115,200 bps
ハードウェア
YMF825 MIDI Driver
YMF825 Server
YMF825Board
ArduinoNano
Ymf825Client
Ymf825Driver
Ymf825MidiDriver
MIDI
YMF825 Server
• GUIでレジスタマップ表示
• リアルタイム更新
• トーンレジスタも表示
• レジスタ読み書きを
シリアル通信に変換・送受信
• IPC (プロセス間通信) の Server
ハードウェア
YMF825 MIDI Driver
YMF825 Server
YMF825Board
Arduino Nano
Ymf825Client
Ymf825Driver
Ymf825MidiDriver
MIDI
YMF825 MIDI Driver
• GUIで音源エディット
• MIDI-IN から
YMF825Board 向けの命令に変換
• IPC の Client
ハードウェア
YMF825 MIDI Driver
YMF825 Server
YMF825Board
Arduino Nano
Ymf825Client
Ymf825Driver
Ymf825MidiDriver
MIDI
音色エディット
• オペレータ設定に主眼
• アルゴリズムや波形をグラフィカル表示
• MIDI の Program/Percussion にアサイン可
• 音色エクスポート機能
演奏させるために
• ドラムパートを 10 ch -> 1 ch に変更
• SysEx で動的に切り替え
• NoteON ごとに音色を変えるため
• 音色変化が多いパート順で ch アサイン
• 激しい PitchBend は間引く
• シリアル通信で輻輳するため
実演
• 動画はこちら
https://youtu.be/GQQDqepkJtg
今後やりたいこと
• Arduino -> FT232HL (すぐやる)
• シリアル通信の高速化
• 音色のインポート
• レジスタ書き込みの排他制御、スケジューリング
• 音色のシーケンス編集

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

C# から YMF825Board を演奏する