The longer or denser the pasta or marshmallow, the lower the natural frequency. The stiffer the pasta, the higher the natural frequency. Depending on these factors, each type of pasta will have its own natural frequency. The short piece of pasta will have a different natural frequency than the long piece of pasta.
If you liked the answer please hit the thumbs up button....
Pleasure to help....