Search found 998 matches

by IXix
Mon Oct 18, 2021 10:04 pm
Forum: Devs
Topic: .NET framework version
Replies: 0
Views: 8

.NET framework version

The project for Snapshot is set to '.NET Framework 4 Client Profile' but there are various newer '.NET Framework' entries in the target framework dropdown, as well as plenty of older ones. Should I be targetting '.NET Framework 4.7.2', the newest in the list? What's the difference between the 'Clien...
by IXix
Mon Oct 18, 2021 9:59 pm
Forum: Users
Topic: IX Snapshot - Updated 18th Oct 2021
Replies: 5
Views: 87

Re: IX Snapshot

If you click machine name all goes well but expanding the tree view causes quite often infinite loop of dispatcher errors. Happened so far only with VSTs. Snapshot bug.png I'm not seeing this. Expanding/collapsing etc. works fine with no errors here. I haven't tested many VSTs but I wouldn't have t...
by IXix
Mon Oct 18, 2021 9:01 pm
Forum: Users
Topic: IX Snapshot - Updated 18th Oct 2021
Replies: 5
Views: 87

Re: IX Snapshot

i have observed the same thing happening in buzz for a few years now (not related to this machine)... Yeah, I have similar suspicions. The reverse engineering thing has annoyed me sooooooooo many times. I haven't got a clue how to reverse engineer a VST, I can barely forward engineer my own code! :...
by IXix
Mon Oct 18, 2021 6:28 pm
Forum: Users
Topic: IX Snapshot - Updated 18th Oct 2021
Replies: 5
Views: 87

Re: IX Snapshot

If you click machine name all goes well but expanding the tree view causes quite often infinite loop of dispatcher errors. Happened so far only with VSTs. Not sure I understand but I'll poke it and see what happens. It also seems that 1. adding machine A, 2. capturing machine A to 'slot 0', 3. dele...
by IXix
Sun Oct 17, 2021 7:31 pm
Forum: Users
Topic: IX Snapshot - Updated 18th Oct 2021
Replies: 5
Views: 87

IX Snapshot - Updated 18th Oct 2021

Reasonably functional, if a little rough around the edges... IX Snapshot - 2021.10.18 + Support delete/undelete of machines + Prevent crash when attempting to restore state for a deleted machine IX Snapshot - 2021.10.17 + Initial release A .NET rip-off of PeerState. It should be fairly obvious how i...
by IXix
Sat Oct 09, 2021 10:39 am
Forum: Devs
Topic: Thread sync: Managed equivalent to pCB->Lock() ?
Replies: 6
Views: 252

Re: Thread sync: Managed equivalent to pCB->Lock() ?

Hmmm, Application doesn't seem to have a 'Current' Ignore that idiot from last night, he doesn't know what he's doing. Must've been missing a reference in a particular file because I just found it while trying stuff elsewhere. Early signs are promising, I just restored a single global param on one ...
by IXix
Fri Oct 08, 2021 6:12 pm
Forum: Devs
Topic: Thread sync: Managed equivalent to pCB->Lock() ?
Replies: 6
Views: 252

Re: Thread sync: Managed equivalent to pCB->Lock() ?

