Embedding Alignment in Code Generation for Audio