Any pointers how i can model a horn response in python? What equations would i use? basically want something like hornresp but call it from python.
Do you want to write a package like hornresp in python or to call an existing package from a python script?
Hornresp is a network solver with a bunch of elements appropriate for speakers. Spice is perhaps the most common network solver and comes in a wide range of flavours including some python wrappers. Adding one or two horn-related elements should be fairly straightforward given some basic knowledge of acoustics and network solvers. SpicyTL is an example for transmission line speakers if you want a feel for what might be involved.
Hornresp is a network solver with a bunch of elements appropriate for speakers. Spice is perhaps the most common network solver and comes in a wide range of flavours including some python wrappers. Adding one or two horn-related elements should be fairly straightforward given some basic knowledge of acoustics and network solvers. SpicyTL is an example for transmission line speakers if you want a feel for what might be involved.