This might help with the GUI thread thing: Application.Current.Dispatcher.BeginInvoke((Action)(() => { // Do stuff here })); Hmmm, Application doesn't seem to have a 'Current' (different .NET version?) I did find 'BuzzGUI.Common.DispatcherAction' which looks like it does something similar. Nothing ...
by IXix
Thu Oct 07, 2021 3:32 pm
Forum: Devs
Topic: Thread sync: Managed equivalent to pCB->Lock() ?
Replies: 6
Views: 252

Re: Thread sync: Managed equivalent to pCB->Lock() ?

... helpful stuff... Thanks! I'm out of my depth just finding my way around C#, .NET AND WPF. I spent ten minutes poking around BuzzGUI looking for how to implement Tick() until I realised my mistake. :oops: :lol: Can't wait to try your Snapshot machine to save different states of VSTs! It's amazin...
by IXix
Thu Oct 07, 2021 9:34 am
Forum: Devs
Topic: Thread sync: Managed equivalent to pCB->Lock() ?
Replies: 6
Views: 252

Thread sync: Managed equivalent to pCB->Lock() ?

I'm making a managed machine to store/restore machine states (param, attributes and data) like PeerState and it works but sometime it causes Buzz to hang. I guess I need to lock the audio thread while I shuffle state data around but how do I do that in C#? What is the C# equivalent of CMICallbacks::...
by IXix
Mon Oct 04, 2021 6:46 pm
Forum: Users
Topic: So far so good...
Replies: 5
Views: 222

Re: So far so good...

All in good time, still got a lot of basic functionality to sort out. Capture/restore works a treat though. :D
by IXix
Mon Oct 04, 2021 1:16 pm
Forum: Users
Topic: So far so good...
Replies: 5
Views: 222

So far so good...

:D :dance:

Image
by IXix
Fri Sep 10, 2021 3:42 pm
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

UNZ wrote:
Fri Sep 10, 2021 2:36 pm
btw i assume you inherited from class CMachineDataOutput and implemented Write(void *pbuf, int const numbytes) yeah? and making sure there's enough backing storage obviously.
Yup, I'm almost competent. :lol:
by IXix
Fri Sep 10, 2021 1:38 pm
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

UNZ wrote:
Fri Sep 10, 2021 12:55 pm
is this code up somewhere, i might be able to take a look. Pretty sure we can figure this out looking at buzé.
Sorry, missed that sentence! :lol: I'll make a simple test machine for this and put it on GitHub.
by IXix
Fri Sep 10, 2021 1:20 pm
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

this is probably due to packing or alignment... Thanks, good advice. I was locking but hadn't considered putting it on a different thread, that could well be the problem. Or it might just be that I suck at programming. Either way, I think I'll branch Magic for trying to hack this out and see about ...
by IXix
Fri Sep 10, 2021 11:30 am
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

Spent a while playing with this and basically just managed to crash Buzz a lot. :lol: I got access to the Save/Load methods in 32bit but my attempts to load data back into a machine have been rather unsuccessful so far and the interface pointers aren't working at all in 64bit. It would be awesome to...
by IXix
Thu Sep 09, 2021 7:04 pm
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

oskari wrote:
Thu Sep 09, 2021 4:12 pm
i have moved on to rust
I don't know much about rust. Are you using it for audio stuff?
by IXix
Thu Sep 09, 2021 6:54 pm
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

oskari wrote:
Thu Sep 09, 2021 4:12 pm
i have moved on to rust
Ha, are you referring to the language or is that some kind of metaphor? :D

I hope you're fit and well in these weird times. Buzz has been keeping me sane. :D
by IXix
Thu Sep 09, 2021 11:11 am
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

from the buzé source code (i think..) class CMachine { ... }; Thanks UNZ! I wondered about some kind of hack. I think the old peerlib did something similar in the old days before oskari came back to Buzz. I was hoping there might be a non-hack way but it's very quiet around here these days. :(
by IXix
Tue Sep 07, 2021 6:16 pm
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Re: Help! Store/restore whole machine state via CMachine pointer?

If I was in .NET I could use the preset system but I'm not. Could I get to that from my C++ machine somehow? I never managed to get my head around getting C++ and .NET to cooperate. :?:
by IXix
Tue Sep 07, 2021 11:09 am
Forum: Devs
Topic: Help! Store/restore whole machine state via CMachine pointer?
Replies: 14
Views: 621

Help! Store/restore whole machine state via CMachine pointer?

The peer code can capture machine states by taking a snapshot of the params and attributes but that doesn't work for VSTs. It can work to an extent if you've mapped all the VST controls to machine parameters but even then, many VSTs have extra state information that can't be stored by just looking a...