summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2017-06-22Remove LocaleGuards from ARDOUR::Speakers classTim Mayberry
float <=> string conversions are now using PBD::to_string/string_to via XMLNode for locale independent conversion and these guards are not necessary.
2017-06-22Remove LocaleGuards from ARDOUR::Session transport related methodsTim Mayberry
ARDOUR::AutomationList is no longer using LocaleGuards as float <=> string conversion is using PBD::to_string/string_to so the reason for adding these guards as per comment no longer applies.
2017-06-22Remove LocaleGuard from Session::load_optionsTim Mayberry
PBD::ConfigVariable uses PBD::to_string/string_to methods so this LocaleGuard is no longer necessary.
2017-06-22Remove LocaleGuards from SessionConfiguration classTim Mayberry
ConfigurationVariable is now using PBD::to_string/string_to for float <=> string conversions so LocaleGuard is no longer necessary.
2017-06-22Remove LocaleGuard from Session::immediately_post_engine methodTim Mayberry
I think this was only to protect the float <=> string conversion in Session::setup_click_state related to click gain which is now using PBD::to_string/string_to and so no longer necessary.
2017-06-22Remove LocaleGuard from ARDOUR::Route classTim Mayberry
Route and all members are now using locale independent string <=> float conversions.
2017-06-22Remove LocaleGuard from ARDOUR::MonitorProcessor state methodTim Mayberry
All float <=> string conversions are done using PBD::to_string/string_to via XMLNode and LocaleGuard is not necessary.
2017-06-22Remove LocaleGuard from ARDOUR::RCConfiguration classTim Mayberry
This presumes that all ControlProtocol implementations either use PBD::to_string/string_to for float <=> string conversions, which is now the case.
2017-06-22Remove LocaleGuards from LuaProc classTim Mayberry
All float <=> string conversions are done using PBD::to_string/string_to via XMLNode so no LocaleGuard is necessary.
2017-06-22Remove LocaleGuard from ARDOUR::MidiTrack classTim Mayberry
There are no float <=> string conversions and they are all now performed using PBD::to_string/string_to via XMLNode
2017-06-22Remove LocaleGuard from ARDOUR::MidiDiskstream classTim Mayberry
There are no float <=> string conversions in MidiDiskstream state methods, these guards must have been to protect conversions in Diskstream state methods which are now using PBD::to_string/string_to via XMLNode so no longer need guarding.
2017-06-22Remove LocaleGuards from ARDOUR::ExportFormatSpecification state methodsTim Mayberry
All float <=> string conversions are performed by PBD::to_string/string_to via XMLNode.
2017-06-22Remove LocaleGuard from ARDOUR::Diskstream state methodTim Mayberry
The float conversion in Diskstream::get_state is now done using PBD::to_string/string_to via XMLNode::set_property API. There was no explicit LocaleGuard protecting the string -> float conversion to remove so it was probably protected by the caller.
2017-06-22Remove LocaleGuard from ARDOUR::AutomationList classTim Mayberry
All float conversions are using PBD::to_string/string_to via XMLNode::get/set_property API
2017-06-22Remove LocaleGuard from ARDOUR::Region classTim Mayberry
Property conversions <=> string use PBD::to_string/string_to so float conversions don't need to be protected by a LocaleGuard
2017-06-22Remove LocaleGuard from ARDOUR::AudioRegion state methodsTim Mayberry
float <=> string conversions are performed using PBD::to_string/string_to via XMLNode
2017-06-22Remove LocaleGuard from ARDOUR::AudioTrack classTim Mayberry
The gain property float <=> string conversion is now performed using PBD::to_string/string_to via XMLNode
2017-06-22Remove LocaleGuard from AudioFileSource::get_stateTim Mayberry
Not necessary when using XMLNode::set_property API
2017-06-22Remove LocaleGuard from ARDOUR::AudioDiskstream state methodsTim Mayberry
There are no float <=> string conversions and they are all now performed using PBD::to_string/string_to via XMLNode
2017-06-22Remove LocaleGuard from ARDOUR::IO class state methodsTim Mayberry
There are no float <=> string conversions that require a LocaleGuard and all conversions are performed using PBD::to_string/string_to via XMLNode
2017-06-22Remove LocaleGuard from PBD::Controllable state methodsTim Mayberry
These are no longer necessary as float <=> string conversion is handled by locale independent PBD::to_string/string_to via XMLNode::get/set_property
2017-06-21OSC: Accept mixed parameter types for touchLen Ovens
2017-06-21compilation requires <stdint.h>Paul Davis
2017-06-21Some ToDo notes about AutomationTypesRobin Gareus
2017-06-21Remove internal_to_user/user_to_internal APIRobin Gareus
Also GainControl can just use the AutomationControl's implementation of get_user_string()
2017-06-21Prepare removal of redundant get_user/set_user API.Robin Gareus
2017-06-21Temporary session-format compatibility (revert before release)Robin Gareus
Saving the new ControlList interpolation methods (enum) breaks loading the session in older version. The session-format version will need to be increased. Until then: * Fader automation + region gain envelope uses linear fades * The automation-line visible in the GUI does not match the actual fade (the y-axis is log/exp-scale, the fade is linear) * Adding new points on the line is not using the correct initial value * Custom changes of interpolation mode are not available Neither of these issues is a regression.
2017-06-21Fix VST default value. query once at instantiation time.Robin Gareus
2017-06-21Consolidate ParameterDescriptor settings+rangesRobin Gareus
2017-06-21Set default interpolation type (for new lanes)Robin Gareus
2017-06-21Add API to compute parameter delta, depending on AutomationTypeRobin Gareus
2017-06-21Centralize Parameter scalingRobin Gareus
This exposes an AutomationType dependent abstract version of inteface_to_internal(), internal_to_interface().
2017-06-21Remove duplicates from ControlListRobin Gareus
2017-06-21Clamp values in ControlListRobin Gareus
2017-06-21Implement additional ControlList interpolation methods.Robin Gareus
The Control and ControlList uses the raw value (eg. coefficient for gain, Hz for frequencies) and those Lists are stored in existing sessions. In the vast majority of cases interpolating automation values using exp/log scale for dB, freq makes more sense -- it's also what the fader does. Adding additional interpolation methods is future proof (we might at allow to even add different methods per automation point (to the next) like other DAWs do. Currently it's mainly used in preparation for consistent GUI automation- lanes. Between 2 points there's always a visual straight line.
2017-06-21Remove separate ControlList min/max/default, use ParameterDescriptor.Robin Gareus
2017-06-21remove min/max unbound -- LADSPA special case.Robin Gareus
This explicit case should never have existed in the first place. Plugins can always implicitly exceed the range and are expected to cope with out-of-range values (e.g. meters when fed with a peaking signal may return an out-of-bounds value)
2017-06-21Move logarithmic property into Evoral, add rangestepsRobin Gareus
This allows complete mathematical description of a given parameter and parameter values. Semantic type abstraction is reserved for Ardour::ParameterDescriptor.
2017-06-21Remove old APIRobin Gareus
2017-06-21Fix/update maximum gain computationRobin Gareus
2017-06-21Switch to PBD control-math and prefer Controllable APIRobin Gareus
Note: Control-surfaces should always use interface_to_internal() and internal_to_interface().
2017-06-21Centralize control-parameter math functions in libpbd.Robin Gareus
Functions formerly in ardour/util.h and some more functions. The main motivation is libevoral which can use libpbd but not libardour. The eventual goal is to consolidate various different interpolation, scaling and deflection methods.
2017-06-21Format boolean parameter valuesRobin Gareus
2017-06-21Tweak value-as-string dB and float decimals printingRobin Gareus
2017-06-21Remove Cruft -- AutomationStyle never did anything.Robin Gareus
Trim automation is planned via SlavableAC as normal AutomationMode. Some of this code have a revival (a special "Trim+Preview" state before merging Automation but that has to be more general than Pan & Gain.
2017-06-21Fix duplicate Gain+Trim AutomationLists in session file.Robin Gareus
2017-06-20OSC: value not initialized soon enoughLen Ovens
2017-06-18'ARDOUR::Stripable::Sorter()' needs to be exportable (since it gets used ↵John Emmas
outside of libardour)
2017-06-17Update Japanese translation, including a fix for an issue that translation ↵Hiroki Inagaki
for a certain string leads failure to launch the application on Windows 10
2017-06-17Move implementation out of header fileRobin Gareus