# Bug in the Tutschku example collection's NMF Model

**URL:** <https://discourse.flucoma.org/t/bug-in-the-tutschku-example-collections-nmf-model/2314>\
**Category:** Bug Reports and Issues\
**Created:** [June 11, 2024, 5:49am UTC](https://discourse.flucoma.org/t/bug-in-the-tutschku-example-collections-nmf-model/2314 "2024-06-11T05:49:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![5ibl1](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/5/4bbf92/32.png) [@5ibl1](https://discourse.flucoma.org/u/5ibl1)\
**Post date:** [June 11, 2024, 5:49am UTC](https://discourse.flucoma.org/t/bug-in-the-tutschku-example-collections-nmf-model/2314/1 "2024-06-11T05:49:36Z")

</div>

I’m experimenting with the downloadable Hans Tutschku examples found here [https://learn.flucoma.org/explore/tutschku/](https://learn.flucoma.org/explore/tutschku/) and trying to build a database with the example patches.

In the second part of the collection there seems to be a mistake somewhere in the patch and the console gives an error "counter: doesn’t understand “buffer” when hitting the analyse button. I’m not that familiar with the FluCoMa objects and the structure of the analysis patch so it’s too much for me trying to find and fix the bug.

Any help? Thanks!

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [June 11, 2024, 9:14am UTC](https://discourse.flucoma.org/t/bug-in-the-tutschku-example-collections-nmf-model/2314/2 "2024-06-11T09:14:12Z")

</div>

Hi @5ibl1

Just a guess until I (or someone) has time to go through patch properly, but it sounds like it’s broken because it predates a change we made to the output of the buffer based objects some time ago (instead of a `bang` they now output `buffer <output buffer name>`). So it should be fixable just by inserting a `[t b]` into the patchcord going into the `[counter]` in question.

Did you just download the patch? If so, I’ll make an issue and see if @jacob.hart or someone can update it.

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [June 13, 2024, 9:04am UTC](https://discourse.flucoma.org/t/bug-in-the-tutschku-example-collections-nmf-model/2314/3 "2024-06-13T09:04:21Z")

</div>

Hi @5ibl1

I’ve fixed up the patch in question. In due course we’ll replace the online version too. Have fun.

[02 NMF Model.maxpat](https://discourse.flucoma.org/uploads/short-url/kkTnCgAPVlMoXAQzBbT5PT4h9c2.maxpat) (112.9 KB)

---

<div class="post-metadata">

**Author:** ![5ibl1](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/5/4bbf92/32.png) [@5ibl1](https://discourse.flucoma.org/u/5ibl1)\
**Post date:** [June 13, 2024, 12:32pm UTC](https://discourse.flucoma.org/t/bug-in-the-tutschku-example-collections-nmf-model/2314/4 "2024-06-13T12:32:33Z")

</div>

Great, thank you!

---

<div class="post-metadata">

**Author:** ![tremblap](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/tremblap/32/5_2.png) [@tremblap](https://discourse.flucoma.org/u/tremblap)\
**Post date:** [September 6, 2024, 2:00pm UTC](https://discourse.flucoma.org/t/bug-in-the-tutschku-example-collections-nmf-model/2314/5 "2024-09-06T14:00:29Z")

</div>

and updated thanks for the report!
