Cabbage Logo
Back to Cabbage Site

CsoundUnity Package (UPM) development

:sweat_smile:
perfect!
Can you see if the editor logs are telling something useful?

I just pushed a TableRead example and made some changes to the table loading/reading methods. It should give you an idea of what I was talking about. I will update the UDO later to include all the things you get with any of the other table reading opcode. You should be able to drag mono or stereo files into the clip field in the TableRead example scene, and CsoundUnity should handle them both the same. We should probably update the sequencer scene to use this method too when we get a chance. For now, as a proof of concept it works.

Sorry I didn’t get to post the editor logs. It didn’t crash again!

Great!

BTW here

C:\Users\username\AppData\Local\Unity\Editor\ 

you should have also an Editor-prev.log

(You can get there with %AppData% from a window)

Sorry @rorywalsh, did you push the example? I can’t see it in the repo!

It should be in the Samples~ folder on the develop branch? If not I’ll push later…

I just pushed it through now. Sorry, I thought I had that done already…

[edit] something is funky with my local repo. I neglected to add -n -d to the CsOptions and it wrote a very large file to disk, which I somehow managed to add to my repo. Just trying to fix it now.

We should add -n -d to the params struct.

Yeah, my commit history is screwed. I have a large file floating around somewhere in the git-iverse. And I’m flying through commit space to find it. :roll_eyes:

Some commits ago I deleted a .DsStore… maybe?

No this one is more sinister…

Did you manage to restore your commit history?
I still don’t see the commit!
Btw no hurry, I’m busy for a couple of weeks!

It could take me that long to fix this thing :rofl: I’m not even sure a nuke and re-clone will work :roll_eyes:

Wow so it’s really serious!

Should be good now again :wink:

I think you were behind my state, there are some methods and lots of fixes missing!

Really? Oh crap. Can you merge with mine?

I recloned and did a pull from the develop branch, then added my source, which as you say may have been behind. Do you want to put yours, overwrite mine and I can merge my work. This will be less work for you?

I already pulled, we should revert to this commit https://github.com/rorywalsh/CsoundUnity/commit/666a312d58c253489466b952b50217d8273b8bdb, it works good I’m using it, then you can add from here your code?

Sure. If you checkout and push back to develop I’ll go from there.

I just reverted, check it out

1 Like

It looks like I lost those changes aynway. i still have the simple scene, but will need to redo the CsoundUnity.cs again in order to support it. No hassle. I’m actually about to start using the current version for a new project. Fingers crossed :crossed_fingers: