Interpreting Infrared Spectroscopy (IR) Spectra
In your first spectrum, the band at 3517 $\mathrm{cm^{-1}}$ indeed fits best to the $\ce{N-H}$ stretch of a primary amine (source). However, I would not assign the shoulder of this band to a $\ce{#C-H}$ stretch. Such a band would be sharper and perhaps more intense, and as Greg E. already pointed out in his comment to your question, there is also no corresponding $\ce{C#C}$ stretch band present (reference). The absence of bands in the range between 2500-2000 $\mathrm{cm^{-1}}$ allows you to rule out some other functional groups with double or triple bonds, like nitriles, thiocyanates, isocyanates, carbodiimides or azides. The band at 1715 $\mathrm{cm^{-1}}$ is a typical $\ce{C=O}$ stretch, and while it could be a ketone, the presence of the broad band at 2932 $\mathrm{cm^{-1}}$ (which could actually be a double band) makes it likely to be an aldehyde, since the double band can then be assigned to the $\ce{=C-H}$ stretch of the CHO group (it could also include other $\ce{C-H}$ stretches due to its width).

Your second spectrum appears a bit more complex. The broad, intense band at 3298 $\mathrm{cm^{-1}}$ in combination with the band at approximately 1680 $\mathrm{cm^{-1}}$ could be assigned to an amide, but I would expect a stronger carbonyl band in this case. Nevertheless, the intensity and width of the 3298 $\mathrm{cm^{-1}}$ band suggest the presence of a functional group capable of H-bonding. The bands between 2900-2800 $\mathrm{cm^{-1}}$ could be assigned to alkyl $\ce{C-H}$ stretches (source). For the compound to be aromatic, there should be aromatic $\ce{C-H}$ stretch bands present, slightly above 3000 $\mathrm{cm^{-1}}$ (source).