diff --git a/README.md b/README.md
index 6674297..7558c82 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
Cadence is a set of tools useful for audio production.
It's being developed by falkTX, using Python and Qt (and some C++ where needed).
-The tools share the same base source code, so most of them look quite similar (which is intentional).
+The tools share the same base source code, so most of them look quite similar (which is intentional).
Also, lots of custom widgets were coded when needed (like pixmapdial, pixmapkeyboard, patchcanvas and systray).
They can be re-used in other projects. Contact the author if you need help on that.
@@ -35,7 +35,7 @@ Tool to record (or 'render') a JACK project using jack-capture, controlled by JA
It supports a vast number of file types and can render in both realtime and freewheel modes.
### [Cadence-XY Controller](http://kxstudio.sourceforge.net/KXStudio:Applications:Cadence-XYController)
-simple XY widget that sends and receives data from Jack MIDI.
+Simple XY widget that sends and receives data from Jack MIDI.
It can send data through specific channels and has a MIDI Keyboard too.
### [Catarina](http://kxstudio.sourceforge.net/KXStudio:Applications:Catarina)
diff --git a/src/catia.py b/src/catia.py
index f2df5df..c6f1e42 100755
--- a/src/catia.py
+++ b/src/catia.py
@@ -140,7 +140,8 @@ class CatiaMainW(QMainWindow, ui_catia.Ui_CatiaMainW):
patchcanvas.init("Catia", self.scene, self.canvasCallback, DEBUG)
# Try to connect to jack
- self.jackStarted()
+ if self.jackStarted():
+ self.init_alsa_ports()
# DBus checks
if haveDBus:
@@ -174,8 +175,6 @@ class CatiaMainW(QMainWindow, ui_catia.Ui_CatiaMainW):
self.act_tools_a2j_export_hw.setEnabled(False)
self.menu_A2J_Bridge.setEnabled(False)
- self.init_alsa_ports()
-
self.m_timer120 = self.startTimer(self.m_savedSettings["Main/RefreshInterval"])
self.m_timer600 = self.startTimer(self.m_savedSettings["Main/RefreshInterval"] * 5)
@@ -846,7 +845,8 @@ class CatiaMainW(QMainWindow, ui_catia.Ui_CatiaMainW):
if not jack.client:
jack.client = jacklib.client_open("catia", jacklib.JackNoStartServer | jacklib.JackSessionID, None)
if not jack.client:
- return self.jackStopped()
+ self.jackStopped()
+ return False
self.act_jack_render.setEnabled(canRender)
self.b_jack_render.setEnabled(canRender)
@@ -863,6 +863,8 @@ class CatiaMainW(QMainWindow, ui_catia.Ui_CatiaMainW):
self.init_jack()
+ return True
+
def jackStopped(self):
if haveDBus:
self.DBusReconnect()