Counting characters... seperating vowels and consonants and other characters.

uchtp's icon

Hi guys,

I'm trying to count vowels and consonants in a string of text.
I've broken the message into ascii characters using [atoi], sent through a [listfunnel] stored each number in coll, then been using zl compare to try to count each vowel and each consonant. Now I've gone down multiple rabbit holes. I think I may have burnt my brain and have skipped over a simple solution. Any ideas? ty

Floating Point's icon

this?

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

Y is sometimes considered as wovel , sometimes not ...
Anyway here is simplified separation, if You want - add y to zl filter

Max Patch
Copy patch and select New From Clipboard in Max.