Upload
Download free for 30 days
Login
Submit Search
YMF825を使用したMIDI音源
0 likes
399 views
樹
樹輝 橋本
2020年技育展の登壇資料です
Engineering
Read more
1 of 13
Download now
Download to read offline
1
2
3
4
5
6
Most read
7
8
9
10
11
Most read
12
13
Most read
More Related Content
PPTX
Using Git/Gerrit and Jenkins to Manage the Code Review Processord
Marc Karasek
PPTX
Git.pptx
GDSC UofT Mississauga
PPT
Effective Git with Eclipse
Chris Aniszczyk
PDF
fmSynth16-発表資料
樹輝 橋本
PDF
fmSynth16
樹輝 橋本
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
Using Git/Gerrit and Jenkins to Manage the Code Review Processord
Marc Karasek
Git.pptx
GDSC UofT Mississauga
Effective Git with Eclipse
Chris Aniszczyk
fmSynth16-発表資料
樹輝 橋本
fmSynth16
樹輝 橋本
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
Featured
(20)
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
PDF
2024 State of Marketing Report – by Hubspot
Marius Sescu
PDF
Everything You Need To Know About ChatGPT
Expeed Software
PDF
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
PDF
Skeleton Culture Code
Skeleton Technologies
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
PDF
Content Methodology: A Best Practices Report (Webinar)
contently
PPTX
How to Prepare For a Successful Job Search for 2024
Albert Qian
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
PDF
5 Public speaking tips from TED - Visualized summary
SpeakerHub
PDF
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
PDF
Getting into the tech field. what next
Tessa Mero
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
PDF
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
PDF
Introduction to Data Science
Christy Abraham Joy
PDF
Time Management & Productivity - Best Practices
Vit Horky
PDF
The six step guide to practical project management
MindGenius
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
MindGenius
Ad
YMF825を使用したMIDI音源
1.
FMSYNTH16 YMF825を使用したMIDI音源 2020/09/26 @LunaTsukinashi
2.
自己紹介 Luna Tsukinashi • 某高専の電気電子工学科2年 •
MIDIとFM音源が大好き • 去年は某ペンギンがマスコットの音ゲーを 再現していました • 詳しくは GitHub:Xi80 Twitter:@LunaTsukinashi
3.
構想 • STM32を介してMIDIでYMF825Boardを制御、演奏させたい • Mbed
OS上で動作させるため比較的ハード寄りの記述は少なめ • MIDIはハードウェア音源で再生して遊ぶ程度の知識
4.
YMF825Boardについて • ヤマハのFM音源IC、YMF825を 載せた音源ボード • SPIで制御できる(!)ので比較的楽 •
最大同時発音数は16 • 古典的FM音源と制御方法が異なる • 公式GitHubが最近消えた
5.
構成 YMF825Board YMF825 Driver 関数呼び出し MIDI-YMF825 Bridge SPI MIDI
Driver 関数呼び出し MIDI IN MIDI(UART) MIDI Driver MIDIの受信、メッセージの解析 MIDI-YM825 Bridge YMF825用にパラメータを変換 YMF825 Driver YMF825との通信、各種イベント送信
6.
ハードウェア • メイン基板(左) • 変換基板に載ったICがSTM32 •
右下はMIDI受信用のオプトカプラ • アンプ基板(右) • スピーカーでもPowerfulに駆動可 • ただしモノラル • MIDIまわりはほぼ規格に準拠
7.
ソフトウェア • MIDI Driver •
一番力を入れた部分 • ルーチン自体はMIDI規格書に記載のもの+α程度 • 呼び出す関数を自由に変更可能で使いまわしやすい • イメージとしてはArduinoのMIDIライブラリにちゃんとした シリアル受信割り込みを付けた感じ
8.
ソフトウェア • MIDI-YMF825 Bridge •
具体的にはボイスのアサインと各種パラメータ(PitchBend等)の変換 • 発音時間によるボイスあふれ時の消音->アサインも実装 • ここがバグると大変なことになる • アサインを可視化するととても面白い (参考:https://twitter.com/LunaTsukinashi/status/1285586089810341888)
9.
ソフトウェア • YMF825Driver • 実際にYMF825と通信して制御するのはこれ •
こまごまとした作業は既にBridgeがやってくれているのでコマンドを発行していくだけ • コマンドは基本的に16進数で入力してるのでTypoに気付きにくい(1敗)
10.
音色について • GM準拠の配列で128音色分のデータを音源に内蔵しています • 128音色でもわずか約4KB(!)、FM音源の恩恵。 •
ドラムセットと発音数の関係でGM音源とは名乗れない • かなしい • ちゃんとプログラムチェンジにも反応します • 一時期永遠にバグらせていたのでようやく安定した感
11.
演奏させるために • ドラムパートはなし、全Chメロディーパート • 容量的に厳しいので全Chメロディーパート。 •
数少ない発音数をドラムに割くとかなり発音数不足で音が途切れてしまう • PitchBendとExpression/Part Levelはテーブルで持つ • 特にMIDIのPitchBendはn乗の計算が必要なので遅い • とりあえずリアルタイムに動いてるのでヨシ!
12.
実演 • 動画はこちらから https://www.youtube.com/watch?v=YGSEPjgV8T8
13.
今後やりたいこと • YMF825Boardを2枚使用しステレオ16音/モノラル32音化 • 16音だとちょっと物足りない •
自前の音色のSysEx経由での転送 • 音色をもっとそれっぽくしたい
Download