# New Aruk Stretch SD-image "Release Candidate": RC2

**URL:** <https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001>\
**Category:** Software Updates\
**Created:** [May 23, 2019, 1:49pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001 "2019-05-23T13:49:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 23, 2019, 1:49pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/1 "2019-05-23T13:49:35Z")

</div>

Hi @zynthianers!

I’m proud of announcing the second release candidate of the new SD image, **Aruk** , based in the ZynthianOS building system contributed by @guysoft:

> [https://os.zynthian.org/2019-05-23-zynthianos-stretch-lite-1.0.0-RC2.zip](https://os.zynthian.org/2019-05-23-zynthianos-stretch-lite-1.0.0-RC2.zip)

I’ve tested and almost everything seems to work, but i’m pretty sure you will find the errors i haven’t found.

After thinking a while about giving some guidance on the testing procedure, but finally i realized that perhaps is better to leave everyone to use the software according to his own use-case.

So this is the very short testing guide 😉

- Download and burn the SD image

- Plug the SD-card and boot your zynthian. It should boot twice, so **wait until the UI is shown for 20 seconds or more**.

- Update the software for getting the latest fixes.

- Test everything and take note of every error you find and the way to reproduce it. If we can’t reproduce the error is very very difficult to fix it!!

- Post your report in this thread or in our Issue Tracking System, taking care of not repeating, please:

- [Sign in to GitHub · GitHub](https://github.com/zynthian/zynthian-issue-tracking/issues/new?template=bug_report.md)

- [Zynthian Tracker · GitHub](https://github.com/orgs/zynthian/projects/1)

Some features you could test:

**Zynthian-UI**

- Check that every engine in the list is working
- Layers: Create, remove, etc.
- Layer Options: Add/sort/remove effects, clone, transpose, change MIDI-channel, etc.
- MIDI-learning: ZS3 subsnapshots (Program Change Learning)
- MIDI-learning: Controller Learning
- Snapshots: Load, save, etc. (MIDI-learning should be saved and restored too!!)
- Audio/MIDI recording & play
- Admin Menu Options: Single Channel Mode, ZS3 feature, etc.
- etc.

**Webconf Tool**

- WIFI network configuration: hotspot, add/remove networks, etc.
- Pianoteq License Activation
- Jalv Plugins
- MIDI options: profiles, special features, …
- etc.

Thanks for helping to improve Zynthian!!

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 23, 2019, 1:50pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/2 "2019-05-23T13:50:28Z")

</div>



---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [May 25, 2019, 7:30am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/3 "2019-05-25T07:30:22Z")

</div>

Hi @ll,

I have a strange problem with DIN-MIDI-IN:  
It works with Gorgona, but not with Aruk(-RC1/-RC2). Here are some Videos explaining the problem:

[Gorgona](https://youtu.be/weSIips2qBg)

[Aruk RC-2](https://youtu.be/boGhazyUGAw)

There are massive drops of MIDI-events. The strange thing is that other users seem not to have this problem and that this is IMHO a software problem (because Gorgona works).

Does anyone have any idea how I can keep looking for the cause?

Regards, Holger

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [May 25, 2019, 8:15am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/4 "2019-05-25T08:15:44Z")

</div>

@C0d3man raise an issue [here](https://github.com/zynthian/zynthian-issue-tracking/issues/new?template=bug_report.md) so that we can track it as an issue and it doesn’t get lost / overcloud this discussion topic. I am worried about the use of ttyMIDI which has many limitations and issues. It wasn’t designed as a proper MIDI interface. It is supposed to provide links between ttyMIDI instances and just about gets away with proper MIDI devices, depending on the device MIDI implementation. It has been on my todo list to either contribute to ttyMIDI to improve this or suggest an alternative MIDI library for zynthian. This _may_ be the cause of the issue you are seeing but I am not aware that ttyMIDI has changed between an updated version of Gorgona and Aruk RC-2. I have reported [#11](https://github.com/zynthian/zynthian-issue-tracking/issues/11) which may also be related. MIDI was not working for me until I did some updates and reboots to RC-2.

Remember to add to the github bug report details of what does and doesn’t work, e.g. whether some engines behave differently and how direct MIDI input behaviour compares with USB input and MIDI Recorder playback. Also describe the hardware interface you are using. I found that a perfectly good MIDI input design failed when connected to ttyAMA0 but the unorthodox zynthian input circuit worked well.

[Edit] There was a change to upstream mod-ttymidi 16 days ago which _may_ be related to the issue you are seeing. Defo open a github ticket then let’s see if reverting to the previous version fixes it for you. This may also give clues as to how to reproduce more reliably.

---

<div class="post-metadata">

**Author:** ![guysoft](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/guysoft/32/1094_2.png) [@guysoft](https://discourse.zynthian.org/u/guysoft)\
**Post date:** [May 26, 2019, 10:27am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/5 "2019-05-26T10:27:51Z")

</div>

Happy to see that finally the new build system is helping us get better versions of Zynthian in a shorter time.

BTW, what is the meaning of the name Aruk?

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [May 26, 2019, 11:51am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/6 "2019-05-26T11:51:36Z")

</div>

Since this is what is driving me mad at the moment then I thought it was important to share it … 😃

It’s JV Fluid Bass on MIDI channel 3

[https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg](https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg)  
It’s an arpeggio from Motor61 _ **MIDI out** _ Yes, Wyleu has a working MIDI in port on zynthian-amp2.local !! Again.

I acknowledge the wisdom of Jofe once again. 😃  
It WAS hardware.  
The MIDI IN ( ribbon pin 10) and Out (ribbon pin 8) are transported over the ribbon between All-In-One and the Pi ( at minimum ). The pressures placed on the self made ( pliers … Always unsatisfactory… . 🤨) opened the connector enough to break the connection. I’ve remade the lead several time but it’s never been satisfactory.

So it works! , or I will declare it does after this stops playing… . . .  
[https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg](https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg)

in … ohhhh I don’t know 10hr’s … ? ? ? Cos it goes … .

[https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg](https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg)

And the volume control settings, see discussions previously . . . . is set really low and although it’s properly presented on Top Left Encoder . . . .as can be seen in the recording that goes . . .  
[https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg](https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg)

It’s really quiet, so that is something we really need to address . . .  
Perhaps each class of engine is allocated a champion who can pronounce on this… IT’s the Sine wave issue in reality. . . . I’m probably fluidsynth till I get killed or someone better comes along . . . .  
So I Added a FluidSynth Yamaha piano . . .

[https://discourse.zynthian.org/uploads/default/original/2X/7/7e80531b5e7731cf743b5ea5b4d46793dc72b10c.ogg](https://discourse.zynthian.org/uploads/default/original/2X/7/7e80531b5e7731cf743b5ea5b4d46793dc72b10c.ogg)

Incidentally as I went to Recorder to collect this sample of  
[https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg](https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg)  
The top left encoder didn’t control volume level, which ‘feels’ like one should be able to do. so one can listen to …

[https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg](https://discourse.zynthian.org/uploads/default/original/2X/d/de27edec765e8c5b0ec143e600f1b5defdd900aa.ogg)

**FOR WHAT SEEMS LIKE FOREVER… !!!** 👿

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [May 26, 2019, 12:10pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/7 "2019-05-26T12:10:51Z")

</div>

Can’t say I’ve seen any problems. It’s been works or it doesn’t for me…That’s across Two All-IN-One boards. …

It’s a swine of an area to debug . . .hardware/software . . .

Can you see LED’s …?

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [May 26, 2019, 2:02pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/8 "2019-05-26T14:02:17Z")

</div>

> [@wyleu](#):
>
> Can you see LED’s …?

I have no LEDs in my Zynthian 😥

> [@wyleu](#):
>
> It’s a swine of an area to debug . . .hardware/software . . .

I am pretty sure it’s software because Gorgona works. I will checkout an older version of ttymidi and try again. Perhaps I cann find some answers inside the diff.

Regards, Holger

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [May 26, 2019, 2:16pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/9 "2019-05-26T14:16:22Z")

</div>

Ok, I found my problem located inside mod-ttymidi. If I checkout a version before the commit “Rewrote the serial to MIDI parsing. Now single byte system messages are handled.” (ed7a2c6d4028c307cf0cee653aacd6b99a10265a) it works so I am pretty sure that this rewrote does not work for all MIDI devices (especially not for my Kawai-MP5).

Here is what I have done to get it working:

```
cd /home/pi/zynthian-sw/mod-ttymidi
git checkout 028ce4e537c7c1a6c237f90c3747cf1794d2d843
make clean && make install
reboot

```

So: where to open an issue: Zynthian? mod-ttymidi?

Regards, Holger

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [May 26, 2019, 8:11pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/10 "2019-05-26T20:11:20Z")

</div>

sounds like mod-ttymidi might be the best place.

How they test this stuff might be of interest.

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [May 26, 2019, 8:14pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/11 "2019-05-26T20:14:34Z")

</div>

It should also be added to zynthian issue tracker. We may need to hold zynthian’s copy of mod-ttymidi at the earlier version until this is resolved. We don’t want to break things for people.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 26, 2019, 11:20pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/12 "2019-05-26T23:20:51Z")

</div>

> [@guysoft](#):
>
> BTW, what is the meaning of the name Aruk?

Aran + Anuk, my 2 little daughters 🤗

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 26, 2019, 11:46pm UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/13 "2019-05-26T23:46:24Z")

</div>

> [@riban](#):
>
> We may need to hold zynthian’s copy of mod-ttymidi at the earlier version until this is resolved. We don’t want to break things for people.

Totally agree with that, although i would like to understand the details. I mean:

- What devices are effected?
- What kind of messages are involved?
- Could the problem be solved by disabling system messages in the controller device?
- etc.

Regards,

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 27, 2019, 12:04am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/14 "2019-05-27T00:04:09Z")

</div>

> [@C0d3man](#):
>
> So: where to open an issue: Zynthian? mod-ttymidi?

Hi @C0d3man!

I open an issue in zynthian’s tracker system:

> <https://github.com/zynthian/zynthian-sys/issues/105>
>
> \*\*Holger's report:\*\* https://discourse.zynthian.org/t/new-aruk-sd-image-release-…candidate-rc2/3001/3
> 
> I have a strange problem with DIN-MIDI-IN:
> It works with Gorgona, but not with Aruk(-RC1/-RC2). Here are some Videos explaining the problem:
> 
> \- Gorgona: https://youtu.be/weSIips2qBg
> \- Aruk RC-2: https://youtu.be/boGhazyUGAw
> 
> There are massive drops of MIDI-events. The strange thing is that other users seem not to have this problem and that this is IMHO a software problem (because Gorgona works).
> 
> Does anyone have any idea how I can keep looking for the cause?

Please, you open the issue in the mod-ttymidi repo 😉

Until it’s solved, we will use the last working version prior to the rewrote.

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [May 27, 2019, 7:12am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/15 "2019-05-27T07:12:16Z")

</div>

> [@jofemodo](#):
>
> Please, you open the issue in the mod-ttymidi repo 😉

Thanks for opening the issue.

Issue for mod-ttymidi: ✔

Regards, Holger

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 28, 2019, 9:16am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/16 "2019-05-28T09:16:46Z")

</div>

Today’s build should include the “frozen” mod-ttymidi …

> [https://os.zynthian.org/2019-05-28-zynthianos-stretch-lite-1.0.0.zip](https://os.zynthian.org/2019-05-28-zynthianos-stretch-lite-1.0.0.zip)

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [May 28, 2019, 11:06am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/17 "2019-05-28T11:06:19Z")

</div>

@jofemodo it may be useful to know which changes to the image require us to download a new image and which ones can be implemented with a normal update. It is quite irksome to download the image, unzip the image, flash the image, etc. (This always takes me about a day because I inevitably forget to clear space on the laptop or provide root access to the sdCard, etc…).

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 28, 2019, 11:41am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/18 "2019-05-28T11:41:02Z")

</div>

All changes can be implemented on “updates”, but it requires more time to deploy, so currently, until the final release is out, only “zynthian code” changes are available via updates, while “software package” changes or “configuration” changes needs downloading a new image.

As i tell you, once the final release is out, all changes will be implemented via update using the “recipe-update” mechanism.

Regards,

---

<div class="post-metadata">

**Author:** ![Fitz](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/fitz/32/1653_2.png) [@Fitz](https://discourse.zynthian.org/u/Fitz)\
**Post date:** [June 1, 2019, 9:05am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/19 "2019-06-01T09:05:28Z")

</div>

Have just tested this image on my alternative Zynthian build. I’m using a Hifiberry Digi DAC+ and using optical output.

I have to add a **-P** flag onto the jackd options to get Zythian to start.

```
 -P 70 -t 2000 -s -d alsa -P -d hw:0 -r 44100 -p 256 -n 2 -X raw

```

Now the software loads without error, but the audio output is completely distorted. The audio meter shows it as normal. I have to turn an instrument volume down to 1% to hear it without distortion.

This wasn’t a problem on the previous OS. I’ll google and experiment today and If I find a solution let you know.

If you want me to create an issue for this please let me know where.

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [June 1, 2019, 9:42am UTC](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001/20 "2019-06-01T09:42:31Z")

</div>

Now you have -P twice.

[Next page](https://discourse.zynthian.org/t/new-aruk-stretch-sd-image-release-candidate-rc2/3001.md?page=2)
