Cabbage Logo
Back to Cabbage Site

csoundUnity noob questions

yes i saves in Music folder. Thanx for tips Giovanni! you make my day today)

1 Like

You should use Absolute as the path but I never tried it on Android. Does it work?

yes, and suffix is /storage/emulated/0/Music, working well

1 Like

Great! This is a very important discovery, thanks for this test!
Are we sure the path is the same for every Android device?

I`m pretty sure

1 Like

i was wondering, is there way to work with csoundUnity on linux. for now when i install it on linux Unity its not start

Thereā€™s no Linux support at the moment. If thereā€™s interest around that I could have a look. It shouldnā€™t be too hard! Itā€™s just a matter of importing the Csound libs for the Linux platform and add the right name in the Dll Imports in CsoundCsharp.cs.
I never tried Unity on Linux so there could be some surprises :wink:

would be nice to have it working, prefer do everything on linux. But not i have win11 dual boot just for csoundUnity)))

ok Iā€™ll see what I can do. I should have a hard disk with Ubuntu somewhere :wink:

tried update csoundUnity with you link but its not workingā€¦ maybe i can have files to do local update?

I just tried the link and it works :thinking:

https://github.com/rorywalsh/CsoundUnity.git#release_3_5_0

Thatā€™s what I do to test it:

  • Triple click on the link above will select it
  • Copy it on the clipboard
  • Open a Unity Project and open the Package Manager window (top menu under Window/PackageManager)
  • Press + and select ā€œAdd package from git urlā€
  • Paste the link above and click add

If you donā€™t have git then yes you can download the branch zip, unzip it and import it in your project. Be sure to remove other versions of CsoundUnity first to avoid bad replacements.

[Package Manager Window] Error adding package: https://github.com/rorywalsh/CsoundUnity.git#release_3_5_0.

Unable to add package [https://github.com/rorywalsh/CsoundUnity.git#release_3_5_0]:
No ā€˜gitā€™ executable was found. Please install Git on your system then restart Unity and Unity Hub
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

i though i install git

yes git is installedā€¦ donno then

C:\Users\koman>git clone https://github.com/rorywalsh/CsoundUnity.git#release_3_5_0
Cloning into ā€˜CsoundUnity.git#release_3_5_0ā€™ā€¦
fatal: unable to update url base from redirection:
asked for: https://github.com/rorywalsh/CsoundUnity.git#release_3_5_0/info/refs?service=git-upload-pack
redirect: https://github.com/rorywalsh/CsoundUnity

Uhm thatā€™s strange. Have you tried restarting Unity and the Unity Hub after installing git?
Be sure to add git to your path! Iā€™d also try a reboot.
You can also try modifying the manifest.json under the ā€œPackagesā€ folder:

mine looks like this (the first line is the one you need to add):

{
  "dependencies": {
    "com.csound.csoundunity": "https://github.com/rorywalsh/CsoundUnity.git#release_3_5_0",
    "com.unity.collab-proxy": "2.4.4",
    "com.unity.feature.development": "1.0.1",
    "com.unity.textmeshpro": "3.0.6",
    "com.unity.timeline": "1.7.6",
    "com.unity.ugui": "1.0.0",
    "com.unity.visualscripting": "1.9.4",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  }
}

Otherwise try this command inside a CsoundUnity folder (create it) inside the Packages folder:

git clone -b release_3_5_0 https://github.com/rorywalsh/CsoundUnity

EDIT: sorry you donā€™t need to create the folder as the clone will create it already :man_facepalming:

1 Like

installer, changing kr. lets see)

oh yes its much better now!

just found ableton link plugin for unity, will try to use to to sync my device over wifi