Okay I've seen some threads on the forum about this topic. However still trying to make it work. Objective is to switch sample maps with preset browser. I have a starting point. However I'm stuck on the scripting part. Here is my starter.
Thanks in advance
Jason

So I compiled on Mac with no issues and was able to locate my vst and AU files. I also compiled on Windows with no issues according to Visual Studio. However on Windows where did the .vsti file go? I checked the compiled folder and I see a .dll file. What am I missing?

@d-healey This is the section that multiplies the * 12 from note 36 to = 48. It's in the onNoteOn section.
But what I mean by print is record a midi note on 48. It currently records note to 36. Which I know is obvious because I'm hitting the note 36 C1 on the keyboard. But I want is it to record note 48 C2.

Sorry David I thought I had it in code brackets
Broke it down.
All the code works and triggers the sound from the other note. However I can't get note 36 that I'm hitting on the keyboard to print note 48 when recording.

@d-healey Working on a similar situation. I'm currently hitting C1 and can get the sound from C2. However it doesn't trigger that output in Midi. Example when I compile and run my vst the C2 notes aren't getting recorded. Here is my snippet. ```
HiseSnippet 3766.3oc6c0zababFlqsYhWUqz3fTfhfVjoJoFRMtJ76kabS7Zs1xQNV1azp3lhhTapcmcWBykjgjqjUbEpaQRCZ6gzq9l+Izis2L5oVfbnWZOmdon.8Rt1SsyvOVNjKoVtTKcTRnBhr4vYd3y77Ny67xYFNtkkQGnssgEUkpauuIjpxYnauutyflCTT0o13xTUNK85auI3xViFZ6nXAjYnVaeSEaaXWpJUN4UwYqR0SQ49ymew0TzTz6.CShh5VFpcfWWcnpSXpsZ7VpZZqqzEts5PhbKzXiNF5MMzLFgnzIoYnLU5bWk9vanfy1Inop7TWoqpigUaGEGnMUkSslQ28aOvXOcu7eKUa0czf3KXoZi.xK40Mz5hYLNUplCT051JnpaSQU4zsBEhS5IDOO8lpcUGmdnf7rt2.DVBR8nxINL5wRROlrSuJDz6Tdz6rzs6XoZ5DdGL29Fzan6.s5ofLAjzxKuTm3uJP2z.kCcmUGpbW35VnKFWhkYYXXNOPjgYkKr3B3+6UeUPanCXCcaGj8GUJzkZvNNfaonMBt3BVv9fNirrP2w6FaYrG30ALWvuv+zq09l2.rohM5IbKCMDDu2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