< Back to IRCAM Forum

Add text to voice in OM

Hello: I am traying to add some text such as “pizz” “arco” “frull” etc to a voice, I have read some threads here but nothing works for me, I have tried some text-extra functions, but nothing. I apreciate some examples to implement.

Thanks in advance

Andrés

Dear Andres,

There are two ways to do so:

  1. Using the Extra editor:
    a) Open a VOICE
    b) Type ‘x’
    c) From the Extra Edition Palette choose the Icon with ‘A’
    d) type your text


The you can choose to place your text as you wish, You just select the added text and move it with the arrows.
Screenshot_2025-04-23_17-41-17

  1. You can use the put-extra-text method (from Functions->Score-> Extras menu):

Best
K

Dear Karim, thanks a lot, the first method works perfectly, but the second one doesn’t work, the put-extra-text has only two inlets, when I try to add new inlets the object put another one in between, but the main issue is that when I try to evaluate the put-extra-text, it gives me nil as a result, I replicated your screenshot but nothing happens

Best

Andrés

Hi Andres,

Screenshot_2025-04-25_16-34-54

Here is the patch:
Patch 22.omp (5.9 KB)

Best
K

Dear Karim, I try your patch but the result is the same, the listener says “I can not construct a VOICE with these parameters” when I connect the patch to a new voice object. Also when I evaluate just the put-extra-text objetc, the listener says “nil”

I use OM 7.6 in mac Sonoma by the way

Best

Andrés

Dear Andres,

Please check out this page from the documentation regarding additional keywords and their menus:

https://support.ircam.fr/docs/om/om6-manual/co/AdditionalInputs.html

About the nil output, this is completely normal. This method “Applies” changes on the the connected box and so doesn’t return any result.

Best
K

Hi Andres & K,

I tried K’s Patch 22.omp in both OM7.4 and OM7.6-1 under LM 21.2. When I evaluate the put-extra-text, the pizz and arco texts disappear from the voice:

best
rc

Dear rc0

did you try to open the VOICE editor?
then you can refresh the miniview by hiding and diplsying it with ‘m’ key

Best
K

Dear K,

It worked. Thanks.
Is there a way visualize the added texts (in miniview) immediately after evaluation without the need of opening the editor and refreshing miniview?

best
rc

Deal Karim and rc:

Sorry, but I connect the put-extra-text object to a new VOICE and nothing happens, I follow all the suggestions, the listener shows “I can not construct a VOICE with these parameters”. Is there something missing?

best

Andrés

Dear rc,

Yes there is a way but somehow cumbersome. Here you go:

And here is the patch:
patch 22b.omp (10.1 KB)

Best
K

Dear Andres,

This means you are doing something wrong in your patch. In this case please do send the patch.

BEst
K

Dear Karim


here is the patch

patch 22 test.omp (9.6 KB)

Ok, so this is wrong.
put-extra-text method doesn’t output a voice object. It SETS the text in the VOICE object connected to it (the first one up). That’s why you have an error message.

Best
K

Dear Karim, Ok, thanks a lot, it works, thanks to rc too for the comments