{"id":195098,"date":"2023-12-19T09:45:33","date_gmt":"2023-12-19T08:45:33","guid":{"rendered":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/?p=195098"},"modified":"2023-12-19T09:45:33","modified_gmt":"2023-12-19T08:45:33","slug":"der-welt-kleinster-midi-synth","status":"publish","type":"post","link":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/der-welt-kleinster-midi-synth\/","title":{"rendered":"Der Welt kleinster MIDI Synth"},"content":{"rendered":"<p>Noch kleiner geht&#8217;s wahrscheinlich kaum: <a href=\"https:\/\/mitxela.com\/projects\/smsc\">Smallest USB-C MIDI Synth<\/a>.<\/p>\n<blockquote><p>The last few weeks I&#8217;ve been dabbling around with the CH32V003, a 32-bit RISC-V microcontroller that&#8217;s unbelievably cheap.<br \/>\nOne of the first things that occurred to me, when I noticed it didn&#8217;t have hardware USB but the processor is clocked at 48MHz, is that it would be awesome to write a software USB stack for it. I have wanted, for a long time, to dig deep and write a bit-banged USB library, just because it&#8217;s the best way to learn. I greatly enjoyed writing my ethernet bootloader in assembly. It&#8217;s hard to justify writing a USB stack from scratch when one already exists, however, so when I saw the CH32V003 I thought this was the perfect time to do something both educational and useful.<\/p>\n<p>Picture my surprise to find that CNLohr has already done it! I can&#8217;t exactly complain, that&#8217;s a fantastic achievement and makes the chip even more useful and impressive than it already was.<\/p>\n<p>The very least I can do is get some USB-MIDI working on the chip. At the time of writing, the USB-MIDI demo was unfinished, so I tried it out by soldering a dev board together. It started out a little smaller, but by the end of the experimentation my board looked like this:<\/p><\/blockquote>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/bmFmsn6VZSM?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=de-DE&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><br \/>\n<small>(<a href=\"https:\/\/youtu.be\/bmFmsn6VZSM?si=BGEtQ4-oCyzeogmC\">Direktlink<\/a>)<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Noch kleiner geht&#8217;s wahrscheinlich kaum: Smallest USB-C MIDI Synth. The last few weeks I&#8217;ve been dabbling around with the CH32V003, a 32-bit RISC-V microcontroller that&#8217;s&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/www.kraftfuttermischwerk.de\/blogg\/der-welt-kleinster-midi-synth\/\">Mehr lesen -&gt;<span class=\"screen-reader-text\">Der Welt kleinster MIDI Synth<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":195099,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[5],"tags":[613,705,5452,1511,7581],"class_list":["post-195098","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-musik","tag-diy","tag-instruments","tag-inventions","tag-midi","tag-synthesizers","entry"],"jetpack_featured_media_url":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-content\/uploads2\/2023\/12\/maxresdefault-1-1.jpg","jetpack_shortlink":"https:\/\/wp.me\/pXEnA-OKK","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/posts\/195098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/comments?post=195098"}],"version-history":[{"count":3,"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/posts\/195098\/revisions"}],"predecessor-version":[{"id":195102,"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/posts\/195098\/revisions\/195102"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/media\/195099"}],"wp:attachment":[{"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/media?parent=195098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/categories?post=195098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kraftfuttermischwerk.de\/blogg\/wp-json\/wp\/v2\/tags?post=195098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}