Comments (28)
@JINODK Update to the newest copy in git... It looks like there's some discrepancy on 64-bit with the Windows sound system.
from colorchord.
Can you paste the entire output, earlier on of the application? It may be unable to find the other tools.
What is your build environment TCC or GCC (mingw)? Note that visual studio is not supported :-/.
from colorchord.
I also don't get it work on windows.
Built with TCC (compile.bat) on Windows 10 64bit surfacebook
The log is:
Output Drivers:
DisplayNetwork
DisplayArray
DisplayHIDAPI
DisplayOutDriver
DisplayPie
null
OutputCells
OutputLinear
OutputProminent
OutputVoronoi
Set: cpu_autolimit 1
Set: set_screenx 720
Set: set_screeny 480
Set: sample_channel -1
Loading: OutputVoronoi
Found: OutputVoronoi 000000000041002C
Loading: DisplayArray
Found: DisplayArray 0000000000405FD0
Initializing sound. Recommended driver: WIN
Buffer: 384
WFMT Size (debugging temp for TCC): 18
WFMT: 2 44100 88200
Wave Devs: 1; WAVE_MAPPER: -1; Selected Input: 1
waveInOpen: 0000000002873E18, 000000000014ED1A
WIO: 2
WIS: 5
24 5 55.000000 20.000000 2.000000
Set: cpu_autolimit 1
Set: title PA Test
Set: set_screenx 720
Set: set_screeny 480
Set: buffer 384
Set: play 0
Set: rec 1
Set: channels 2
Set: samplerate 44100
Set: wininput 1
Set: sample_channel -1
Set: sourcename default
Set: amplify 2.0
Set: base_hz 55
24 5 55.000000 20.000000 2.000000
Set: dft_iir 0.6
Set: dft_q 20.0000
Set: dft_speedup 1000.0000
Set: octaves 5
24 5 55.000000 20.000000 2.000000
Set: do_progressive_dft 4fa
Set: filter_iter 2
Set: filter_strength .5
Set: freqbins 24
24 5 55.000000 20.000000 2.000000
Set: note_attach_amp_iir 0.3500
Set: note_attach_amp_iir2 0.250
Set: note_attach_freq_iir 0.3000
Set: note_combine_distance 0.5000
Set: note_jumpability 1.8000
Set: note_minimum_new_distribution_value 0.0200
Set: note_out_chop 0.05000
Set: outdrivers OutputVoronoi, DisplayArray
Set: lightx 64
Set: lighty 32
Set: fromsides 1
Set: shape_cutoff 0.03
Set: satamp 5.000
Set: amppow 2.510
Set: distpow 1.500
Button: 691,95 (1) -> 1
Button: 691,95 (1) -> 0
from colorchord.
You likely need to change the wininput
. Try setting it to different values in default.conf. Try values from -1 to about 8.
from colorchord.
Thanks!
from colorchord.
Tried wininput=8 and wininput=1, both do not work.
Tried wininput=-1, works.
The default is wininput=1, does not work, recommend to update the default.conf.
To minimize the suffering of newbies trying to build the exe for windows, may I upload some generated ColorChord exe files?
from colorchord.
I'll make that change, and yes, you may. Please only upload one.
from colorchord.
Me too, changed the wininput value but still no luck, no mic detected
Log:
Output Drivers:
DisplayNetwork
DisplayArray
DisplayHIDAPI
DisplayOutDriver
DisplayPie
null
OutputCells
OutputLinear
OutputProminent
OutputVoronoi
Set: cpu_autolimit 1
Set: set_screenx 720
Set: set_screeny 480
Set: sample_channel -1
Loading: OutputVoronoi
Found: OutputVoronoi 0000000000410240
Loading: DisplayArray
Found: DisplayArray 0000000000405FD0
Initializing sound. Recommended driver: WIN
Buffer: 384
WFMT Size (debugging temp for TCC): 18
WFMT: 2 44100 88200
Wave Devs: 1; WAVE_MAPPER: -1; Selected Input: -1
waveInOpen: 0000000000A2EED8, 000000000014ED1A
Mic Open.
WIO: 0
WIS: 0
24 5 55.000000 20.000000 2.000000
Set: cpu_autolimit 1
Set: title PA Test
Set: set_screenx 720
Set: set_screeny 480
Set: buffer 384
Set: play 0
Set: rec 1
Set: channels 2
Set: samplerate 44100
Set: wininput -1
Set: sample_channel -1
Set: sourcename default
Set: amplify 2.0
Set: base_hz 55
24 5 55.000000 20.000000 2.000000
Set: dft_iir 0.6
Set: dft_q 20.0000
Set: dft_speedup 1000.0000
Set: octaves 5
24 5 55.000000 20.000000 2.000000
Set: do_progressive_dft 4
Set: filter_iter 2
Set: filter_strength .5
Set: freqbins 24
24 5 55.000000 20.000000 2.000000
Set: note_attach_amp_iir 0.3500
Set: note_attach_amp_iir2 0.250
Set: note_attach_freq_iir 0.3000
Set: note_combine_distance 0.5000
Set: note_jumpability 1.8000
Set: note_minimum_new_distribution_value 0.0200
Set: note_out_chop 0.05000
Set: outdrivers OutputVoronoi, DisplayArray
Set: lightx 64
Set: lighty 32
Set: fromsides 1
Set: shape_cutoff 0.03
Set: satamp 5.000
Set: amppow 2.510
Set: distpow 1.500
Maybe there any setting to make it work? Also the compile.bat don't work anymore.
from colorchord.
@JINODK I am able to reproduce the issue. Looking into it now.
from colorchord.
@JINODK I am able to reproduce the issue. Looking into it now. On initial investigation it looks like some sort of weird 64-bit 32-bit problem.
from colorchord.
The windows is just normal for me, until windows 10. When i use ubuntu, it just work fine.
Also i only use one microphone input, others are disabled.
from colorchord.
@JINODK Do you know which compiler exactly you are using? I can't seem to get this to work with the 64-bit compiler at all.
from colorchord.
I use tiny C compiler, that's the only thing i can see on your compile.bat
from colorchord.
Also i don't know why i'm not able to use the makefile with the mingw32-make command to create the program too, it seems like missing something
$ mingw32-make colorchord.exe
i686-w64-mingw32-gcc -g -DICACHE_FLASH_ATTR= -I../embeddedcommon -I. -O1 -o colorchord.exe os_generic.c main.c dft.c decompose.c filter.c color.c notefinder.c util.c outdrivers.c DrawFunctions.c parameters.c chash.c WinDriver.c sound.c sound_null.c sound_win.c OutputVoronoi.c OutputProminent.c DisplayArray.c OutputLinear.c DisplayPie.c DisplayNetwork.c hook.c RecorderPlugin.c ../embeddedcommon/DFT32.c OutputCells.c configs.c hidapi.c DisplayHIDAPI.c -lwinmm -lgdi32 -lws2_32 -lsetupapi
process_begin: CreateProcess(NULL, i686-w64-mingw32-gcc -g -DICACHE_FLASH_ATTR= -I../embeddedcommon -I. -O1 -o colorchord.exe os_generic.c main.c dft.c decompose.c filter.c color.c notefinder.c util.c outdrivers.c DrawFunctions.c parameters.c chash.c WinDriver.c sound.c sound_null.c sound_win.c OutputVoronoi.c OutputProminent.c DisplayArray.c OutputLinear.c DisplayPie.c DisplayNetwork.c hook.c RecorderPlugin.c ../embeddedcommon/DFT32.c OutputCells.c configs.c hidapi.c DisplayHIDAPI.c -lwinmm -lgdi32 -lws2_32 -lsetupapi, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:25: recipe for target 'colorchord.exe' failed
mingw32-make: *** [colorchord.exe] Error 2
from colorchord.
Woof... I was doing everything against tinyCC... But the principle still applies. Try adding on the -m32
flag.
from colorchord.
It worked! Thanks
from colorchord.
@JINODK Can you also compile it too? Are you compiling for 32- or 64- bit?
from colorchord.
ok, mine is 64 bit, may i leave the exe in your colorchord 2 so other people can do it easily ?
from colorchord.
Bad new: the compile.bat don't want to work anymore
from colorchord.
Yes.
Can you please give your exact compilation lines here?
from colorchord.
(as I was unable to get 64-bit working at all)
from colorchord.
Ok i can run it now
i think maybe add the "pause" in the compile.bat so it make people who haven't install tcc yet can read the cmd properly, because it just like a cmd window just flash through when it can't find the tcc.
from colorchord.
So you are compiling with 64-bit TCC?!?
from colorchord.
Yeah
from colorchord.
@JINODK Can you give me your exact compilation lines?
Are you on the current master branch??
My 64-bit has this mystery failure where the MMSystem callback is never being called.
from colorchord.
from colorchord.
This is all file i have downloaded to make colorchord
https://drive.google.com/open?id=1xvSa6NEZ8QXzNIkcMzAy6tBf62wQVKBw
and i use the compile.bat, the mingw32-make don't work for me
from colorchord.
Mingw32 make I believe only works in Linux.
from colorchord.
Related Issues (20)
- Attempting to port to Arduino-ESP32 - how to pass audio data and output with FastLED HOT 6
- Memory leak on Win10? HOT 4
- Deal with sound popping/winmm issues.
- I'm Noob need help HOT 6
- Spelling Error in Config Option HOT 1
- Question: New version does not work in Wallpaper engine HOT 2
- Application doesn't run in headless mode HOT 4
- First LED in the led strip doesn't get recognize at all HOT 3
- how to write a new display output driver? HOT 1
- OpenRGB and/or E1.31 output support? HOT 6
- Voronoi Bugs HOT 1
- CFNA Drivers Not Found HOT 1
- The "off" state of the LEDs are red using OutputLinear via wled udp HOT 9
- Issue locationg USB Port for Embedded esp8266 HOT 12
- Missing image.elf and image.elf-0x10000.bin HOT 10
- Default configuration doesn't work on Windows out of the box HOT 1
- Question: cpu_autolimit and interval not working on some displays HOT 1
- Question building for / flashing ESP8266 HOT 18
- Linear Output with is_loop has Poor Performance
- Base frequency recalculation doesn't reflect custom base_hz value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colorchord.