In addition to his proto-merengue, Alfonseca served as a chapelmaster in Santo Domingo, writing two masses. Alfonseca also wrote patriotic music; following the Dominican Republic's successful secession from Haiti in 1844 he produced the nation's first proposed national anthem, though it was not adopted.