Repository navigation
Audio output handling, and a crash on data arriving from the JD-Xi. The app
stays Beta; what is known to be wrong with it is collected in
Known issues.
Fixed
- SoundFont playback survives a change of audio output. PortAudio reads
the audio hardware once, when it starts, and never looks again, so a
session that outlives a change to it -- AirPods connecting, headphones
unplugged -- asked for devices by positions that had moved or gone and got
paInternalError(-9986), the default output included. Playback stopped
following the route, and every later attempt to start the SoundFont failed
until the application was restarted. The output now rereads the devices
once and retries. Because that closes every stream in the process, the
Audio Monitor and the USB recorder register theirs, and a reread is
refused while either is listening. - Recording refuses a device with no inputs. Choosing an output left
WavRecordingThreadopening it anyway, which on some platforms writes a
file of zeroes. It now names the device and says there is nothing to
record. - The audio output is remembered by name, not by position. A sounddevice
index is a position in PortAudio's list, which is rebuilt whenever the
hardware changes, so reopening by a remembered index could open whichever
device had moved into that slot. The name is kept instead and the index
resolved from it at every open. A chosen device that has gone falls back to
the system default, and the name is kept so the device is taken up again
when it returns. - Outputs of the same name are told apart by host API. Windows lists one
device once per host API under the same name, so the list appended the
position to tell them apart -- which put a position back into the stored
preference, and made three identical-looking entries a guess. The host API
is used now, and a position only when two devices share both. A preference
stored under the old labelling still resolves. - The recording inputs are named the same way. The recorder's device menu
led with the PortAudio index, which on Windows was the only thing
distinguishing the three entries one device gets -- one per host API, all
named identically -- and which moves when the hardware changes. The inputs
now carry the host API where the name repeats, and the channel count; the
index is still what the device is opened by, and is resolved afresh each
time the list is built. The diagnostic listing in the log names the host
API too. - A pitch-envelope parameter from the JD-Xi no longer raises.
blocked_signalsis a context manager, and one call site used it without
passing the widget, so incoming SysEx for a digital partial's pitch
envelope failed withAttributeError. The pitch-envelope widget had the
same slip, where the raise came before the widget emitted: dragging a
slider left the spinbox stale and never sent the parameter to the synth,
which looked like a dead control rather than an error. - Connecting to the MIDI helper's signals no longer trips PySide's Sort
Warning.MidiIOHelperinherits signals from twoQObjectbases, and
one slot was being appended to its metaobject at connect time, ahead of
the outgoing handler's signals. It is declared with@Slot(str)now.
Downloads
| Platform | File |
|---|---|
| macOS | JD-Xi_Editor_1.0.2_MacOS_Universal.dmg |
| Windows | jdxi_editor-1.0.2_setup_win_x86-64.exe |
| Debian, Ubuntu | jdxi-editor_1.0.2_amd64.deb |
Install the .deb with sudo apt install ./jdxi-editor_1.0.2_amd64.deb, which
pulls in the libraries it names. dpkg -i alone does not, and leaves the
package unconfigured. The .deb is amd64; there is no AppImage, and no build
for Linux on ARM.
The hardware suite was last run on a connected JD-Xi for 1.0.1 and has not been
rerun for this release, which is worth knowing because these fixes touch the
recording path. The Windows host-API changes are covered by unit tests against
a synthetic device table, not by a run on real Windows hardware.