Joint source-filter modeling using flexible basis functions