{"id":493562,"date":"2026-09-05T14:32:50","date_gmt":"2026-09-05T14:32:50","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=493562"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=493562","title":{"rendered":"FM-\u0441\u0438\u043d\u0442\u0435\u0437 \u0437\u0432\u0443\u043a\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u0427\u0430\u0441\u0442\u044c 2"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c FM-\u0441\u0438\u043d\u0442\u0435\u0437 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435. \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 Yamaha DX7 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0435\u0433\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0440\u0438\u0434\u0436\u044b \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/01c\/c92\/827\/01cc928278f0290514e36967e1b7c7cb.png\" alt=\"Yamaha DX7\" title=\"Yamaha DX7\" width=\"664\" height=\"421\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/01c\/c92\/827\/01cc928278f0290514e36967e1b7c7cb.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/01c\/c92\/827\/01cc928278f0290514e36967e1b7c7cb.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>Yamaha DX7<\/figcaption><\/div>\n<\/figure>\n<p>\u043f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u0437\u0434\u0435\u0441\u044c &#8212; <a href=\"https:\/\/habr.com\/ru\/articles\/1052640\/\" rel=\"noopener nofollow\">https:\/\/habr.com\/ru\/articles\/1052640\/<\/a><\/p>\n<hr\/>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0435<\/h2>\n<p>Yamaha DX7 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0432 1983\u0433. \u0417\u0430 \u0441\u0447\u0451\u0442 \u0448\u0438\u0440\u043e\u043a\u0438\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0432\u0443\u043a\u043e\u0432 \u0438 \u043d\u0438\u0437\u043a\u043e\u0439 \u0446\u0435\u043d\u044b \u0441\u0442\u0430\u043b \u043e\u0447\u0435\u043d\u044c \u0448\u0438\u0440\u043e\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f. \u041f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u043f\u043e\u043f-\u043c\u0443\u0437\u044b\u043a\u0438 80-\u0445 \u0433\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0432\u0435\u043a\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0441 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c.<\/p>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 6 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u0441\u0438\u043d\u0443\u0441\u043e\u0438\u0434\u044b. \u041e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c \u0432 32 \u043f\u0440\u0435\u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0445\u0435\u043c\u044b (\u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 \u0432\u044b\u0448\u0435 \u043e\u043d\u0438 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u043a\u043e\u0440\u043f\u0443\u0441\u0435).<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0438\u043c\u0435\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443 (\u043a\u0440\u0430\u0442\u043d\u0443\u044e \u043d\u0430\u0436\u0430\u0442\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435 \u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0443\u044e) \u0438 \u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0443\u044e. <\/p>\n<p>\u041f\u0440\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u0444\u0430\u0437\u043e\u0432\u0443\u044e \u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u044e, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u0437\u0432\u0443\u043a \u0432 \u0448\u0438\u0440\u043e\u043a\u0438\u0445 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445. \u0418\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f FM-\u0441\u0438\u043d\u0442\u0435\u0437\u043e\u043c (\u0442.\u0435. \u0430\u043f\u043b\u0438\u0442\u0443\u0434\u043d\u043e-\u0447\u0430\u0441\u0442\u043e\u0442\u043d\u044b\u043c \u0441\u0438\u043d\u0442\u0435\u0437\u043e\u043c), \u0445\u043e\u0442\u044f \u044d\u0442\u043e \u0438 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e.<\/p>\n<p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439 \u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0434\u043b\u044f Yamaha DX7 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c &#8212; <a href=\"https:\/\/www.muzines.co.uk\/search\/understanding%20the%20dx7\" rel=\"noopener nofollow\">https:\/\/www.muzines.co.uk\/search\/understanding%20the%20dx7<\/a><\/p>\n<p>\u0417\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 \u043d\u0430\u0434\u0435\u043b\u0430\u043b\u0438 \u043d\u0435\u0441\u043c\u0435\u0442\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442 \u0433\u0438\u0442\u0430\u0440 \u0441 \u043e\u0440\u0433\u0430\u043d\u0430\u043c\u0438 \u0434\u043e \u0431\u0430\u0440\u0430\u0431\u0430\u043d\u043e\u0432. \u0415\u0441\u043b\u0438 \u043f\u043e\u0433\u0443\u0433\u043b\u0438\u0442\u044c ( <a href=\"https:\/\/ya.ru\/search\/?text=dx7+syx\" rel=\"noopener nofollow\">https:\/\/ya.ru\/search\/?text=dx7+syx<\/a> ) \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441 \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u0435\u043c.<\/p>\n<h2>\u042d\u043c\u0443\u043b\u044f\u0446\u0438\u044f DX7<\/h2>\n<p>\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0432 \u0432\u0438\u0434\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f Minium Studio \u0447\u0442\u043e\u0431 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u044b\u043a\u043d\u0443\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u043e\u0433\u043e \u0437\u0432\u0443\u043a\u0430, \u0430 \u043f\u043e\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u0435 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0432 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0446\u0438\u0438.<\/p>\n<h2>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430<\/h2>\n<p>\u0424\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u0430\u0440\u0442\u0440\u0438\u0434\u0436\u0435\u0439 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 (\u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e *.syx) \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0434\u0435\u0441\u044c &#8212; <a href=\"https:\/\/github.com\/asb2m10\/dexed\/blob\/master\/Documentation\/sysex-format.txt\" rel=\"noopener nofollow\">https:\/\/github.com\/asb2m10\/dexed\/blob\/master\/Documentation\/sysex-format.txt<\/a><\/p>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0432 DX7 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0443\u0436\u0430\u0441\u043d\u043e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b ADSR-\u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0435\u0439:<\/p>\n<blockquote>\n<p>\u041e\u0433\u0438\u0431\u0430\u044e\u0449\u0438\u0435 \u0432 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430\u0445 Yamaha DX7 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0445 ADSR-\u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0438\u0445, \u043d\u043e \u043d\u0435 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043b\u044c\u043d\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f. \u041a\u0430\u0436\u0434\u0430\u044f \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0442\u043e\u0447\u0435\u043a \u0438\u043c\u0435\u0435\u0442 \u0434\u0432\u0430 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430: \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0438 \u0443\u0440\u043e\u0432\u0435\u043d\u044c, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0435\u0439 \u043e\u0442 \u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439, \u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u2014 \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c\u044e \u044d\u0442\u043e\u0439 \u0442\u043e\u0447\u043a\u0438.<\/p>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u043e\u0435 \u2014 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u044b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 DX7 \u0434\u043b\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0435\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u043e\u043b\u0437\u0443\u043d\u043e\u043a. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c. \u041f\u0440\u0438\u0447\u0451\u043c \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0443\u0440\u043e\u0432\u043d\u044f \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e, \u0430 \u043f\u043e\u043d\u0438\u0436\u0435\u043d\u0438\u0435 &#8212; \u043b\u0438\u043d\u0435\u0439\u043d\u043e.<\/p>\n<\/blockquote>\n<p>\u0412 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0441\u0435\u0442\u044b \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e. \u0412\u044b\u0431\u0440\u043e\u0441\u0438\u043c \u043c\u0430\u043b\u043e\u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0443\u0434\u0435\u043c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0438\u0434.<\/p>\n<p>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0435\u0441\u0435\u0442\u0430 \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"typescript\">type SynthPreset = {label: string; \/\/\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0435\u0441\u0435\u0442\u0430mixID: number; \/\/\u043d\u043e\u043c\u0435\u0440 \u0441\u0445\u0435\u043c\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432operators: {   \/\/\u043c\u0430\u0441\u0441\u0438\u0432 \u043d\u0430 6 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432constantFrequency: number; \/\/\u0438\u043b\u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430frequencyRatio: number;    \/\/\u0438\u043b\u0438 \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u0438\u0433\u0440\u0430\u0435\u043c\u043e\u0439 \u043d\u043e\u0442\u044bdetune: number; \/\/\u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u0432 \u043f\u043e\u043b\u0443\u0442\u043e\u043d\u0430\u0445volume: number;envelope: { \/\/\u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0430\u044f ADSR, \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0443\u0440\u043e\u0432\u043d\u0438 \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u0438attack: { duration: number; values: number[]; }; \/\/\u0430\u0442\u0430\u043a\u0430decay: { duration: number; values: number[]; };  \/\/\u0441\u043f\u0430\u0434sustain: { duration: number; values: number[]; };\/\/\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439release: number; \/\/\u0432\u0440\u0435\u043c\u044f \u0434\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f}; }[];feedbackRatio: number;  \/\/\u0441\u0438\u043b\u0430 \u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u0438 \u0432 \u043a\u043e\u043b\u044c\u0446\u0435\u0432\u043e\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438modulationRatio: number;\/\/\u0441\u0438\u043b\u0430 \u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u0438 \u0432 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438};<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><em>\u043a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e\u0433\u043e \u0437\u0443\u0447\u0430\u043d\u0438\u044f \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 \u043e\u0447\u0435\u043d\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e. \u0414\u0430\u0436\u0435 \u043a\u0430\u043a-\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e.<\/em><\/p>\n<p>\u041a\u043e\u0434 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 <a href=\"https:\/\/github.com\/surikov\/webaudiopluginexample\/blob\/main\/dx7\/ui\/src\/loadersys.ts\" rel=\"noopener nofollow\">https:\/\/github.com\/surikov\/webaudiopluginexample\/blob\/main\/dx7\/ui\/src\/loadersys.ts<\/a><\/p>\n<h2>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430<\/h2>\n<p>\u041a\u043e\u0434 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0437\u0432\u0443\u043a\u0430 \u0432 \u0444\u0430\u0439\u043b\u0435 dx7synth.ts:<\/p>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"typescript\">function newDX7FMSynth1(): MZXBX_AudioPerformerPlugin {console.log('create newDX7FMSynth1 v1.02');let matrixConnectionAlgorithmsDX7: ConnectionSchemeDX7[] = [{ outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4], [5], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4], [5], []], feedbackMatrix: [[], [], [], [], [], [3]] }, { outputMix: [0, 2, 4], modulationMatrix: [[1], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2, 4], modulationMatrix: [[1], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [4]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4], [], [5], []], feedbackMatrix: [[], [], [], [3], [], []] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4], [], [5], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4, 5], [], [], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4, 5], [], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4, 5], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4, 5], [], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0], modulationMatrix: [[1, 2, 4], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0], modulationMatrix: [[1, 2, 4], [], [3], [], [5], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0], modulationMatrix: [[1, 2, 3], [], [2], [], [5], []], feedbackMatrix: [[], [], [], [4], [], []] }, { outputMix: [0, 3, 4], modulationMatrix: [[1], [2], [], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3], modulationMatrix: [[2], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 1, 3, 4], modulationMatrix: [[2], [2], [], [5], [5], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 2, 3, 4], modulationMatrix: [[1], [], [5], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3, 4], modulationMatrix: [[], [2], [], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 3, 4], modulationMatrix: [[], [], [5], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 3, 4], modulationMatrix: [[], [], [], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3], modulationMatrix: [[], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3], modulationMatrix: [[], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 2, 5], modulationMatrix: [[1], [], [3], [4], [], []], feedbackMatrix: [[], [], [], [], [4], []] }, { outputMix: [0, 1, 2, 4], modulationMatrix: [[], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 5], modulationMatrix: [[], [], [3], [4], [], []], feedbackMatrix: [[], [], [], [], [4], []] }, { outputMix: [0, 1, 2, 3, 4], modulationMatrix: [[], [], [], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 3, 4, 5], modulationMatrix: [[], [], [], [], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }];class MiniumFMOperator {audioContext: AudioContext;operatorOut: GainNode;feedbackLevel: GainNode;phaseDelay: DelayNode;carrier: OscillatorNode;modulationLevel: GainNode;envelope: GainNode;constructor(cntxt: AudioContext) {this.audioContext = cntxt;this.operatorOut = this.audioContext.createGain();this.modulationLevel = this.audioContext.createGain();this.feedbackLevel = this.audioContext.createGain();this.envelope = this.audioContext.createGain();this.phaseDelay = this.audioContext.createDelay();this.carrier = this.audioContext.createOscillator();this.envelope.connect(this.operatorOut);this.phaseDelay.connect(this.envelope);this.modulationLevel.connect(this.phaseDelay.delayTime);this.feedbackLevel.connect(this.phaseDelay.delayTime);this.carrier.connect(this.phaseDelay);this.operatorOut.gain.value = 0;this.phaseDelay.delayTime.value = 0;this.envelope.gain.value = 0;this.carrier.start(this.audioContext.currentTime);}addFrequencySlide(when: number, frequency: number, modulationRatio: number, feedbackRatio: number) {this.carrier.frequency.linearRampToValueAtTime(frequency, when);this.modulationLevel.gain.linearRampToValueAtTime(modulationRatio \/ frequency, when);this.phaseDelay.delayTime.linearRampToValueAtTime(1.1 * modulationRatio \/ frequency, when);this.feedbackLevel.gain.linearRampToValueAtTime(feedbackRatio \/ frequency, when);}startPlayFrequency(volume: number, attack: SynthSlope, decay: SynthSlope, sustain: SynthSlope, release: number, when: number, duration: number, frequency: number, modulationRatio: number, feedbackRatio: number) {this.envelope.gain.cancelScheduledValues(this.audioContext.currentTime);this.envelope.gain.setValueAtTime(0, this.audioContext.currentTime);this.envelope.gain.setValueCurveAtTime(attack.values, when, attack.duration);this.envelope.gain.setValueCurveAtTime(decay.values, when + attack.duration, decay.duration);this.envelope.gain.setValueCurveAtTime(sustain.values, when + attack.duration + decay.duration, sustain.duration);this.envelope.gain.cancelAndHoldAtTime(when + duration);this.envelope.gain.linearRampToValueAtTime(0, when + duration + release);this.carrier.frequency.value = frequency;this.modulationLevel.gain.linearRampToValueAtTime(modulationRatio \/ frequency, when);this.phaseDelay.delayTime.linearRampToValueAtTime(1.1 * modulationRatio \/ frequency, when);this.feedbackLevel.gain.linearRampToValueAtTime(feedbackRatio \/ frequency, when);this.operatorOut.gain.value = volume;}cancelOperator() {this.operatorOut.disconnect();this.envelope.disconnect();this.phaseDelay.disconnect();this.modulationLevel.disconnect();this.feedbackLevel.disconnect();this.carrier.disconnect();this.carrier.stop();}}class MinumFMVoice {operators: MiniumFMOperator[];locktime: number = 0;audioContext: AudioContext;output: GainNode;mixID: number;constructor(mixID: number, audioContext: AudioContext, to: AudioNode) {this.mixID = mixID;this.audioContext = audioContext;this.output = this.audioContext.createGain();this.operators = [new MiniumFMOperator(this.audioContext), new MiniumFMOperator(this.audioContext), new MiniumFMOperator(this.audioContext), new MiniumFMOperator(this.audioContext), new MiniumFMOperator(this.audioContext), new MiniumFMOperator(this.audioContext)];this.connectOperators();this.output.connect(to);}connectOperators() {let mix = matrixConnectionAlgorithmsDX7[this.mixID - 1];for (let cid = 0; cid &lt; mix.modulationMatrix.length; cid++) {let carrier = this.operators[cid];let modulatorIds = mix.modulationMatrix[cid];for (let mm = 0; mm &lt; modulatorIds.length; mm++) {let mid = modulatorIds[mm];let modulator = this.operators[mid];modulator.operatorOut.connect(carrier.modulationLevel);}}for (let cid = 0; cid &lt; mix.feedbackMatrix.length; cid++) {let carrier = this.operators[cid];let fbIds = mix.feedbackMatrix[cid];for (let ff = 0; ff &lt; fbIds.length; ff++) {let fid = fbIds[ff];let fbmodulator = this.operators[fid];fbmodulator.operatorOut.connect(carrier.feedbackLevel);}}for (let ii = 0; ii &lt; mix.outputMix.length; ii++) {let outIdx = mix.outputMix[ii];this.operators[outIdx].operatorOut.connect(this.output);}}startPlayNote(volume: number, preset: SynthPreset, when: number, note: number, slides: MZXBX_SlideItem[]) {this.output.gain.value = 0.33 * volume \/ 100;let duration = slides.reduce((sm, cur) =&gt; sm + cur.duration, 0);for (let ii = 0; ii &lt; 6; ii++) {let info = preset.operators[ii];if (info.enabled) {let frequency = info.constantFrequency;if (!(frequency)) {let noteFreq = 440 * Math.pow(2, (note - 69) \/ 12);let detuneRatio = Math.pow(Math.exp(Math.log(2) \/ 1024), info.detune);frequency = noteFreq * detuneRatio * info.frequencyRatio;if (preset.transpose &gt; 0) frequency = frequency * 2;if (preset.transpose &lt; 0) frequency = frequency * 0.5;}this.operators[ii].startPlayFrequency(info.volume, info.envelope.attack, info.envelope.decay, info.envelope.sustain, info.envelope.release, when, duration, frequency, preset.modulationRatio, preset.feedbackRatio);\/\/, slides);let otime = when + duration + info.envelope.release + 0.01;if (this.locktime &lt; otime) {this.locktime = otime;}if (info.frequencyRatio &amp;&amp; (slides.length &gt; 1 || slides[0].delta != 0)) {let next = when;for (let ff = 0; ff &lt; slides.length; ff++) {next = next + slides[ff].duration;let noteFreq = 440 * Math.pow(2, (note + slides[ff].delta - 69) \/ 12);let detuneRatio = Math.pow(Math.exp(Math.log(2) \/ 1024), info.detune);let slideFreq = noteFreq * detuneRatio * info.frequencyRatio;this.operators[ii].addFrequencySlide(next, slideFreq, preset.modulationRatio, preset.feedbackRatio);}}}}}cancelVoice() {for (let ii = 0; ii &lt; this.operators.length; ii++) {this.operators[ii].cancelOperator();}this.output.disconnect();}}class MiniumFMSynth {cache: MinumFMVoice[] = [];audioContext: AudioContext;mixOutput: GainNode;constructor() {}init(audioContext: AudioContext) {this.audioContext = audioContext;this.mixOutput = this.audioContext.createGain();}takeVox(mxid: number): MinumFMVoice {for (let ii = 0; ii &lt; this.cache.length; ii++) {if (this.cache[ii].locktime &lt; this.audioContext.currentTime &amp;&amp; mxid == this.cache[ii].mixID) {return this.cache[ii];}}let vx: MinumFMVoice = new MinumFMVoice(mxid, this.audioContext, this.mixOutput);this.cache.push(vx);return vx;}cancelSynth() {for (let ii = 0; ii &lt; this.cache.length; ii++) {this.cache[ii].cancelVoice();}this.cache = [];}scheduleStrum(volume: number, preset: SynthPreset, when: number, pitches: number[], slides: MZXBX_SlideItem[]) {if (when &gt; this.audioContext.currentTime + 0.05) {for (let ii = 0; ii &lt; pitches.length; ii++) {let vox = this.takeVox(preset.mixID);vox.startPlayNote(volume, preset, when, pitches[ii], slides);}} else {console.log(when, 'is too late for', this.audioContext.currentTime);}}}class MiniumPluginDX7Bridge implements MZXBX_AudioPerformerPlugin {synth: MiniumFMSynth | null = null;fm: FMParameter | null = null;launch(context: AudioContext, parameters: string): number {if (this.synth) {\/\/} else {this.synth = new MiniumFMSynth();this.synth.init(context);}this.fm = (parameters as any) as FMParameter;return 1;}busy(): null | string {return null;}cancel(): void {if (this.synth) {this.synth.cancelSynth();}}output(): AudioNode | null {if (this.synth) {return this.synth.mixOutput;} else {return null;}}strum(whenStart: number, zpitches: number[], tempo: number, mzbxslide: MZXBX_SlideItem[]): void {if (this.synth) {if (this.fm) {this.synth.scheduleStrum(this.fm.volume, this.fm.preset, whenStart, zpitches, mzbxslide);}}}}return new MiniumPluginDX7Bridge();}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<h2>\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/h2>\n<ul>\n<li>\n<p>\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 \u044d\u0442\u043e <strong>MiniumFMSynth<\/strong><\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 <strong>scheduleStrum<\/strong> \u043e\u043d \u0441\u043e\u0437\u0434\u0430\u0451\u0442 (\u0438\u043b\u0438 \u0431\u0435\u0440\u0451\u0442 \u0438\u0437 \u043a\u0435\u0448\u0430) \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>MinumFMVoice<\/strong> \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434 <strong>startPlayNote<\/strong><\/p>\n<\/li>\n<li>\n<p>\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0433\u043e\u043b\u043e\u0441 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <strong>connectOperators<\/strong> \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b <strong>MiniumFMOperator<\/strong> \u043f\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u0435<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u0436\u0434\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <strong>startPlayFrequency<\/strong> \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0447\u0430\u0441\u0442\u043e\u0442\u0443, \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c, \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u0438, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u0438 \u0434\u043b\u044f ADSR-\u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0435\u0439 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043e\u0441\u0446\u0438\u043b\u043b\u044f\u0442\u043e\u0440<\/p>\n<\/li>\n<\/ul>\n<p><em>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e: \u043a\u0435\u0448 \u043d\u0443\u0436\u0435\u043d \u0442.\u043a. \u0432 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 3-\u043c\u0438\u043d\u0443\u0442\u043d\u043e\u0439 \u043f\u0435\u0441\u043d\u0435 \u0442\u044b\u0441\u044f\u0447\u0438 \u043d\u043e\u0442. \u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0447\u043d\u0451\u0442 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u0432\u0443\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0430\u0443\u0434\u0438\u043e-\u0443\u0437\u0435\u043b. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438 \u0430\u0443\u0434\u0438\u043e-\u0443\u0437\u043b\u043e\u0432 \u0432 \u043a\u043e\u043b\u044c\u0446\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u043a\u0440\u0430\u0448\u0438\u0442\u0441\u044f.<\/em><\/p>\n<p>\u0412 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 matrixConnectionAlgorithmsDX7 \u043b\u0435\u0436\u0430\u0442 \u0441\u0445\u0435\u043c\u044b \u0432\u0441\u0435\u0445 32-\u0445 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 (\u043e\u0441\u0446\u0438\u043b\u043b\u044f\u0442\u043e\u0440\u043e\u0432).<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0445\u0435\u043c\u0430 13 \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043d\u0430 \u043a\u043e\u0440\u043f\u0443\u0441\u0435 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/aeb\/dab\/ec0\/aebdabec0d4e01c8478002f91ed8e805.jpg\" alt=\"mix\" title=\"mix\" width=\"642\" height=\"548\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/aeb\/dab\/ec0\/aebdabec0d4e01c8478002f91ed8e805.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/aeb\/dab\/ec0\/aebdabec0d4e01c8478002f91ed8e805.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>mix<\/figcaption><\/div>\n<\/figure>\n<p>\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n<pre><code class=\"typescript\">, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4, 5], [], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><em>\u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 0, \u0430 \u043d\u0435 \u0441 1 \u043a\u0430\u043a \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435<\/em><\/p>\n<ul>\n<li>\n<p>\u043d\u0430 \u0430\u0443\u0434\u0438\u043e\u0432\u044b\u0445\u043e\u0434 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b 1 \u0438 3<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430 \u0432\u0445\u043e\u0434 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 1 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 2, \u043d\u0430 \u0432\u0445\u043e\u0434 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 3 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b 4, 5 \u0438 6<\/p>\n<\/li>\n<li>\n<p>\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 6 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 \u0438 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0432\u0445\u043e\u0434<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u043e\u0442, \u0432\u043e\u0431\u0449\u0435\u043c-\u0442\u043e \u0438 \u0432\u0441\u0451. \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u0437\u0432\u0443\u043a \u0443\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432 300 \u0441\u0442\u0440\u043e\u043a.<\/p>\n<h2>UI<\/h2>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 UI \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0441\u043f\u0440\u0430\u0440\u0441\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0441 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 Import \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0435\u0442\u0440\u043e-\u0441\u0442\u0438\u043b\u044f \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u043e\u0442\u044b:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9fe\/6da\/8b6\/9fe6da8b6e6d8c097ce7f152ec141966.jpg\" alt=\"UI\" title=\"UI\" width=\"3072\" height=\"1728\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/9fe\/6da\/8b6\/9fe6da8b6e6d8c097ce7f152ec141966.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9fe\/6da\/8b6\/9fe6da8b6e6d8c097ce7f152ec141966.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>UI<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u0440\u0435\u0441\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e. \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u043b\u0435\u0436\u0438\u0442 \u043f\u0430\u043f\u043a\u0435 <a href=\"https:\/\/github.com\/surikov\/webaudiopluginexample\/tree\/main\/dx7\/dx7aux\" rel=\"noopener nofollow\">https:\/\/github.com\/surikov\/webaudiopluginexample\/tree\/main\/dx7\/dx7aux<\/a> \u0432 \u0444\u0430\u0439\u043b\u0435 miniumPluginPreset.json<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c FM-\u0441\u0438\u043d\u0442\u0435\u0437\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 Yamaha DX7<\/p>\n<ul>\n<li>\n<p>\u0412\u0438\u0434\u0435\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; <a href=\"https:\/\/habr.com\/ru\/articles\/1052640\/\" rel=\"noopener nofollow\">https:\/\/habr.com\/ru\/articles\/1052640\/<\/a><\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u043a\u0432\u0435\u043d\u0441\u043e\u0440 \u0441 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0430\u0442\u0435 <a href=\"https:\/\/mzxbox.ru\" rel=\"noopener nofollow\">https:\/\/mzxbox.ru<\/a><\/p>\n<\/li>\n<li>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <a href=\"https:\/\/github.com\/surikov\/webaudiopluginexample\/tree\/main\/dx7\" rel=\"noopener nofollow\">https:\/\/github.com\/surikov\/webaudiopluginexample\/tree\/main\/dx7<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1078826\/\">https:\/\/habr.com\/ru\/articles\/1078826\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c FM-\u0441\u0438\u043d\u0442\u0435\u0437 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435. \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 Yamaha DX7 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0435\u0433\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0440\u0438\u0434\u0436\u044b \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438.Yamaha DX7\u043f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u0437\u0434\u0435\u0441\u044c &#8212; https:\/\/habr.com\/ru\/articles\/1052640\/\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0435Yamaha DX7 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0432 1983\u0433. \u0417\u0430 \u0441\u0447\u0451\u0442 \u0448\u0438\u0440\u043e\u043a\u0438\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0432\u0443\u043a\u043e\u0432 \u0438 \u043d\u0438\u0437\u043a\u043e\u0439 \u0446\u0435\u043d\u044b \u0441\u0442\u0430\u043b \u043e\u0447\u0435\u043d\u044c \u0448\u0438\u0440\u043e\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f. \u041f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u043f\u043e\u043f-\u043c\u0443\u0437\u044b\u043a\u0438 80-\u0445 \u0433\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0432\u0435\u043a\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0441 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c.\u0412\u043d\u0443\u0442\u0440\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 6 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u0441\u0438\u043d\u0443\u0441\u043e\u0438\u0434\u044b. \u041e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c \u0432 32 \u043f\u0440\u0435\u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0445\u0435\u043c\u044b (\u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 \u0432\u044b\u0448\u0435 \u043e\u043d\u0438 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u043a\u043e\u0440\u043f\u0443\u0441\u0435).\u041a\u0430\u0436\u0434\u044b\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0438\u043c\u0435\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443 (\u043a\u0440\u0430\u0442\u043d\u0443\u044e \u043d\u0430\u0436\u0430\u0442\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435 \u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0443\u044e) \u0438 \u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0443\u044e. \u041f\u0440\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u0444\u0430\u0437\u043e\u0432\u0443\u044e \u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u044e, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u0437\u0432\u0443\u043a \u0432 \u0448\u0438\u0440\u043e\u043a\u0438\u0445 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445. \u0418\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f FM-\u0441\u0438\u043d\u0442\u0435\u0437\u043e\u043c (\u0442.\u0435. \u0430\u043f\u043b\u0438\u0442\u0443\u0434\u043d\u043e-\u0447\u0430\u0441\u0442\u043e\u0442\u043d\u044b\u043c \u0441\u0438\u043d\u0442\u0435\u0437\u043e\u043c), \u0445\u043e\u0442\u044f \u044d\u0442\u043e \u0438 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e.\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439 \u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0434\u043b\u044f Yamaha DX7 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c &#8212; https:\/\/www.muzines.co.uk\/search\/understanding%20the%20dx7\u0417\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 \u043d\u0430\u0434\u0435\u043b\u0430\u043b\u0438 \u043d\u0435\u0441\u043c\u0435\u0442\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442 \u0433\u0438\u0442\u0430\u0440 \u0441 \u043e\u0440\u0433\u0430\u043d\u0430\u043c\u0438 \u0434\u043e \u0431\u0430\u0440\u0430\u0431\u0430\u043d\u043e\u0432. \u0415\u0441\u043b\u0438 \u043f\u043e\u0433\u0443\u0433\u043b\u0438\u0442\u044c ( https:\/\/ya.ru\/search\/?text=dx7+syx ) \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441 \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u0435\u043c.\u042d\u043c\u0443\u043b\u044f\u0446\u0438\u044f DX7\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0432 \u0432\u0438\u0434\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f Minium Studio \u0447\u0442\u043e\u0431 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u044b\u043a\u043d\u0443\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u043e\u0433\u043e \u0437\u0432\u0443\u043a\u0430, \u0430 \u043f\u043e\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u0435 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0432 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0446\u0438\u0438.\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430\u0424\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u0430\u0440\u0442\u0440\u0438\u0434\u0436\u0435\u0439 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 (\u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e *.syx) \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0434\u0435\u0441\u044c &#8212; https:\/\/github.com\/asb2m10\/dexed\/blob\/master\/Documentation\/sysex-format.txt\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0432 DX7 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0443\u0436\u0430\u0441\u043d\u043e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b ADSR-\u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0435\u0439:\u041e\u0433\u0438\u0431\u0430\u044e\u0449\u0438\u0435 \u0432 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430\u0445 Yamaha DX7 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0445 ADSR-\u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0438\u0445, \u043d\u043e \u043d\u0435 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043b\u044c\u043d\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f. \u041a\u0430\u0436\u0434\u0430\u044f \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0442\u043e\u0447\u0435\u043a \u0438\u043c\u0435\u0435\u0442 \u0434\u0432\u0430 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430: \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0438 \u0443\u0440\u043e\u0432\u0435\u043d\u044c, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0435\u0439 \u043e\u0442 \u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439, \u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u2014 \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c\u044e \u044d\u0442\u043e\u0439 \u0442\u043e\u0447\u043a\u0438.\u0421\u0430\u043c\u043e\u0435 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u043e\u0435 \u2014 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440\u044b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 DX7 \u0434\u043b\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0435\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u043e\u043b\u0437\u0443\u043d\u043e\u043a. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c. \u041f\u0440\u0438\u0447\u0451\u043c \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0443\u0440\u043e\u0432\u043d\u044f \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e, \u0430 \u043f\u043e\u043d\u0438\u0436\u0435\u043d\u0438\u0435 &#8212; \u043b\u0438\u043d\u0435\u0439\u043d\u043e.\u0412 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0441\u0435\u0442\u044b \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e. \u0412\u044b\u0431\u0440\u043e\u0441\u0438\u043c \u043c\u0430\u043b\u043e\u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0443\u0434\u0435\u043c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0438\u0434.\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0435\u0441\u0435\u0442\u0430 \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:type SynthPreset = {label: string; \/\/\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0435\u0441\u0435\u0442\u0430mixID: number; \/\/\u043d\u043e\u043c\u0435\u0440 \u0441\u0445\u0435\u043c\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432operators: {   \/\/\u043c\u0430\u0441\u0441\u0438\u0432 \u043d\u0430 6 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432constantFrequency: number; \/\/\u0438\u043b\u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430frequencyRatio: number;    \/\/\u0438\u043b\u0438 \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u0438\u0433\u0440\u0430\u0435\u043c\u043e\u0439 \u043d\u043e\u0442\u044bdetune: number; \/\/\u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u0432 \u043f\u043e\u043b\u0443\u0442\u043e\u043d\u0430\u0445volume: number;envelope: { \/\/\u043e\u0433\u0438\u0431\u0430\u044e\u0449\u0430\u044f ADSR, \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0443\u0440\u043e\u0432\u043d\u0438 \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u0438attack: { duration: number; values: number[]; }; \/\/\u0430\u0442\u0430\u043a\u0430decay: { duration: number; values: number[]; };  \/\/\u0441\u043f\u0430\u0434sustain: { duration: number; values: number[]; };\/\/\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439release: number; \/\/\u0432\u0440\u0435\u043c\u044f \u0434\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f}; }[];feedbackRatio: number;  \/\/\u0441\u0438\u043b\u0430 \u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u0438 \u0432 \u043a\u043e\u043b\u044c\u0446\u0435\u0432\u043e\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438modulationRatio: number;\/\/\u0441\u0438\u043b\u0430 \u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u0438 \u0432 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438};\u043a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e\u0433\u043e \u0437\u0443\u0447\u0430\u043d\u0438\u044f \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430 \u043e\u0447\u0435\u043d\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e. \u0414\u0430\u0436\u0435 \u043a\u0430\u043a-\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e.\u041a\u043e\u0434 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u0435\u0441\u0435\u0442\u043e\u0432 \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 https:\/\/github.com\/surikov\/webaudiopluginexample\/blob\/main\/dx7\/ui\/src\/loadersys.ts\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0430\u041a\u043e\u0434 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0437\u0432\u0443\u043a\u0430 \u0432 \u0444\u0430\u0439\u043b\u0435 dx7synth.ts:\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442function newDX7FMSynth1(): MZXBX_AudioPerformerPlugin {console.log(&#8216;create newDX7FMSynth1 v1.02&#8217;);let matrixConnectionAlgorithmsDX7: ConnectionSchemeDX7[] = [{ outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4], [5], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4], [5], []], feedbackMatrix: [[], [], [], [], [], [3]] }, { outputMix: [0, 2, 4], modulationMatrix: [[1], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2, 4], modulationMatrix: [[1], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [4]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4], [], [5], []], feedbackMatrix: [[], [], [], [3], [], []] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4], [], [5], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 3], modulationMatrix: [[1], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4, 5], [], [], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3, 4, 5], [], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4, 5], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 2], modulationMatrix: [[1], [], [3], [4, 5], [], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0], modulationMatrix: [[1, 2, 4], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0], modulationMatrix: [[1, 2, 4], [], [3], [], [5], []], feedbackMatrix: [[], [1], [], [], [], []] }, { outputMix: [0], modulationMatrix: [[1, 2, 3], [], [2], [], [5], []], feedbackMatrix: [[], [], [], [4], [], []] }, { outputMix: [0, 3, 4], modulationMatrix: [[1], [2], [], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3], modulationMatrix: [[2], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 1, 3, 4], modulationMatrix: [[2], [2], [], [5], [5], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 2, 3, 4], modulationMatrix: [[1], [], [5], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3, 4], modulationMatrix: [[], [2], [], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 3, 4], modulationMatrix: [[], [], [5], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 3, 4], modulationMatrix: [[], [], [], [5], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3], modulationMatrix: [[], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 3], modulationMatrix: [[], [2], [], [4, 5], [], []], feedbackMatrix: [[], [], [2], [], [], []] }, { outputMix: [0, 2, 5], modulationMatrix: [[1], [], [3], [4], [], []], feedbackMatrix: [[], [], [], [], [4], []] }, { outputMix: [0, 1, 2, 4], modulationMatrix: [[], [], [3], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 5], modulationMatrix: [[], [], [3], [4], [], []], feedbackMatrix: [[], [], [], [], [4], []] }, { outputMix: [0, 1, 2, 3, 4], modulationMatrix: [[], [], [], [], [5], []], feedbackMatrix: [[], [], [], [], [], [5]] }, { outputMix: [0, 1, 2, 3, 4, 5], modulationMatrix: [[], [], [], [], [], []], feedbackMatrix: [[], [], [], [], [], [5]] }];class MiniumFMOperator {audioContext: AudioContext;operatorOut: GainNode;feedbackLevel: GainNode;phaseDelay: DelayNode;carrier: OscillatorNode;modulationLevel: GainNode;envelope: GainNode;constructor(cntxt: AudioContext) {this.audioContext = cntxt;this.operatorOut = this.audioContext.createGain();this.modulationLevel = this.audioContext.createGain();this.feedbackLevel = this.audioContext.createGain();this.envelope = this.audioContext.createGain();this.phaseDelay = this.audioContext.createDelay();this.carrier = this.audioContext.createOscillator();this.envelope.connect(this.operatorOut);this.phaseDelay.connect(this.envelope);this.modulationLevel.connect(this.phaseDelay.delayTime);this.feedbackLevel.connect(this.phaseDelay.delayTime);this.carrier.connect(this.phaseDelay);this.operatorOut.gain.value = 0;this.phaseDelay.delayTime.value = 0;this.envelope.gain.value = 0;this.carrier.start(this.audioContext.currentTime);}addFrequencySlide(when: number, frequency: number, modulationRatio: number, feedbackRatio: number) {this.carrier.frequency.linearRampToValueAtTime(frequency, when);this.modulationLevel.gain.linearRampToValueAtTime(modulationRatio \/ frequency, when);this.phaseDelay.delayTime.linearRampToValueAtTime(1.1 * modulationRatio \/ frequency, when);this.feedbackLevel.gain.linearRampToValueAtTime(feedbackRatio \/ frequency, when);}startPlayFrequency(volume: number, attack: SynthSlope, decay: SynthSlope, sustain: SynthSlope, release: number, when: number, duration: number, frequency: number, modulationRatio: number, feedbackRatio: number) {this.envelope.gain.cancelScheduledValues(this.audioContext.currentTime);this.envelope.gain.setValueAtTime(0, this.audioContext.currentTime);this.envelope.gain.setValueCurveAtTime(attack.values, when, attack.duration);this.envelope.gain.setValueCurveAtTime(decay.values, when + attack.duration, decay.duration);this.envelope.gain.setValueCurveAtTime(sustain.values, when + attack.duration + decay.duration, sustain.duration);this.envelope.gain.cancelAndHoldAtTime(when + duration);this.envelope.gain.linearRampToValueAtTime(0, when + duration + release);this.carrier.frequency.value = frequency;this.modulationLevel.gain.linearRampToValueAtTime(modulationRatio \/ frequency, when);this.phaseDelay.delayTime.linearRampToValueAtTime(1.1 * modulationRatio \/ frequency, when);this.feedbackLevel.gain.linearRampToValueAtTime(feedbackRatio \/ frequency,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-493562","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/493562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=493562"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/493562\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=493562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=493562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=493562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}