ScratchData LogoScratchData
Back to Kouzeru's profile

FFT: OPLL FM Synthesis (VRC7's FM audio demonstration)

KOKouzeru•Created January 17, 2021
FFT: OPLL FM Synthesis (VRC7's FM audio demonstration)
77
72
1212 views
View on Scratch

Instructions

Best played on Turbowarp: https://turbowarp.org/474981847?fps=60 https://forkphorus.github.io/?webgl&limits&fps=60#474981847 Press following keys to trigger note on: SD FGH l ; 2 3 5 6 7 9 0 = ZXCVBNM , . / QWERTYU I OP [ ] Press arrow keys to change octave Change "polyphony" variable slider for number of keys played simultaneously. Do restart the project after the change- Change "h-quality" variable slider for the output quality of the synthesis... The both variables costs performance, make sure you find balance between them. Press [space] to copy or enter patch data. You can give the following patches to try: $03 $21 $05 $06 $E8 $81 $42 $27 (Bell) $13 $41 $14 $0D $D8 $F6 $23 $12 (Guitar) $11 $11 $08 $08 $FA $B2 $20 $12 (Piano) $31 $61 $0C $07 $A8 $64 $61 $27 (Flute) $32 $21 $1E $06 $E1 $76 $01 $28 (Clarinet) $02 $01 $06 $00 $A3 $E2 $F4 $F4 (Rattle Bell) $21 $61 $1D $07 $82 $81 $11 $07 (Trumpet) $23 $21 $22 $17 $A2 $72 $01 $17 (Reed Org.) $35 $11 $25 $00 $40 $73 $72 $01 (Soft Bell) $B5 $01 $0F $0F $A8 $A5 $51 $02 (Xylophone) $17 $C1 $24 $07 $F8 $F8 $22 $12 (Vibraphone) $71 $23 $11 $06 $65 $74 $18 $16 (Brass) $01 $02 $D3 $05 $C9 $95 $03 $02 (Bass Guitar) $61 $63 $0C $00 $94 $C0 $33 $F6 (Synthesizer) $21 $72 $0D $00 $C1 $D5 $56 $06 (Chorus)

Description

It's three weeks of research which turns out OPLL produces FM synthesis sounds is being simple... Comparison of the FM synthesis implementation in Scratch and the real emulation of it: https://youtu.be/7OI1D0-pS-g Sources: https://github.com/0xJonas/VRC7-Sound https://wiki.nesdev.com/w/index.php/VRC7_audio https://www.smspower.org/maxim/Documents/YM2413ApplicationManual Credits: squig3's keyboard assets derived from https://scratch.mit.edu/projects/420779946/ as well some inspiration from it, there won't be this without it :'D

Project Details

Project ID474981847
CreatedJanuary 17, 2021
Last ModifiedApril 12, 2022
SharedFebruary 12, 2021
Visibilityvisible
CommentsAllowed