Skip to content

Instantly share code, notes, and snippets.

View dsheeler's full-sized avatar

Daniel Sheeler dsheeler

View GitHub Profile
The other day, my computer crashed, and since then, my RME HDSP 9632 is failing to show up as a device when I type, for instance, aplay -l. BTW, the crash involved and unresponsive system that I had to powerdown by pulling the plug, not a clean poweroff. When it came back up, I saw a lot of disk errors getting fixed by like fsck or whatever runs at boot, and some of my previously working software such as claudia which relies on certain pyQt4 libs wouldn't work because suddenly some of the python libs weren't being found. Can anyone suggest what might be going wrong? Did some alsa files get lost, during the crash, maybe?
dmesg has these messages:
[ 12.191250] snd_hdspm 0000:05:00.0: cannot find the slot for index 1 (range 0-5), error: -16
[ 12.191256] snd_hdspm: probe of 0000:05:00.0 failed with error -16
lspci shows this:
@dsheeler
dsheeler / gist:b7c5b4fa9b226012aac6b598cca54e97
Created November 17, 2019 14:35
Messages about my non-functioning RME Hammerfall DSP MADI
dmesg has these messages:
[ 12.191250] snd_hdspm 0000:05:00.0: cannot find the slot for index 1 (range 0-5), error: -16
[ 12.191256] snd_hdspm: probe of 0000:05:00.0 failed with error -16
lspci shows this:
05:00.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP MADI (rev d4)
Sep 24 04:00:44 * jl_ ([email protected]) has joined ##zynaddsubfx
Sep 24 04:51:58 * jl_ has quit (Ping timeout: 264 seconds)
Sep 24 05:48:40 * dsr1204 ([email protected]) has joined ##zynaddsubfx
Sep 24 06:39:46 * jl_ ([email protected]) has joined ##zynaddsubfx
Sep 24 06:53:05 * jl_ has quit (Ping timeout: 248 seconds)
Sep 24 06:54:05 * dsr1204 has quit (Quit: dsr1204)
Sep 24 07:17:00 * jl_ ([email protected]) has joined ##zynaddsubfx
Sep 24 07:33:15 * jl_ has quit (Ping timeout: 240 seconds)
Sep 24 16:58:11 * dsr1204 ([email protected]) has joined ##zynaddsubfx
Sep 24 18:40:15 * dsr1204 has quit (Quit: dsr1204)
$ grep new_master ~/.xchat2/xchatlogs/FreeNode-##zynaddsubfx.log
Oct 04 13:41:23 <johannes_2> "if(!offline) new_master->AudioOut(outl, outr);" -> Why is this line in runOSC()? Why can't you call AudioOut after runOSC() returned false?
Oct 04 14:18:40 <johannes_2> Btw, IIRC, you said I should test with Nio not started, and one way to achieve it would be something like a boolean variable and an if around that "Nio::masterSwap(new_master);" line?
Sep 02 09:54:33 <DrSegfault> fundamental: The case where Master receives "/load-master" with new_master == this_master comes from here: https://github.com/zynaddsubfx/zynaddsubfx/blob/master/src/Misc/MiddleWare.cpp#L699-L701
Jul 13 10:11:12 <DrSegfault> ahh, it's still present: bool zyn::Master::applyOscEvent(const char*, float*, float*, bool, bool, zyn::DataObj&, int): Zusicherung »new_master != this_master« nicht erfüllt.
Jul 13 13:25:10 <DrSegfault> Sorry btw for posting German, it means "Assertion 'new_master != this_master' not fulfilled".
Jul 16 11:
diff --git a/app/src/naveg.c b/app/src/naveg.c
index 0fc24c2..a9039b0 100644
--- a/app/src/naveg.c
+++ b/app/src/naveg.c
@@ -22,7 +22,7 @@
#include <strings.h>
#include <math.h>
#include <float.h>
-
+#include <stdio.h>
diff --git a/app/src/naveg.c b/app/src/naveg.c
index 0fc24c2..a9039b0 100644
--- a/app/src/naveg.c
+++ b/app/src/naveg.c
@@ -22,7 +22,7 @@
#include <strings.h>
#include <math.h>
#include <float.h>
-
+#include <stdio.h>
diff --git a/app/src/naveg.c b/app/src/naveg.c
index 0fc24c2..a9039b0 100644
--- a/app/src/naveg.c
+++ b/app/src/naveg.c
@@ -22,7 +22,7 @@
#include <strings.h>
#include <math.h>
#include <float.h>
-
+#include <stdio.h>
diff --git a/html/js/modgui.js b/html/js/modgui.js
index 2d3dee99..ba636f1c 100644
--- a/html/js/modgui.js
+++ b/html/js/modgui.js
@@ -151,6 +151,7 @@ function GUI(effect, options) {
dragStop: function (e, ui) {
},
presetLoad: function (uri) {
+ print('Hello from presetLoad: ', uri)
},
<jackmix version="0.5">
<ins>
<channel name="xmms2/audio_in 1" volume="0.5" midi="0" />
<channel name="xmms2/audio_in 2" volume="0.5" midi="0" />
<channel name="xmms2-2/audio in 1" volume="1" midi="0" />
<channel name="xmms2-2/audio in 2" volume="1" midi="0" />
<channel name="pulseaudio/audio in 1" volume="1" midi="0" />
<channel name="pulseaudio/audio in 2" volume="1" midi="0" />
<channel name="playstation/audio in 1" volume="1" midi="0" />
<channel name="playstation/audio in 2" volume="1" midi="0" />
diff --git a/src/Params/ADnoteParameters.cpp b/src/Params/ADnoteParameters.cpp
index 8a0e1a85..c3b549ab 100644
--- a/src/Params/ADnoteParameters.cpp
+++ b/src/Params/ADnoteParameters.cpp
@@ -336,8 +336,8 @@ static const Ports globalPorts = {
//Amplitude
rParamZyn(PPanning, rShort("pan"), rDefault(64),
"Panning of ADsynth (0 random, 1 left, 127 right)"),
- rParamF(Volume, rShort("vol"), rLinear(-60.0f,20.0f),
- rUnit(dB), rDefault(-3.75f), "volume control"),