gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

patchmodifications.h (540B)


      1 #pragma once
      2 
      3 #include "tags.h"
      4 
      5 namespace juce
      6 {
      7 	class var;
      8 	class DynamicObject;
      9 }
     10 
     11 namespace pluginLib::patchDB
     12 {
     13 	struct PatchModifications
     14 	{
     15 		bool modifyTags(const TypedTags& _tags);
     16 		void updateCache();
     17 
     18 		juce::DynamicObject* serialize() const;
     19 		bool deserialize(const juce::var& _var);
     20 
     21 		bool empty() const;
     22 
     23 		void write(baseLib::BinaryStream& _outStream) const;
     24 		bool read(baseLib::BinaryStream& _binaryStream);
     25 
     26 		std::weak_ptr<Patch> patch;
     27 		TypedTags tags;
     28 		std::string name;
     29 
     30 		// cache
     31 		TypedTags mergedTags;
     32 	};
     33 }