адаптация s13bby/osc под vst и gui. (вайбкод)

вайбкод потому что мне в моменте стало понятно. что проще было сразу писать на фреймворке JUCE, чем адаптировать консольное приложение на MiniAudio.
обновляться данный репозиторий не будет. СmakeLists адаптирован онли под linux.
This commit is contained in:
2026-11-20 14:52:33 +06:00
parent 8384123f87
commit b0a75e98db
10387 changed files with 4025195 additions and 0 deletions
@@ -0,0 +1,249 @@
/*
Modified Doxygen Theme for JUCE
Don't edit the main doxygen-1.14.css file, edit this instead.
This file is included after the base theme to override specific styles.
*/
/* Use Open Sans everywhere, Inconsalata for code */
html,
body {
--font-family-normal: "Open Sans", Helvetica, Arial, sans-serif;
--font-family-monospace: "Inconsolata", monospace;
--font-family-nav: "Open Sans", Helvetica, Arial, sans-serif;
--font-family-title: "Open Sans", Helvetica, Arial, sans-serif;
--font-family-toc: "Open Sans", Helvetica, Arial, sans-serif;
--font-family-search: "Open Sans", Helvetica, Arial, sans-serif;
--font-family-icon: Arial, Helvetica;
--font-family-tooltip: "Open Sans", Helvetica, Arial, sans-serif;
}
/* 14px is a good readable minimum */
body,
table,
div,
p,
dl {
font-size: 14px;
}
/* slightly larger text blocks for better readability */
p {
line-height: 1.5em;
}
/* nicer code blocks */
pre {
margin-bottom: 1em;
}
pre code {
border-radius: 4px;
}
code {
font-family: var(--font-family-monospace);
}
/* all links should display underline on hover */
a:hover {
color: var(--page-link-color);
text-decoration: underline;
}
/* make sure we aren't hugging the sides for readablity */
#doc-content {
margin: 0 1.5em;
}
#main-nav {
padding: 0 1em;
}
/* Readability is TERRIBLE with unlimited widths. UX 101 */
div.textblock {
max-width: 750px;
}
div.textblock h2 {
margin-top: 1.5em;
}
/* Tame the search UX */
#MSearchField {
font-size: 16px;
}
.SRPage {
margin: 0.5em;
}
.SRPage .SREntry {
font-size: 14px;
}
.SRChildren {
font-size: 12px;
}
#navrow1 .tablist>li:last-child {
margin-top: 0.3em;
}
/* Give the header a bit of room */
div.header {
background-color: transparent;
border-bottom: none;
margin-top: 1em;
}
/* Align this sub-nav with the heading */
div.summary {
margin-top: 1.5em;
}
/* Breadcrumbs aren't useful, so lets hide them */
div#nav-path {
display: none;
}
/* Hide the unnecessarily noisy "Detailed Description" header */
h2.groupheader#header-details {
display: none;
}
/* remove noisy extra lines in headers */
td h2.groupheader {
box-shadow: none;
}
/* Doxygen uses monospace for headings, which is rough on scannability.
It's also using 1990s style css with tables and "float left" for layout
*/
h2.memtitle {
font-family: var(--font-family-normal);
font-size: 20px;
font-weight: 300;
float: none;
width: max-content;
/* this is what they wanted vs. float */
}
/* limit the width of member lists for basic readability */
div.memitem {
max-width: 750px;
}
/* member declarations should also not be monospace */
.memberdecls tr[class^='memitem'] {
font-family: var(--font-family-normal);
}
/* better spacing around section headers */
tr.heading h2 {
margin-top: 2em;
margin-bottom: 1em;
}
/* sane line height on class index */
.classindex dd {
line-height: 1.5em;
}
/* descriptions should be readable */
div.contents div.textblock p {
font-size: 16px;
}
/* get rid of crufty borders and background colors */
.memItemLeft,
.memItemRight,
memTemplParams {
background-color: transparent;
border-right: none;
border-left: none;
border-bottom: none;
padding: 0.6em 0 0 0;
}
.mdescLeft,
.mdescRight {
border-right: none;
border-left: none;
padding: 0 0 0.6em 0;
}
tr[class^='memdesc'] {
box-shadow: none;
}
/* tame crufty borders on member lists */
.memproto,
dl.reflist dt {
border-bottom: none;
}
/* chill out on the 1990s crufty rolodex card borders */
html {
--memdef-border-color: #a8b8d949;
}
/* JUCE MODULES */
.juce-modules-continer {
margin-left: 1em;
}
.juce-module-toc-table {
margin-left: 1em;
}
.juce-module-toc-divider {
border-bottom: 1px solid;
margin-top: 2em;
margin-bottom: 2em;
}
.juce-module-toc-module-name {
padding-right: 1em;
}
.juce-module-desc {
margin-left: 1em;
}
.juce-module-contents {
margin-top: 1em;
margin-left: 1em;
}
.juce-module-title {
margin-top: 1em;
margin-bottom: 1em;
}
.juce-module-icon {
height: 1.5em;
margin-right: 0.75em;
vertical-align: middle;
fill: var(--page-foreground-color);
}
.juce-module-name {
font-size: 1.5em;
font-weight: bold;
vertical-align: middle;
}
.juce-module-dir-name {
font-size: 1.1em;
font-weight: bold;
vertical-align: top;
padding-right: 1em;
}
.juce-module-class-list {
list-style: none;
padding: 0;
margin-top: 1.5em;
}
+184
View File
@@ -0,0 +1,184 @@
/* ==========================================================================
juce.com shared site chrome (header + footer).
Mirrors the juce.com WordPress block theme; see the theme repo for the
canonical values. Scoped under .juce-site-chrome so it cannot leak into
app or Tailwind styles. Fonts: Open Sans / Source Sans Pro, loaded by the
apps' layouts.
========================================================================== */
.juce-site-chrome {
/* design tokens (theme.json palette) */
--juce-base: #ffffff;
--juce-contrast: #231f20;
--juce-neutral-900: #262626;
--juce-neutral-700: #52565a;
--juce-primary: #f09f53;
--juce-secondary: #8dc63f;
--juce-lime: #add14c;
--juce-yellow: #ecdc13;
--juce-red: #e74253;
font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font-size: 16px;
line-height: 1.6;
letter-spacing: normal;
color: var(--juce-base);
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.juce-site-chrome *, .juce-site-chrome *::before, .juce-site-chrome *::after { box-sizing: inherit; }
.juce-site-chrome ul { list-style: none; margin: 0; padding: 0; }
.juce-site-chrome a { text-decoration: none; color: inherit; }
.juce-site-chrome a:visited { color: inherit; }
.juce-site-chrome img { max-width: 100%; }
.juce-site-chrome button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; }
/* Host pages (e.g. Doxygen) set fonts on bare element selectors; restore inheritance inside the chrome. */
.juce-site-chrome :where(div, p, ul, li, a, span) { font: inherit; }
/* --------------------------------------------------------------------------
Header
-------------------------------------------------------------------------- */
.site-header { background-color: var(--juce-neutral-900); color: var(--juce-base); padding: 0.5rem 1.5rem; }
.site-header__row {
max-width: 1280px; margin: 0 auto; min-height: 69px;
display: flex; align-items: center; justify-content: space-between;
flex-wrap: nowrap; gap: 1rem; min-width: 0;
}
.site-header__logo img { width: 160px; height: auto; display: block; }
.site-header__right { display: flex; align-items: center; flex-wrap: nowrap; gap: 1rem; min-width: 0; }
.site-header .wp-block-navigation { display: flex; align-items: center; }
.site-header .wp-block-navigation__container { display: flex; align-items: center; gap: 1.5rem; }
.site-header .wp-block-navigation-item { position: relative; }
.site-header .wp-block-navigation-item {
display: flex; align-items: center; gap: 0.25em;
}
.site-header .wp-block-navigation-item__content {
display: inline-flex; align-items: center;
font-size: 16px; line-height: 1.6; color: var(--juce-base);
white-space: nowrap;
}
.site-header .wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation-item__content:focus { color: var(--juce-lime); }
.site-header .wp-block-navigation__submenu-icon { display: inline-flex; align-items: center; color: var(--juce-base); }
.site-header .wp-block-navigation__submenu-icon svg {
display: block;
width: 0.6em; height: 0.6em; /* WordPress renders the caret at 0.6em */
transform: translateY(1.2px); /* and baseline-aligns it slightly below centre */
}
/* dropdowns (desktop) */
.site-header .wp-block-navigation__submenu-container {
position: absolute; top: 100%; left: -1.25rem; z-index: 100;
min-width: 200px; padding: 0.6rem 0;
background: var(--juce-neutral-900); border-radius: 0 0 8px 8px;
display: block; visibility: hidden; opacity: 0; transition: opacity 0.15s ease;
}
.site-header .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container,
.site-header .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-container {
visibility: visible; opacity: 1;
}
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
display: block; padding: 0.5rem 1.25rem; white-space: nowrap;
}
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: #333333; color: var(--juce-base); }
/* account icon + CTA */
.site-header .header-account { color: var(--juce-base); display: inline-flex; margin-left: 1.25rem; }
.site-header .header-account:hover { color: var(--juce-lime); }
.site-header .header-account svg { display: block; }
.site-header__cta {
display: inline-block; margin-left: 0.75rem; padding: 0.55rem 1.25rem;
line-height: 1.6;
background: var(--juce-secondary); color: var(--juce-base);
border-radius: 999px; font-size: 0.875rem; font-weight: 600;
letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.site-header__cta:hover { background: var(--juce-lime); color: var(--juce-contrast); }
/* burger + overlay (below 1120px) */
.site-header .wp-block-navigation__responsive-container-open { display: none; padding: 0; width: 24px; height: 24px; }
@media (max-width: 899px) {
.site-header .wp-block-navigation__responsive-container-open { display: inline-flex; }
.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
.site-header .wp-block-navigation__responsive-container.is-menu-open {
position: fixed; inset: 0; z-index: 1000; overflow-y: auto;
background: var(--juce-neutral-900); padding: 4rem 1.5rem 2rem;
}
.site-header .is-menu-open .wp-block-navigation__container {
flex-direction: column; align-items: flex-start; gap: 0.5rem;
}
.site-header .is-menu-open .wp-block-navigation__submenu-container {
position: static; visibility: visible; opacity: 1; min-width: 0;
padding: 0 0 0 1.5rem; border-radius: 0;
}
.site-header .is-menu-open .wp-block-navigation-item { display: block; }
.site-header .is-menu-open .wp-block-navigation-item__content { display: block; padding: 8px 0; }
.site-header .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.site-header .wp-block-navigation__responsive-container-close {
position: absolute; top: 1rem; right: 1.5rem; padding: 0; width: 24px; height: 24px;
}
}
@media (min-width: 900px) {
.site-header .wp-block-navigation__responsive-container-close { display: none; }
}
html.juce-menu-open, html.juce-menu-open body { overflow: hidden; }
/* --------------------------------------------------------------------------
Footer
-------------------------------------------------------------------------- */
.site-footer { font-size: 16px; }
.site-sitemap {
background-image:
linear-gradient(rgba(141, 198, 63, 0.66), rgba(141, 198, 63, 0.66)),
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyODQuNCIgaGVpZ2h0PSIyODQuNCIgdmlld0JveD0iMCAwIDI4NC40IDI4NC40Ij4KICA8Zz4KICAgIDxnPgogICAgICA8ZWxsaXBzZSBjeD0iMTQyLjIiIGN5PSIxNDIuMiIgcng9IjEzMi44Mi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4Ni43NSwxMjYuNDUsMTY2WiIgZmlsbD0iI2FkZDE0YyIvPgogICAgICA8cGF0aCBkPSJNMTU4LjY3LDEyMC4xMmE2LDYsMCwwLDAsNy42OCw3LjkxYzIxLjkyLTguNyw0My43OS0xOC4xNCw2NS42Mi0zMEExNC41OCwxNC41OCwwLDAsMCwyMzcsNzdhMTE1LjgyLDExNS44MiwwLDAsMC0zMS40OS0zMC44NCwxNC41NywxNC41NywwLDAsMC0yMS45Miw4QzE3Ni41Niw3Ny40NiwxNjcuODQsOTkuMDUsMTU4LjY3LDEyMC4xMloiIGZpbGw9IiNlNzQyNTMiLz4KICAgICAgPHBhdGggZD0iTTExNC44MiwxMzdjLTIxLjY0LTkuMzctNDMuNzYtMTguMTktNjcuNy0yNS4xMWExNC42MSwxNC42MSwwLDAsMC0xOC40OSwxMS42MywxMTYuMTEsMTE2LjExLDAsMCwwLDEuMjEsNDMuNjUsMTQuNTYsMTQuNTYsMCwwLDAsMjEsOS41OGMyMS4zLTExLjI1LDQyLjU3LTIwLjMzLDYzLjc5LTI4LjczQTYsNiwwLDAsMCwxMTQuODIsMTM3WiIgZmlsbD0iIzAxYjY5OSIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==");
background-size: auto, 700px auto;
background-position: center, right -120px center;
background-repeat: no-repeat;
background-color: var(--juce-secondary);
padding: 3rem 1.5rem;
}
.site-sitemap__columns {
max-width: 1280px; margin: 0 auto;
display: flex; gap: 0 2rem;
}
.site-sitemap__column { min-width: 0; }
@media (max-width: 767px) {
.site-sitemap__columns { flex-direction: column; }
.site-sitemap__column { flex-basis: auto !important; }
}
.site-sitemap h3 {
color: rgba(0, 0, 0, 0.4); border-left: 8px solid rgba(0, 0, 0, 0.2);
padding-left: 8px; margin: 25px 0 10px;
font-family: "Source Sans 3", "Source Sans Pro", "Open Sans", sans-serif;
font-size: 1.5rem; font-weight: 500; line-height: 1.2;
}
.site-sitemap li { margin: 0 0 0.35rem; line-height: 1.6; }
.site-sitemap__column > h3:first-child,
.site-sitemap__column > div:first-child > h3:first-child { margin-top: 0; }
.site-sitemap a { line-height: 1.6; }
.site-sitemap a { color: var(--juce-base); }
.site-sitemap a:hover { color: var(--juce-yellow); }
.site-footer-bar { background: var(--juce-neutral-900); padding: 1.5rem; }
.site-footer-bar {
display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
max-width: 1280px; margin: 0 auto; box-sizing: content-box;
}
.site-footer-bar__social { justify-self: start; }
.site-footer-bar__logo { justify-self: center; }
.site-footer-bar__copyright { justify-self: end; }
.site-footer-bar__social { display: flex; gap: 20px; }
.site-footer-bar__social a {
display: inline-flex; align-items: center; justify-content: center;
width: 36px; height: 36px; border-radius: 50%;
background: var(--juce-secondary); color: var(--juce-base);
}
.site-footer-bar__social svg { width: 24px; height: 24px; }
.site-footer-bar__social a:hover { background: var(--juce-red); }
.site-footer-bar__logo img { width: 140px; height: auto; display: block; }
.site-footer-bar__copyright { margin: 0; font-size: 0.875rem; color: var(--juce-base); }
@media (max-width: 600px) {
.site-footer-bar { justify-content: center; text-align: center; }
}
+8
View File
@@ -0,0 +1,8 @@
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
Theme: Tokyo-night-Dark
origin: https://github.com/enkia/tokyo-night-vscode-theme
Description: Original highlight.js style
Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
License: see project LICENSE
Touched: 2022
*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}