Steve Scrimpshire Posted July 8, 2006 Report Share Posted July 8, 2006 Back in the old days of the TI-99/4A and the Commodore 16, there were simple ways to play the sounds of certain notes....something like play(440,2 sec) (I know that is not exact). Maybe it was in Basic. Have we lost these simple ways completely? All I can find are these complex scripts to write midi files or translate text to midi. Quote Link to comment Share on other sites More sharing options...
jboy Posted July 8, 2006 Report Share Posted July 8, 2006 If you don't find anything better, here is a C program that you can compile with gcc: http://www.lns.com/papers/tonegen/ I just compiled it so I know it works. Only edit I had to make was to change the reference for soundcard.h from #include <machine/soundcard.h> to #include <sys/soundcard.h> Compile command: gcc -lm -o tonegen tonegen.c There were a couple of compiler warnings but it compiled and ran ok. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted July 9, 2006 Author Report Share Posted July 9, 2006 Thanks, I think this'll do exactly what I need. Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 9, 2006 Report Share Posted July 9, 2006 (edited) oops forgot to say there is an input plugin for XMMS tone generator where you supply a URL Quick hijack :D How about a waveform display for guitar tuning? Anyone? Edited July 9, 2006 by Gowator Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.