Esempio n. 1
0
    void setStateInformation (const void* data, int sizeInBytes) override
    {
        MemoryInputStream stream (data, static_cast<size_t> (sizeInBytes), false);

        threshold->setValueNotifyingHost (stream.readFloat());
        alpha->setValueNotifyingHost (stream.readFloat());
    }
Esempio n. 2
0
    void setStateInformation (const void* data, int sizeInBytes) override
    {
        MemoryInputStream stream (data, sizeInBytes, false);

        radius->setValueNotifyingHost (stream.readFloat());
        phi->setValueNotifyingHost (stream.readFloat());
    }
Esempio n. 3
0
    void setStateInformation (const void* data, int sizeInBytes) override
    {
        MemoryInputStream stream (data, static_cast<size_t> (sizeInBytes), false);

        isRecordingParam->setValueNotifyingHost (stream.readFloat());
        roomSizeParam->setValueNotifyingHost (stream.readFloat());

    }
Esempio n. 4
0
void MiditoOscAudioProcessor::setStateInformation (const void* data, int sizeInBytes)
{
    // You should use this method to restore your parameters from this memory block,
    // whose contents will have been created by the getStateInformation() call.
    MemoryInputStream stream (data, static_cast<size_t> (sizeInBytes), false);
    
    polyphony->setValueNotifyingHost (stream.readInt());
    glide->setValueNotifyingHost (stream.readFloat());
    mono->setValueNotifyingHost (stream.readBool());
    shift->setValueNotifyingHost (stream.readBool());
    scale->setValueNotifyingHost (stream.readInt());
}