Delegate synth rendering to AquaSynth

This commit is contained in:
Meta Vens 2026-05-17 15:03:45 +01:00
commit dcd38a0e64
13 changed files with 51 additions and 475 deletions

View file

@ -60,7 +60,7 @@ $requiredFiles = @(
"Aquarium.Engine.exe",
"Aquarium.Epiphany.dll",
"Aquarium.Engine.Contracts.dll",
"AquariumSynth.Dsl.dll",
"AquaSynth.Dsl.dll",
"Tools\Faust\lib\faust.dll",
"Tools\Faust\share\faust\stdfaust.lib",
"Assets\Aquarium-Engine-Icon.ico",

View file

@ -7,7 +7,7 @@ $ErrorActionPreference = "Stop"
Set-StrictMode -Version Latest
if ([string]::IsNullOrWhiteSpace($SourceRoot)) {
$SourceRoot = if ($env:AQUARIUM_FAUST_HOME) { $env:AQUARIUM_FAUST_HOME } else { "C:\Program Files\Faust" }
$SourceRoot = if ($env:AQUASYNTH_FAUST_HOME) { $env:AQUASYNTH_FAUST_HOME } elseif ($env:AQUARIUM_FAUST_HOME) { $env:AQUARIUM_FAUST_HOME } else { "C:\Program Files\Faust" }
}
if ([string]::IsNullOrWhiteSpace($DestinationRoot)) {

View file

@ -1,5 +1,5 @@
param(
[string]$SynthRepo = "E:\Projects\AquariumSynthCSharp",
[string]$SynthRepo = "E:\Projects\AquaSynth",
[string]$Configuration = "Release"
)
@ -7,14 +7,14 @@ $ErrorActionPreference = "Stop"
$root = Resolve-Path (Join-Path $PSScriptRoot "..")
$feed = Join-Path $root "packages"
$project = Join-Path $SynthRepo "src\AquariumSynth.Dsl\AquariumSynth.Dsl.csproj"
$project = Join-Path $SynthRepo "src\AquaSynth.Dsl\AquaSynth.Dsl.csproj"
if (-not (Test-Path $project)) {
throw "AquariumSynth.Dsl project not found at $project"
throw "AquaSynth.Dsl project not found at $project"
}
New-Item -ItemType Directory -Force -Path $feed | Out-Null
dotnet pack $project -c $Configuration -o $feed
Write-Host "Packed AquariumSynth.Dsl into $feed"
Write-Host "Packed AquaSynth.Dsl into $feed"
Write-Host "If the package version changed, update src\Aquarium.Engine\Aquarium.Engine.csproj to match."