Closed eleminer closed 3 years ago
I find this in a closed issue:
"And finally: yes, even a single core system runs SOPARE. But not very well if you use it for production and under load. This is why the requirements exist."
So i hope you can Help me.:)
The zero has two cores and the quotation "even on a one core" misses the word powerful...
Please post the complete error message with row numbers and all the other useful information. I can only guess that the error message is ALSA related but without proof (my crystal ball is currently out of order) it remains a wild guess and I can't even give a minor useful hint...
pi@raspberrypi:~/dev/sopare $ ./sopare.py -v -t test sopare 1.5.5 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround40.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround71.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock INFO:sopare.analyze:checking for plugins... DEBUG:sopare.analyze:loading and initialzing plugins/print DEBUG:sopare.audio_factory:#### Default input device info ##### DEBUG:sopare.audio_factory:defaultSampleRate: 44100.0 DEBUG:sopare.audio_factory:defaultLowOutputLatency: 0.0087074829932 DEBUG:sopare.audio_factory:defaultLowInputLatency: 0.00868480725624 DEBUG:sopare.audio_factory:maxInputChannels: 1 INFO:sopare.worker:worker queue runner started DEBUG:sopare.audio_factory:structVersion: 2 DEBUG:sopare.audio_factory:hostApi: 0 DEBUG:sopare.audio_factory:index: 2 DEBUG:sopare.audio_factory:defaultHighOutputLatency: 0.0348299319728 DEBUG:sopare.audio_factory:maxOutputChannels: 2 DEBUG:sopare.audio_factory:name: Logitech USB Headset: Audio (hw:1,0) DEBUG:sopare.audio_factory:defaultHighInputLatency: 0.0348299319728 INFO:sopare.buffering:buffering queue runner DEBUG:sopare.recorder:SAMPLE_RATE: 48000 DEBUG:sopare.recorder:CHUNK: 512 INFO:sopare.recorder:start endless recording INFO:sopare.processing:starting append mode DEBUG:sopare.filter:New window! DEBUG:sopare.worker:characteristic = 0 {'volume': 2358, 'peaks': [0, 1, 2, 3, 4, 5, 6, 10], 'df': 28, 'dfm': 1297987, 'fc': 192.2, 'zcr': 0, 'norm': [0.157440243008035, 0.1693179179794594, 0.15580132659790216, 0.1388955397748817, 0.13725067082627312, 0.1356495474112816, 0.1344467533757155, 0.121502407565129, 0.11752294659773699, 0.12718490739923763, 0.13609814801505213, 0.1288276565678792, 0.12621049173854496, 0.11499822833653828, 0.09530015121534138, 0.07986714095214587, 0.08711938618251958, 0.08915267680486565, 0.08110770909368462, 0.08614537513457075, 0.08080032558485443, 0.09264281622532781, 0.08623529712564511, 0.09165656345561836, 0.10990360090627907, 0.10841141398435648, 0.11339710328325193, 0.10183029637788395, 0.07457043920845981, 0.0723367571286746, 0.0924549343779601, 0.08914447780599541, 0.09295802224331944, 0.08885273083592932, 0.0996547649005337, 0.10636936290422298, 0.10220701009413603, 0.10898955768923552, 0.11332665634939747, 0.10559231281278647, 0.1026301638306396, 0.0849894508451887, 0.07942065910234888, 0.07273490508586358, 0.08128374220655743, 0.08699549843661293, 0.08763257283569512, 0.09242502422857739, 0.08732228017871708, 0.10158463824974602, 0.10439488070308994, 0.09312492742195731, 0.09651416415481634, 0.08220529724660147, 0.09878173548913528, 0.0852170789943789, 0.09016255270746282, 0.07023180249740153, 0.0728041813241178, 0.0836505556603477, 0.07947705467987354, 0.08607348879983054, 0.07116385793626762, 0.06971329451738524, 0.07359089962880448, 0.0773432948466232, 0.07138489920145892, 0.0733559440827529, 0.07435665980221323, 0.0614292571640472, 0.07030235386786024, 0.07666147551600576, 0.06982616663070197, 0.07588063541295213, 0.08138656565009832, 0.07476809732796477, 0.07639431842067573, 0.07606001022396654, 0.06634335295021869, 0.06857920662095196, 0.0779075780766514, 0.07902298191727393, 0.08518256570183579, 0.08380235079557434, 0.0838318054133267, 0.06692588225921348, 0.07959403292084513, 0.08685773399481704, 0.06823543507616346, 0.06632553038505327, 0.08451970940103846, 0.09045174535701435, 0.08541023556827596, 0.09522581621682208, 0.08752904265996063, 0.0938252023682221, 0.07768003187399662, 0.08281989334284641, 0.07654176931093541, 0.08366481267167754, 0.0843677682563362, 0.07569717258275058, 0.06952115266751958, 0.08517438778139082, 0.07580305103120596, 0.08576673018715573, 0.09837487245699045, 0.08304675867692385, 0.08057174648920297, 0.07620897237226253, 0.07114277728829717, 0.07716138808339543, 0.0771284884431497, 0.07867122870499035, 0.0810212186430448, 0.08797422577596785], 'token_peaks': [140502, 128582, 802556, 1010788, 1228605, 959014]} DEBUG:sopare.worker:meta = [{'adapting': 959014, 'token_peaks': [140502, 128582, 802556, 1010788, 1228605, 959014], 'pos': 6, 'volume': 2358, 'token': 'token', 'silence': 0}] DEBUG:sopare.worker:characteristic = 1 {'volume': 2160, 'peaks': [0, 1, 2, 3, 4, 5, 6, 8, 9, 10], 'df': 28, 'dfm': 2106270, 'fc': 172.3, 'zcr': 0, 'norm': [0.1547963411364817, 0.17256144146185692, 0.16877809569853605, 0.15323548918099558, 0.1523168306557184, 0.1430613683394814, 0.14642615573290205, 0.1271606886622528, 0.13958299537824131, 0.14877030700372346, 0.136327254175024, 0.11999365468907716, 0.11715495848412426, 0.10587112872717472, 0.08773290008570894, 0.08954039885930003, 0.08833961730462685, 0.08840045897060507, 0.08241407609487486, 0.09446208416860914, 0.08562277010626236, 0.0877902503927554, 0.09426872716317874, 0.104008064898355, 0.11378141953414347, 0.11846873338131969, 0.12211120244088391, 0.10283709020678777, 0.08007433962852283, 0.08557573899543426, 0.09392427143950308, 0.09042857367557716, 0.10602488510793297, 0.1109387332512807, 0.11860674713252746, 0.1213443938428143, 0.12409302194743839, 0.12202912018228836, 0.10119833803464325, 0.10583156134153164, 0.10306444138670336, 0.07810191230751956, 0.07565404704754708, 0.06657065979457201, 0.07370691648056603, 0.059819778054127186, 0.06981477949479713, 0.062478483124656765, 0.07794316553629209, 0.08008606158828172, 0.08697753622304658, 0.09587302320606177, 0.09488617493351079, 0.10282778100616938, 0.09407131160924895, 0.08301359186427061, 0.07801859110374598, 0.09763355464205549, 0.08891196180111158, 0.07328759119298002, 0.08328219537151509, 0.07430365426703295, 0.061671937993269005, 0.07105538710215796, 0.07067727744987383, 0.07068984034627904, 0.06782077370867531, 0.050193483391817506, 0.05942596669012733, 0.06562500987537867, 0.06635250462904092, 0.07959237484612876, 0.073985601691788, 0.07319499241324785, 0.08430667842308476, 0.08446871862260504, 0.08608379289513646, 0.07883669473224793, 0.07175691788546652, 0.0713514836667764, 0.07742002757007314, 0.08086356981968251, 0.07521500246218633, 0.07055600458822875, 0.06290715732615912, 0.07280129124147716, 0.06332099072143363, 0.07730109900192854, 0.05609100973633038, 0.06552703635203921, 0.07017838763443249, 0.06174671112530907, 0.06932387126790998, 0.08183113259014285, 0.07601850340965328, 0.07912147758083429, 0.06917173160106871, 0.0700353597927013, 0.08568065619753493, 0.07156910646316099, 0.07357556575223093, 0.0657700279966944, 0.06352952245800456, 0.08498274821335243, 0.07730445496791738, 0.08024678018794228, 0.08639452646845645, 0.07662412858542504, 0.07071282497689854, 0.07714278758951304, 0.08056842531449059, 0.08243007784952062, 0.06991517141198456, 0.0829151406640329, 0.08120406457206993, 0.08204633650507549], 'token_peaks': [1476354, 1028828, 1018901, 1144961, 668699, 903063]} DEBUG:sopare.worker:meta = [{'adapting': 903063, 'token_peaks': [1476354, 1028828, 1018901, 1144961, 668699, 903063], 'pos': 12, 'volume': 2160, 'token': 'token', 'silence': 0}] DEBUG:sopare.worker:characteristic = 2 {'volume': 2678, 'peaks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 'df': 28, 'dfm': 2159607, 'fc': 184.9, 'zcr': 0, 'norm': [0.16155299552230237, 0.1831803885036957, 0.17153399057542557, 0.15041807472017554, 0.15617042927510422, 0.15002465165407786, 0.1519511555875384, 0.14997418171145013, 0.14627046934938884, 0.14653583060114392, 0.13117024896259857, 0.10838785876990391, 0.10648258511491032, 0.09841041789688391, 0.09840607479942942, 0.10047810902390855, 0.09651497109365462, 0.09200870230376958, 0.09180244859239503, 0.09375021240268475, 0.09744730234999245, 0.09823288510476447, 0.09316534789534882, 0.09302318936409744, 0.1062479345044366, 0.1239619805571046, 0.11589868719800811, 0.09483781286081691, 0.08619463895500985, 0.09261300865164719, 0.09018226979505961, 0.0965823605771334, 0.09898038963031568, 0.10212268544509154, 0.1044860861226135, 0.10091351088957903, 0.10273006389362703, 0.10445431072165584, 0.10031295243775815, 0.0861124514675466, 0.09351899404349893, 0.08086307713563129, 0.07708255149158044, 0.08002097545403536, 0.080117425125056, 0.07952732425178419, 0.0767976513364126, 0.07939037375613098, 0.07756020685559034, 0.08018541148099557, 0.08242487843394514, 0.08840803903014932, 0.09155201632039271, 0.09339060824256333, 0.08496139539632211, 0.08658413653120557, 0.08383745004133246, 0.08111073370998625, 0.08378368844000789, 0.07295964833715163, 0.07895836747443456, 0.07397240791272491, 0.06934283769634189, 0.06835954053885135, 0.07241581747993449, 0.07540394331384176, 0.07881820719831777, 0.07363795004539155, 0.06347248546713904, 0.07918505370567026, 0.07392889520995645, 0.07054934624083817, 0.07159285724984138, 0.07062921904156684, 0.08504894576849983, 0.07584855050681102, 0.08485310437842836, 0.0760637073311617, 0.08078814713955698, 0.07932147959092525, 0.07484684237314662, 0.07812568325738446, 0.07658981671349202, 0.07244014152725745, 0.0750794610310381, 0.07602048621046441, 0.05944744844930095, 0.07349156060662902, 0.06809648060230132, 0.07042717897518408, 0.07243195748902742, 0.07387787874409658, 0.07414452989054672, 0.07375083351394837, 0.0677262634739181, 0.07611094534493035, 0.07183440352441349, 0.06859489894916124, 0.06966113818879141, 0.06924716900617006, 0.07549121687472951, 0.07140298953970983, 0.07268425990084701, 0.07216213111696579, 0.0731932023934303, 0.08848735228682089, 0.08911633879811444, 0.08987351495106977, 0.08186944741171336, 0.08296765448332913, 0.07130910183606268, 0.07329870315604382, 0.067444816143339, 0.07183442038362177, 0.07237493981462378, 0.06569118485511326], 'token_peaks': [668869, 534794, 826734, 692311, 688855, 1060989]} DEBUG:sopare.worker:meta = [{'adapting': 1060989, 'token_peaks': [668869, 534794, 826734, 692311, 688855, 1060989], 'pos': 18, 'volume': 2678, 'token': 'token', 'silence': 0}] DEBUG:sopare.worker:characteristic = 3 {'volume': 702, 'peaks': [0, 1, 2], 'df': 25, 'dfm': 1174055, 'fc': 297.8, 'zcr': 0, 'norm': [0.13955945029287395, 0.14289051168135655, 0.13792255585146798, 0.12768662398603406, 0.1271569938871579, 0.11154139912018868, 0.12116623277533105, 0.10995625767140567, 0.1177866228481704, 0.13093143967267787, 0.1061128182051909, 0.09260706608071372, 0.09321015973557092, 0.09104742811675959, 0.08738405670962547, 0.08152055599506114, 0.08301723338801366, 0.07529768740893596, 0.08712073590115785, 0.08228089303234154, 0.08314037483043642, 0.08674932997391063, 0.08352133084224223, 0.07992387865347121, 0.09377854114844576, 0.09603473581181779, 0.099133856235045, 0.08395295488046237, 0.07805239277322383, 0.07667820971900306, 0.06989670392295946, 0.08237070116612775, 0.07745415543884471, 0.07945416777382845, 0.08784143590573133, 0.08838361851907484, 0.08622741326271262, 0.0842119428254572, 0.08365494627380313, 0.08332722385150042, 0.0961820864654112, 0.09180453698771977, 0.10194345384935873, 0.10291055549999782, 0.09711976055450132, 0.1049212055409536, 0.08882800674732082, 0.1045130413338052, 0.11074537007840539, 0.10754096971709551, 0.11242475556203921, 0.10877729379682255, 0.09528579404660951, 0.10711764900010232, 0.09902366081903485, 0.08631156919367157, 0.09445120520400928, 0.08194652488765872, 0.08656256170358505, 0.08979365899474415, 0.08246024803997616, 0.08288024725598597, 0.09059855884844356, 0.08585716283880264, 0.08457653715174822, 0.09225628055022334, 0.08081495817532162, 0.08408518006651232, 0.08636497255746324, 0.07352133944061318, 0.09001913257906692, 0.08812127339531124, 0.09677289008691344, 0.07325702053107726, 0.08802108307606488, 0.0816837301906978, 0.0901281389927775, 0.08124342338403906, 0.08236185071309499, 0.08343155353012607, 0.07944307253061894, 0.09154366023584783, 0.08972194627361704, 0.07610550359908953, 0.08153841143703848, 0.08082776990464689, 0.07835639501961315, 0.07903663500058672, 0.08008746511825209, 0.0842298044496019, 0.08343538175320148, 0.08123501827797953, 0.09293775329538938, 0.08398708118659536, 0.09331458069208394, 0.09595333732659092, 0.08590521723728878, 0.08281593240504698, 0.079490385645015, 0.08623258537391587, 0.07935733130653062, 0.07145620037486305, 0.09369848405152782, 0.07883069446682348, 0.08338533653869716, 0.10032763836820285, 0.09669757792176628, 0.09411779105781412, 0.08189312905742659, 0.10236585025772653, 0.09004933297135184, 0.1030677672458287, 0.0965069685349708, 0.09765727778969803, 0.09198478862226175, 0.10004883756978789], 'token_peaks': [550541, 727606, 559563, 299929, 318495, 292932]} DEBUG:sopare.worker:meta = [{'adapting': 292932, 'token_peaks': [550541, 727606, 559563, 299929, 318495, 292932], 'pos': 24, 'volume': 702, 'token': 'token', 'silence': 0}] DEBUG:sopare.worker:characteristic = 4 {'volume': 373, 'peaks': [], 'df': 25, 'dfm': 290191, 'fc': 462.2, 'zcr': 0, 'norm': [0.1081801816540478, 0.12333704209902663, 0.11694285882230836, 0.10874036152092048, 0.1068661316293252, 0.10129909751918356, 0.10240173397310208, 0.09557369440245, 0.1023149298274453, 0.09804150555314949, 0.08387698473401414, 0.0828007387765826, 0.08444668657944479, 0.08127133605044297, 0.07610666333097299, 0.07255250053082103, 0.06890307727781708, 0.07760532055039618, 0.08432699926280932, 0.075898260834673, 0.07570702345369434, 0.08305830636878182, 0.08281263766516174, 0.07262080499947139, 0.07986331145261796, 0.08188054466343174, 0.08708887669985108, 0.07384064953790556, 0.0683449530969991, 0.07415447322096233, 0.07374036604937187, 0.07701896101036591, 0.08160117839941632, 0.08259291148533195, 0.08830269470795855, 0.08489741915297937, 0.09401659144313633, 0.09533746665336193, 0.09206930930605225, 0.09826096039791728, 0.09267369411872038, 0.10386977131713523, 0.09711353099178881, 0.1000056085836681, 0.10498309766065139, 0.10169139860051268, 0.08868565777648159, 0.10075916276323854, 0.09616343782800253, 0.11372570256084215, 0.11981659967739793, 0.10526020442090435, 0.11409129788209194, 0.10071446971234031, 0.10686677073215835, 0.09612078885807569, 0.09477365060312413, 0.09249175397097091, 0.103805377376686, 0.09666196181561729, 0.08705361477412185, 0.09333766413457235, 0.0869549226566655, 0.10145871591697575, 0.09445444534438546, 0.09410230654500239, 0.08740376358266351, 0.08256573352640272, 0.07517600899200405, 0.08981523041875575, 0.09417543439677682, 0.09406733850826585, 0.10004080063310859, 0.09316094119127993, 0.08910541670439148, 0.09680506662324226, 0.08999977983938143, 0.0958855665969819, 0.07717020104465795, 0.09820596654088608, 0.09511624011093697, 0.09520011055193904, 0.08718234408473913, 0.08238192685099079, 0.08647809497334571, 0.09105572277255883, 0.07610552537065957, 0.09120079387221645, 0.08242094324147578, 0.09909397407813017, 0.09329309075013008, 0.10097373167708112, 0.09724982671669077, 0.0987073261100596, 0.09912807289636527, 0.0882611338073827, 0.08615021096085411, 0.09340284555845024, 0.09540689806489919, 0.09480520258210948, 0.09975114846040173, 0.08403928381253144, 0.0898811872001061, 0.0969537374133809, 0.09565734015793327, 0.08377737359320035, 0.08288985296169972, 0.09056235921508307, 0.08401872234697408, 0.10271645379478929, 0.08913028372383716, 0.10136767971578967, 0.09866725869366916, 0.10395298017305937, 0.1056553144304894, 0.10350046510302313], 'token_peaks': [199734, 275306, 219300, 174105, 138932, 158401]} DEBUG:sopare.worker:meta = [{'adapting': 158401, 'token_peaks': [199734, 275306, 219300, 174105, 138932, 158401], 'pos': 30, 'volume': 373, 'token': 'token', 'silence': 2}] DEBUG:sopare.worker:characteristic = 5 {'volume': 93, 'peaks': [], 'df': 25, 'dfm': 130625, 'fc': 322.9, 'zcr': 0, 'norm': [0.1081911005984206, 0.12293287977651277, 0.1140623542687538, 0.11242977423473043, 0.11727893810426807, 0.1027554475404848, 0.11072079477749167, 0.0967960016761144, 0.1098573460790808, 0.10059113123217184, 0.09883379137994626, 0.089507838272165, 0.09012120962537246, 0.09436863560238531, 0.08227550991510772, 0.08956875181199625, 0.07758983627404342, 0.08586077785220034, 0.08433532527987543, 0.08663308629533985, 0.08247987512001857, 0.09217568305190177, 0.08364910693729762, 0.08360612280311283, 0.09075016225330168, 0.07873684664041869, 0.08673668194861246, 0.08799079674384751, 0.08006957725617825, 0.08529217385992642, 0.08352157240531718, 0.08155332606346909, 0.08570968929905232, 0.09076714892824311, 0.08755919907119014, 0.0815607441598089, 0.08471271965908651, 0.08514314178543218, 0.09077498221157784, 0.08570518579221409, 0.09344858135510684, 0.09244486843536455, 0.09951293376432836, 0.11177882341370352, 0.11209264204162442, 0.11371892959240806, 0.10568292616193076, 0.09934630395037689, 0.10609905359164425, 0.0936938164397621, 0.11086092806846791, 0.1158739808040503, 0.11127681857466679, 0.11351744925355146, 0.09134505606208929, 0.09401792275116107, 0.09577358714134679, 0.09803431491864711, 0.07957807370790164, 0.09369309024289618, 0.0942371831059123, 0.0824979679981443, 0.08944117307936979, 0.08758144581173456, 0.0827357139206698, 0.09469531673125467, 0.08743646517499463, 0.0810043064672635, 0.08025975781091196, 0.0796581603671374, 0.08056422333811834, 0.0955077800390775, 0.07030313568009873, 0.09732476253260929, 0.09658332771451, 0.08835462419512559, 0.08665433862127275, 0.08495485161608972, 0.072224907572728, 0.09089927446792315, 0.09192449778873317, 0.08712287943416401, 0.07957161578150032, 0.08693549479710856, 0.07078230463940627, 0.09185293763989995, 0.07861761415092317, 0.09114871990573359, 0.08876790908134341, 0.08932610072573005, 0.08940978186507599, 0.09834081907827077, 0.09841386401954808, 0.1009102877327513, 0.0996794897603589, 0.10099526616433527, 0.09997708834226816, 0.09443337055104312, 0.09938968195165448, 0.08550267530063818, 0.09073052247120304, 0.08629920595991367, 0.08737948461337507, 0.08373315380308806, 0.08801743116736817, 0.08182278002742407, 0.09630194822830976, 0.09644121789038518, 0.08779677695142885, 0.09723337628787626, 0.10369840869519563, 0.08862216782896665, 0.07921255950552307, 0.09232735417249237, 0.08886857213144088, 0.09183270504953023], 'token_peaks': [95597, 89639, 73275, 61248, 44624, 38302]} DEBUG:sopare.worker:meta = [{'adapting': 38302, 'token_peaks': [95597, 89639, 73275, 61248, 44624, 38302], 'pos': 36, 'volume': 93, 'token': 'token', 'silence': 8}] DEBUG:sopare.worker:characteristic = 6 {'volume': 67, 'peaks': [], 'df': 41, 'dfm': 34774, 'fc': 285.2, 'zcr': 0, 'norm': [0.11986359580640626, 0.12168389480023727, 0.10427401469998912, 0.09864486615489247, 0.12191030588697828, 0.12536795441821633, 0.11975867154300118, 0.10232083729581881, 0.12081054293585403, 0.1168058367970975, 0.10275959614503351, 0.10987737165596125, 0.11244846695588806, 0.10719274355125437, 0.0929362864968568, 0.09484744786815169, 0.08229503067965496, 0.0875629110519052, 0.10193062134845819, 0.101772678665521, 0.08812545899470045, 0.09680529845519158, 0.08845972187927814, 0.09977049306251728, 0.09635019658817091, 0.08626557392457584, 0.10035837442430488, 0.08669456851246002, 0.09997275792692945, 0.08145362409721246, 0.09678087452990275, 0.10135864636322903, 0.0964674987899102, 0.09066818132088404, 0.08890035324988628, 0.0799967121242951, 0.0922624486611712, 0.08269378072219509, 0.09093390164491486, 0.08311092726621983, 0.08128591176900068, 0.08175955820981728, 0.09442241390300957, 0.09427278431722907, 0.10156185466770185, 0.09917803806851937, 0.10837873386367157, 0.08535065697930573, 0.08814250671303737, 0.08590543094627402, 0.09375586574280644, 0.09945216098247044, 0.0770674715771848, 0.0912308374607617, 0.08657308262118847, 0.09602411199268768, 0.09111885078132756, 0.08212494789217732, 0.08431981061680736, 0.08812707237193934, 0.08606122634841638, 0.0801300675740892, 0.09482104805192544, 0.0788933496588878, 0.0794300178897969, 0.08257073739069404, 0.09609580139252105, 0.09381399018423339, 0.09653819921911058, 0.09117842768246903, 0.08748262715158336, 0.08897069481940419, 0.0923833690006081, 0.08040982235067416, 0.08234854840268897, 0.08123923197829293, 0.0789800545249134, 0.08613850264633292, 0.09599342281096945, 0.08530946594344983, 0.09028070036689362, 0.09447392027582115, 0.09004065590559582, 0.0830162778403419, 0.08571767717506408, 0.08572758811172498, 0.09119249356767543, 0.08485055041316233, 0.09099582573652845, 0.09546281222487826, 0.09181462204168772, 0.08811273491946699, 0.08705868898475444, 0.0900212057947022, 0.08004878111261937, 0.09344764890407721, 0.08016421818451219, 0.09135461124593469, 0.08983137558435955, 0.0837646293871121, 0.08791619498560783, 0.09418821389433707, 0.08573265785633788, 0.09367523565374598, 0.08143954006875188, 0.09452267709567247, 0.07725310274295528, 0.0835563658133849, 0.07849013999604099, 0.08860092990912001, 0.09250093178822355, 0.09507988915690237, 0.0945153567512419, 0.09220426388031533, 0.0892780591495765, 0.08597033935597087], 'token_peaks': [32689, 29456, 25402, 26914, 37641, 26993]} DEBUG:sopare.worker:meta = [{'adapting': 26993, 'token_peaks': [32689, 29456, 25402, 26914, 37641, 26993], 'pos': 42, 'volume': 67, 'token': 'token', 'silence': 14}] DEBUG:sopare.worker:characteristic = 7 {'volume': 63, 'peaks': [], 'df': 38, 'dfm': 27281, 'fc': 304.9, 'zcr': 140, 'norm': [0.12201323977394488, 0.12118801786957999, 0.1133289333370179, 0.11577209309224677, 0.12490691161105616, 0.11373828805849598, 0.1075125592170273, 0.11195419083636349, 0.11618771769287427, 0.10564575388721707, 0.10089376434868533, 0.11052688878808484, 0.09493071223079459, 0.09247732866355322, 0.10215656956531874, 0.0877154829147303, 0.08079071137975469, 0.08633806211099411, 0.08719045651243044, 0.08783353513485999, 0.08429932526737195, 0.09559105516183235, 0.09499709302762663, 0.10404056858298284, 0.10680517432940696, 0.08984237486200466, 0.09417026951965693, 0.0830954668973655, 0.08579459362121489, 0.09028737074235478, 0.10411905988757071, 0.09504556812960359, 0.09239078993676114, 0.09801891596686746, 0.08480119575951173, 0.08994893498627858, 0.0965837110972143, 0.08952716091750526, 0.08674085963476567, 0.08305368424342557, 0.08506748691710478, 0.08852878129578681, 0.07395784217312733, 0.08653776437691683, 0.08558814071607146, 0.08538625366695132, 0.09331520270026743, 0.08989708327450831, 0.07815653588936229, 0.08641778882572858, 0.09527119005991967, 0.08794894166204924, 0.09544048935093233, 0.08819303770068654, 0.08705703417322237, 0.08739366558974906, 0.08056907511387142, 0.09180994336078056, 0.07772094419359003, 0.08041408930039733, 0.08593682580842928, 0.08820299070062003, 0.08986256229626448, 0.08590966323094396, 0.08870433774967325, 0.06491739217341712, 0.09668368931532646, 0.09285719469285214, 0.08684283178380303, 0.09001968345432253, 0.07058074251686071, 0.09129689360451246, 0.08060033754399958, 0.08364904782204821, 0.09188987794670928, 0.08171191721830426, 0.08659306174448134, 0.08991289308701328, 0.07615761670213662, 0.08757284201875344, 0.08623792343524256, 0.08894407642319735, 0.09190614520242553, 0.09934131827584873, 0.08841991711016643, 0.09081333321057328, 0.0906538981804579, 0.1017376206910382, 0.10067104457346905, 0.09402402285460074, 0.08850612957007645, 0.08897421978670236, 0.09537949839914836, 0.09994784015445787, 0.09618651645036569, 0.09583678150588384, 0.0851413124703873, 0.09468900846258287, 0.10192416723863755, 0.08154391572707258, 0.0935719388125894, 0.09481171103590764, 0.08972174413234024, 0.09141833567099783, 0.08722541828734552, 0.09530990586557465, 0.09396799195436117, 0.09834724092766825, 0.09000459444736918, 0.09190640333370427, 0.0897659197823911, 0.09938759213358704, 0.09556085921825196, 0.08616179321205894, 0.09011985107726302, 0.09280706131657288], 'token_peaks': [29401, 28825, 28196, 27986, 28379, 26308]} DEBUG:sopare.worker:meta = [{'adapting': 26308, 'token_peaks': [29401, 28825, 28196, 27986, 28379, 26308], 'pos': 48, 'volume': 63, 'token': 'start analysis', 'zcr': 140, 'silence': 20, 'peaks': [140502, 128582, 802556, 1010788, 1228605, 959014, 1476354, 1028828, 1018901, 1144961, 668699, 903063, 668869, 534794, 826734, 692311, 688855, 1060989, 550541, 727606, 559563, 299929, 318495, 292932, 199734, 275306, 219300, 174105, 138932, 158401, 95597, 89639, 73275, 61248, 44624, 38302, 32689, 29456, 25402, 26914, 37641, 26993, 29401, 28825, 28196, 27986, 28379, 26308]}, {'adapting': 26308, 'token_peaks': [29401, 28825, 28196, 27986, 28379, 26308], 'pos': 48, 'volume': 63, 'token': 'token', 'silence': 20}] INFO:sopare.processing:stop append mode because of silence INFO:sopare.buffering:stop buffering INFO:sopare.buffering:terminating queue runner DEBUG:sopare.worker:characteristic = 0 {'volume': 0, 'peaks': [], 'df': 49, 'dfm': 5788, 'fc': 146.0, 'zcr': 0, 'norm': [0.17393438125668356, 0.15468225409105754, 0.13995205208684186, 0.15647351808447116, 0.1607309910199809, 0.16933444407147433, 0.13934406931767832, 0.16066040122776104, 0.15244463733528185, 0.15474694002981695, 0.16869088654454611, 0.15604357099310615, 0.14948659089802746, 0.15768142731071447, 0.1440046025121973, 0.1631628353438137, 0.1641877232792505, 0.16261702198731456, 0.1492993030881743, 0.15768174774148205, 0.131199647772252, 0.1502074437771492, 0.14200757142510428, 0.1274955067625699, 0.14167287233576314, 0.1688803785880936, 0.14701918779086373, 0.15733326265114828, 0.15194112160865172, 0.15202415223269058, 0.15138989037093423, 0.1515374980638611, 0.1543981399173457, 0.15138013288203062, 0.16939297778204396, 0.16341417176865428, 0.14483187985207452, 0.15235456403552303, 0.1349181792565617, 0.15285665673594243, 0.11115480828349068, 0.10872412237516374, 0.08805534036565812, 0.10366119364943317, 0.06322593692337729, 0.0778356287016202, 0.05368688672695992, 0.011638260734092215], 'token_peaks': []} DEBUG:sopare.worker:meta = [{'token': 'stop'}] INFO:sopare.recorder:Buffering not alive, stop recording Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/queues.py", line 268, in _feed send(obj) IOError: [Errno 32] Broken pipe INFO:sopare.recorder:stop endless recording
Thanks for your answer. I posted the complete terminal message in a seperate comment. Hope it is useful for you. Many Thanks, your software is great.
Audio Record with my usb micro works great. The command i tested: arecord -d 10 -f cd -t wav -D plughw:1,0 test.wav
This happens when SOPARE shuts down and want to send the last chunks but the queue is already closed. To be clearer: the receiving end of the multiprocessing queue has already closed the connection. It's very likely that it comes from your slow setup. There is already code that takes care of synchronizing/shutting down properly like in the file "recorder.py":
time.sleep(.1) # wait for all threads to finish their work self.queue.close() self.queue.join_thread()
But this is nothing I want to fix as it appears on a non-supported hardware and I can't really reproduce it on my systems.
okay, so i can't using sopare.
Nevertheless many thanks
Currently i try to get sopare working on my overclocked Pi Zero. In the audio test file i commented out the Environment test. (The Pi Zero hast only one core) And everything works fine.
So i got further to step two in the instruction. Learning example. Everything seems fine until an Error occurs. IO Error: Pipeline Broken.
Ist there anyway to get this fixed? I have no space in my application for a bigger Pi Module.....
Best regards