diff --git a/src/ansys/sound/core/sound_composer/source_harmonics.py b/src/ansys/sound/core/sound_composer/source_harmonics.py index 70076cee9..9cc3829a1 100644 --- a/src/ansys/sound/core/sound_composer/source_harmonics.py +++ b/src/ansys/sound/core/sound_composer/source_harmonics.py @@ -81,8 +81,8 @@ def __str__(self) -> str: # Spectrum control values. orders = np.round(orders, 1) - if len(orders) > 30: - str_order_values = f"{str(orders[:15])[:-1]} ... {str(orders[-15:])[1:]}" + if len(orders) > 10: + str_order_values = f"{str(orders[:5])[:-1]} ... {str(orders[-5:])[1:]}" else: str_order_values = str(orders)