39 Commits

Author SHA1 Message Date
7110188d33 Add project documentation and update .gitignore
Introduces development guidelines for the VST Chip synthesizer, including setup, build, and testing instructions. Adds a placeholder README for the data directory and updates `.gitignore` to include new project-specific build artifacts and paths.
2025-05-06 19:13:43 +02:00
2cfc8a8201 Update output directories and Kotlin version, add buildJS task
Modified outputDirectory paths in build scripts and upgraded the Kotlin multiplatform plugin to version 2.1.20. Added a new buildJS task to handle copying files from multiple directories into the web folder. These changes streamline the build process and ensure compatibility with updated tooling.
2025-05-06 18:59:15 +02:00
ce353d3113 Add MidiMessageHandler for MIDI event handling
Introduced `MidiMessageHandler` to process and handle MIDI messages with customizable handlers for specific byte patterns. This addition improves extensibility and keeps MIDI message processing modular and organized.
2025-03-28 13:47:00 +01:00
ff8a4dbf92 Update dependencies and clean up unused code
Upgraded `vst-ui-base` to version 2.0.0 and removed `kotlin-css-generator`. Cleaned up commented-out and unnecessary dependency blocks for better readability and maintenance.
2025-03-27 19:46:36 +01:00
dc50084e84 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	build.gradle.kts
2025-03-27 19:34:30 +01:00
7fe29916f7 Refactor MainView and enhance View management
Replaced `MainView` object with a `Views` singleton for better modularity and lazy initialization. Adjusted CSS structure, updated dependencies, and improved FM/AM modulation logic for greater flexibility. Additionally, upgraded Kotlin multiplatform version and added inline source mapping.
2025-03-27 19:33:43 +01:00
310f77fc3a Update Gradle config, dependencies, and Kotlin plugin version
Configured Gradle to use "corretto-21" JVM and bumped the Kotlin Multiplatform plugin to version 2.1.10. Updated the "midi-arrays" dependency to version 0.3.4 across relevant modules. These changes ensure compatibility and leverage the latest library improvements.
2025-03-17 18:16:47 +00:00
60a21bbd79 Update dependencies and refine MIDI handling.
Upgraded various dependencies, including `vst-ui-base` to 1.2.0 and build configurations to include `mavenLocal`. Refined MIDI handling by removing redundant logging to improve performance and clarity. Adjusted knob component value ranges for better user experience.
2024-12-26 14:23:16 +01:00
d58fb9c7b5 Refactor MIDI handling and update dependencies.
Streamlined MIDI message handling by introducing `MidiMessageHandler` and removed redundant code. Added better handler support for specific message types and parameters. Also upgraded Kotlin to version 2.1.0 and adjusted build configurations.
2024-12-21 20:42:19 +01:00
fbba6d1422 Refactor MIDI handling and improve audio processing
Replaced `uInt8ArrayOf` with simplified integer arrays for MIDI messages. Introduced `TimedMidiMessage` and buffer handling for better synchronization in audio processing. Updated Gradle dependencies and added timing-aware MIDI utilities.
2024-12-17 20:51:32 +01:00
4c00356dff Increase polyphony and comment out debug logs
Updated the polyphony level from 10 to 20 to enhance sound capability and commented out several debug logs for cleaner console output. Additionally, commented out a block of code related to sine wave modulation that appears unnecessary at this stage. The console log message for registering the processor was slightly modified for consistency.
2024-12-09 19:51:57 +01:00
29aac228e5 Update VST Worklet Base dependency version
Upgrade the nl.astraeus:vst-worklet-base dependency from version 1.0.0-SNAPSHOT to 1.0.1 in audio-worklet/build.gradle.kts. This change ensures compatibility with the updated library while bringing in any fixes or enhancements included in the new version.
2024-12-08 20:43:00 +01:00
52c7495f43 Refactor MainView onClick and cleanup project config
Moved the onClickFunction outside of the START button div in MainView for better event handling. Removed outdated project directory from gradle.xml to clean up project configuration. Corrected sampleRate calculation in ChipProcessor for accurate audio processing.
2024-12-08 20:10:14 +01:00
dc3a940942 Fix sample length calculation using fixed sample rate.
The calculation for `sampleLength` now uses a fixed sample rate of 48000.0 instead of potentially incorrect dynamic sample rate. This change ensures consistent audio processing regardless of the sample rate provided elsewhere in the application.
2024-12-08 15:00:53 +01:00
4f5b30c52a Reorder sampleLength initialization.
Move the sampleLength variable declaration to improve code readability and maintain consistency in variable initialization within the constructor. This change ensures that related calculations are grouped logically.
2024-12-08 14:59:57 +01:00
ee76d4c4a3 Refactor project structure by removing "common" module
Removed the "common" module and associated configurations from the project. Updated dependencies and file placements to reflect these changes across build and source files. Migrated necessary code from the "common" module to relevant existing modules to maintain functionality.
2024-12-08 14:57:01 +01:00
b20b2266ba Upgrade JDK and simplify artifact configurations.
Updated project settings to use JDK 21 and its specific SDK naming. Simplified XML artifact configurations by removing module-output elements. Applied experimental annotation for JavaScript exports in Kotlin source files.
2024-12-08 13:57:15 +01:00
31f2d8060c Remove unused import from settings file
The import statement for 'jdk.tools.jlink.resources.plugins' was removed as it was not being used anywhere in the settings.common.gradle.kts file. This cleanup helps to maintain a more organized and efficient codebase, avoiding potential confusion for developers.
2024-12-08 13:48:43 +01:00
9d67e742f3 Remove unused database and web-related kotlin source files
This commit deletes several Kotlin source files related to database and web handling that are no longer used in the project. This includes DAO classes, web service handlers, and supporting utility files, contributing to a cleaner and more maintainable codebase. Additionally, an import statement has been removed from the `settings.common.gradle.kts` file to tidy up the build configuration.
2024-12-08 13:43:50 +01:00
92e68cdc47 Refactor build and server setup
Introduced a versioning task in a new `version.gradle.kts` file to auto-generate version properties. The main server setup in `Main.kt` was refactored to streamline server initialization using `UndertowServer`. Dependencies and configurations in `build.gradle.kts` were updated to deploy effectively, including improved yarn lock handling and symbolic link integration.
2024-12-08 13:41:00 +01:00
b412dd9b4e Playing with settings 2024-08-12 20:36:30 +02:00
f2269c8865 Also search on name when setting midi port 2024-07-02 19:17:35 +02:00
6554fd746a Volume click fix 2024-07-01 21:13:06 +02:00
976328ed69 Save patch 2024-06-30 20:32:43 +02:00
194857d687 Cleanup 2024-06-29 20:01:16 +02:00
f22a800c93 Layout 2024-06-28 19:22:16 +02:00
ccc7e9a4e9 Modulation, waveforms 2024-06-28 17:07:58 +02:00
b02c7733b0 Add inputs 2024-06-27 20:08:24 +02:00
0cfd6f31d5 Add input 2024-06-27 16:40:33 +02:00
05764ec588 Use vst-ui-base 2024-06-27 12:32:17 +02:00
0281d2751f Cleanup 2024-06-26 14:17:04 +02:00
f7e088bb67 Add channel selection 2024-06-26 14:10:03 +02:00
2bcd1e0b71 Merge remote-tracking branch 'origin/master' 2024-06-26 10:30:42 +02:00
2cb2a0119c Failing build 2024-06-26 10:30:26 +02:00
d22fa8b367 Broadcast 2024-06-21 21:32:08 +02:00
f4a5d0a75b Fx 2024-06-20 18:57:20 +02:00
945f4bb016 Waveform/dutyCycle 2024-06-18 17:41:22 +02:00
94dec1f636 Listen to midi 2024-06-17 21:06:39 +02:00
68b7ffffa8 Initial commit 2024-06-16 20:40:05 +02:00