Originally Posted by jose_peeterson
hi i am studying electrical engineering. and i have not seen anything like this is in c.SORRY i cant help you but can you tell me how you did this and what you are doing.
how do you do this in c? i might learn and try thanks.
Sorry I realised that I didn't explain fully what I was doing in my first reply to you. I am trying to build a gui that will output a sine and square wave with user inputs of frequency and amplitude. I am using the sample code form the alsa website called pcm.c which generates a sine wave. It is code for alsa on linux systems. I have built the gui and have integrated the sine wave and I am now trying to implement the square wave.
Good luck in your learnings.