public override string ParseToString() { string result = string.Empty; try { result += base.ParseToString(); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _wetDryMix.Precision(), _wetDryMix.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _depth.Precision(), _depth.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _feedback.Precision(), _feedback.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _frequency.Precision(), _frequency.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _delay.Precision(), _delay.Value); WaveformToStringConverter waveConverter = new WaveformToStringConverter(); result += waveConverter.Convert(_waveform); PhaseTypeToStringConverter phaseConverter = new PhaseTypeToStringConverter(); result += phaseConverter.Convert(_phase); } catch (System.Exception) { // throw } return(result); }
public override string ParseToString() { string result = string.Empty; try { result += base.ParseToString(); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _rate.Precision(), _rate.Value); WaveformToStringConverter waveConverter = new WaveformToStringConverter(); result += waveConverter.Convert(_waveform); } catch (System.Exception) { // throw } return(result); }
public override string ParseToString() { string result = string.Empty; try { result += base.ParseToString(); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _gain.Precision(), _gain.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _attack.Precision(), _attack.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _release.Precision(), _release.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _threshold.Precision(), _threshold.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _ratio.Precision(), _ratio.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _predelay.Precision(), _predelay.Value); } catch (System.Exception) { // throw } return(result); }
public override string ParseToString() { string result = string.Empty; try { result += base.ParseToString(); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _inGain.Precision(), _inGain.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _reverbMix.Precision(), _reverbMix.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _reverbTime.Precision(), _reverbTime.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _highFreqRtRatio.Precision(), _highFreqRtRatio.Value); } catch (System.Exception) { // throw } return(result); }
public override string ParseToString() { string result = string.Empty; try { result += base.ParseToString(); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _gain.Precision(), _gain.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _edge.Precision(), _edge.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _postEqCenterFreq.Precision(), _postEqCenterFreq.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _postEqBandwidth.Precision(), _postEqBandwidth.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _postEqCenterFreq.Precision(), _postEqCenterFreq.Value); } catch (System.Exception) { // throw } return(result); }
public override string ParseToString() { string result = string.Empty; try { result += base.ParseToString(); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _wetDryMix.Precision(), _wetDryMix.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _feedback.Precision(), _feedback.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _leftDelay.Precision(), _leftDelay.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _rightDelay.Precision(), _rightDelay.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _panDelay.Precision(), _panDelay.Value); } catch (System.Exception) { // throw } return(result); }
public override string ParseToString() { string result = string.Empty; try { result += base.ParseToString(); string positiveNumericFormat = new string('0', (int)Protocol.Instance.LongNumericParameterLength); string negativeNumericFormat = new string('0', (int)Protocol.Instance.LongNumericParameterLength - 1); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _centerFreq.Precision(), _centerFreq.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _bandwidth.Precision(), _bandwidth.Value); result += ValueSerializer.DoFloat(Protocol.Instance.LongNumericParameterLength, _gain.Precision(), _gain.Value); } catch (System.Exception) { // throw } return(result); }