Units in Audio Plugin Interface
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there any way to set up the decimal precision to be shown in a audio plugin interface? Eg I don´t want the value of a parameter displayed as 3.7277 dB but 3.7 dB.
Thanks
Pablo
댓글 수: 0
채택된 답변
Walter Roberson
2019년 11월 7일
If you do a classdef yourself like is shown in https://www.mathworks.com/help/audio/ref/audioplugininterface.html#d117e26333 then you can define your own display() method for that class.
댓글 수: 4
Walter Roberson
2019년 11월 11일
When I use the example at https://www.mathworks.com/help/audio/ug/plugin-gui-design.html then the relevant portion appears to be the call to parameterTuner . That in turn is a method inside ParameterTunable.m . The important step that takes a built-up description of an interface and builds the interface, is createParameterTuningController . Unfortunately that is a .p file. The operation of the interface is hidden inside .p files, so I do not know how to change the behavior.
You will need to open a technical support request with Mathworks.
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio Plugin Creation and Hosting에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!