BelaPlatform / supercollider

an environment and programming language for real time audio synthesis and algorithmic composition
GNU General Public License v3.0
14 stars 8 forks source link

numAnalogInputChannels cannot be zero #22

Closed sensestage closed 7 years ago

sensestage commented 7 years ago

scsynth -u 57110 -z 16

sensestage commented 7 years ago

From this discussion: http://forum.bela.io/d/53-supercollider-on-bela/3

sensestage commented 7 years ago

Ok, the error actually happens in Bela/core/RTAudio.cpp around line 180; it should allow for numAnalogInputChannels = 0 if useAnalog = 0;

giuliomoro commented 7 years ago

We currently do this by disabling analog, it is

settings->useAnalog

or, from Bela command line:

   --use-analog [-N] val:              Set whether to use ADC/DAC analog (default: 1)
sensestage commented 7 years ago

Fixed with 2138d774ede9d40a507707d1f150b4cdbd4b922c