Normalize graph radiation flow gain

This commit is contained in:
Meta Vens 2026-05-27 13:45:07 +01:00
commit 8d49e13d2a
5 changed files with 18 additions and 11 deletions

View file

@ -664,7 +664,7 @@ public static class FaustEmitter
source.AppendLine($"{name}_graph_connection_coupling_{SafeIdentifier(connection.Name)} = clip01({parameters.Expression(OwnerField(connectionPath, "coupling"), connection.Coupling)});");
source.AppendLine($"{name}_graph_connection_loss_{SafeIdentifier(connection.Name)} = clip01({parameters.Expression(OwnerField(connectionPath, "loss"), connection.Loss)});");
}
source.AppendLine($"{name}_graph_radiation_gain = 3.0;");
source.AppendLine($"{name}_graph_radiation_gain = 4.0;");
foreach (var sourceName in network.SourcePorts)
{