55 |
#define GIG_EG_CTR_DECAY_INFLUENCE_ENCODE(x) ((x & 0x03) << 3) |
#define GIG_EG_CTR_DECAY_INFLUENCE_ENCODE(x) ((x & 0x03) << 3) |
56 |
#define GIG_EG_CTR_RELEASE_INFLUENCE_ENCODE(x) ((x & 0x03) << 5) |
#define GIG_EG_CTR_RELEASE_INFLUENCE_ENCODE(x) ((x & 0x03) << 5) |
57 |
|
|
58 |
|
#define SRLZ(member) \ |
59 |
|
archive->serializeMember(*this, member, #member); |
60 |
|
|
61 |
namespace gig { |
namespace gig { |
62 |
|
|
63 |
// *************** Internal functions for sample decompression *************** |
// *************** Internal functions for sample decompression *************** |
318 |
|
|
319 |
|
|
320 |
|
|
321 |
|
// *************** leverage_ctrl_t *************** |
322 |
|
// * |
323 |
|
|
324 |
|
void leverage_ctrl_t::serialize(Serialization::Archive* archive) { |
325 |
|
SRLZ(type); |
326 |
|
SRLZ(controller_number); |
327 |
|
} |
328 |
|
|
329 |
|
|
330 |
|
|
331 |
|
// *************** crossfade_t *************** |
332 |
|
// * |
333 |
|
|
334 |
|
void crossfade_t::serialize(Serialization::Archive* archive) { |
335 |
|
SRLZ(in_start); |
336 |
|
SRLZ(in_end); |
337 |
|
SRLZ(out_start); |
338 |
|
SRLZ(out_end); |
339 |
|
} |
340 |
|
|
341 |
|
|
342 |
|
|
343 |
// *************** Sample *************** |
// *************** Sample *************** |
344 |
// * |
// * |
345 |
|
|
1815 |
} |
} |
1816 |
} |
} |
1817 |
|
|
1818 |
|
void DimensionRegion::serialize(Serialization::Archive* archive) { |
1819 |
|
SRLZ(VelocityUpperLimit); |
1820 |
|
SRLZ(EG1PreAttack); |
1821 |
|
SRLZ(EG1Attack); |
1822 |
|
SRLZ(EG1Decay1); |
1823 |
|
SRLZ(EG1Decay2); |
1824 |
|
SRLZ(EG1InfiniteSustain); |
1825 |
|
SRLZ(EG1Sustain); |
1826 |
|
SRLZ(EG1Release); |
1827 |
|
SRLZ(EG1Hold); |
1828 |
|
SRLZ(EG1Controller); |
1829 |
|
SRLZ(EG1ControllerInvert); |
1830 |
|
SRLZ(EG1ControllerAttackInfluence); |
1831 |
|
SRLZ(EG1ControllerDecayInfluence); |
1832 |
|
SRLZ(EG1ControllerReleaseInfluence); |
1833 |
|
SRLZ(LFO1Frequency); |
1834 |
|
SRLZ(LFO1InternalDepth); |
1835 |
|
SRLZ(LFO1ControlDepth); |
1836 |
|
SRLZ(LFO1Controller); |
1837 |
|
SRLZ(LFO1FlipPhase); |
1838 |
|
SRLZ(LFO1Sync); |
1839 |
|
SRLZ(EG2PreAttack); |
1840 |
|
SRLZ(EG2Attack); |
1841 |
|
SRLZ(EG2Decay1); |
1842 |
|
SRLZ(EG2Decay2); |
1843 |
|
SRLZ(EG2InfiniteSustain); |
1844 |
|
SRLZ(EG2Sustain); |
1845 |
|
SRLZ(EG2Release); |
1846 |
|
SRLZ(EG2Controller); |
1847 |
|
SRLZ(EG2ControllerInvert); |
1848 |
|
SRLZ(EG2ControllerAttackInfluence); |
1849 |
|
SRLZ(EG2ControllerDecayInfluence); |
1850 |
|
SRLZ(EG2ControllerReleaseInfluence); |
1851 |
|
SRLZ(LFO2Frequency); |
1852 |
|
SRLZ(LFO2InternalDepth); |
1853 |
|
SRLZ(LFO2ControlDepth); |
1854 |
|
SRLZ(LFO2Controller); |
1855 |
|
SRLZ(LFO2FlipPhase); |
1856 |
|
SRLZ(LFO2Sync); |
1857 |
|
SRLZ(EG3Attack); |
1858 |
|
SRLZ(EG3Depth); |
1859 |
|
SRLZ(LFO3Frequency); |
1860 |
|
SRLZ(LFO3InternalDepth); |
1861 |
|
SRLZ(LFO3ControlDepth); |
1862 |
|
SRLZ(LFO3Controller); |
1863 |
|
SRLZ(LFO3Sync); |
1864 |
|
SRLZ(VCFEnabled); |
1865 |
|
SRLZ(VCFType); |
1866 |
|
SRLZ(VCFCutoffController); |
1867 |
|
SRLZ(VCFCutoffControllerInvert); |
1868 |
|
SRLZ(VCFCutoff); |
1869 |
|
SRLZ(VCFVelocityCurve); |
1870 |
|
SRLZ(VCFVelocityScale); |
1871 |
|
SRLZ(VCFVelocityDynamicRange); |
1872 |
|
SRLZ(VCFResonance); |
1873 |
|
SRLZ(VCFResonanceDynamic); |
1874 |
|
SRLZ(VCFResonanceController); |
1875 |
|
SRLZ(VCFKeyboardTracking); |
1876 |
|
SRLZ(VCFKeyboardTrackingBreakpoint); |
1877 |
|
SRLZ(VelocityResponseCurve); |
1878 |
|
SRLZ(VelocityResponseDepth); |
1879 |
|
SRLZ(VelocityResponseCurveScaling); |
1880 |
|
SRLZ(ReleaseVelocityResponseCurve); |
1881 |
|
SRLZ(ReleaseVelocityResponseDepth); |
1882 |
|
SRLZ(ReleaseTriggerDecay); |
1883 |
|
SRLZ(Crossfade); |
1884 |
|
SRLZ(PitchTrack); |
1885 |
|
SRLZ(DimensionBypass); |
1886 |
|
SRLZ(Pan); |
1887 |
|
SRLZ(SelfMask); |
1888 |
|
SRLZ(AttenuationController); |
1889 |
|
SRLZ(InvertAttenuationController); |
1890 |
|
SRLZ(AttenuationControllerThreshold); |
1891 |
|
SRLZ(ChannelOffset); |
1892 |
|
SRLZ(SustainDefeat); |
1893 |
|
SRLZ(MSDecode); |
1894 |
|
//SRLZ(SampleStartOffset); |
1895 |
|
SRLZ(SampleAttenuation); |
1896 |
|
|
1897 |
|
// derived attributes from DLS::Sampler |
1898 |
|
SRLZ(FineTune); |
1899 |
|
SRLZ(Gain); |
1900 |
|
} |
1901 |
|
|
1902 |
/** |
/** |
1903 |
* Updates the respective member variable and updates @c SampleAttenuation |
* Updates the respective member variable and updates @c SampleAttenuation |
1904 |
* which depends on this value. |
* which depends on this value. |