belangeo / soundgrain

Graphical interface to control granular sound synthesis.

Home Page:http://ajaxsoundstudio.com/software/soundgrain/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wdmks problem

rcrath opened this issue · comments

Looks like a problem with win 10 audio. I have a roland Octacapture soundcard, and use it under ASIO almost always. THis looks like it wants the wdm drivers, but I can no longer find them in the control panel.

>"C:\Program Files (x86)\SoundGrain\SoundGrain.exe"
pyo version 0.9.0 (uses single precision)
Assertion failed: FALSE, file src\hostapi\wdmks\pa_win_wdmks.c, line 1054

old problems for trying to fix it...leaving it in case anyone else gets these bright ideas.
I try launching with python 3.6, .7, and .7 and get the following error

C:\Users\rich>py -3.6 "C:\Program Files (x86)\SoundGrain\SoundGrain.exe"
  File "C:\Program Files (x86)\SoundGrain\SoundGrain.exe", line 1
SyntaxError: Non-UTF-8 code starting with '\x90' in file C:\Program Files (x86)\SoundGrain\SoundGrain.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Update: this is from trying to set the right python environment and is caused by trying to launch a no-python binary (SoundGrain.exe) because I thought my trouble was from having the wrong python environment. I put 3.6 as the valuse for env. var. PY_PYTHON py to fix that after some google-fu, then found I did not have the prerequisites. Had to specify which python to install those under:

>C:\Users\$USER\AppData\Local\Programs\Python\Python36\python.exe -m pip install Markdown 
and do the same for the other pre-reqs after installing python 3.6

Now I am getting an audio driver problem as described above.

@belangeo , just giving this a bump since I closed then reopened it.

Hi,

You can't run SoundGrain.exe, which is an executable, with python from the command line (or try to change python executable version)... Python is already embedded inside the executable.

You can try to run it from sources (change the version number for your version of python):

py -3.7 -m pip install pyo
py -3.7 -m pip install markdown
py -3.7 -m pip install wxPython==4.0.7
git clone https://github.com/belangeo/soundgrain.git
cd soundgrain
py -3.7 SoundGrain.py

Actually, I'd like to just be able to run it as a win exe. Version 5 did that fine. I probably should have reported it that way instead of messing with python. I am changing the subject line appropriately. I suspect the problem is from other

When I run "C:\Program Files (x86)\SoundGrain\SoundGrain.exe" I get Assertion failed: FALSE, file src\hostapi\wdmks\pa_win_wdmks.c, line 1054

I did try with no luck running the commands you gave me. 3.7 pip install had an ssl error and it seems 3.7 does not install with ssl. I tried with 3.6 and 3.8, and pip install ran fine, but SoundGrain.py did not.

I don't mind trying to debug via python, but I'm not very good with python on windows and would just like to run the windows installer version.

Maybe helpful: Error from following your instructions. My 3.7 does not have ssl, so I ran under 3.8 in all the places you had 3.7. Everything installed fine, but launch produced this error.

C:\Users\rich\Dropbox\audio\git\soundgrain>py -3.8 SoundGrain.py
Assertion failed!

Program: C:\Users\rich\AppData\Local\Programs\Python\Python38\python.exe
File: ../portaudio/src/hostapi/wdmks/pa_win_wdmks.c, Line 1081

Expression: FALSE

any feedback on this? Am I the only one having problems with the distributed 6.01? Am still getting the same error as in previous post when running from git after following your instructions.

I will investigate using vcpkg to install portaudio (pyo's audio backend) on Windows in the next few weeks. That should fix the ASIO problem, and maybe, WDM-KS too. Will come back to you when there is new stuff to try!