VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Tone Generator

Erik Stites  (10 Submissions)   Sound/MP3   VB Script   Intermediate   Wed 3rd February 2021

This proj allows you to make audio tones and save them as a wave file. If you have looked at any Oscope type graphs of audio and wondered if you could create sound just by drawing, well, you can. It allows you to create Sine, Cosine, and a Combined signal at different frequencies. You can also draw your own wave clip in either the window or your favorite graphic editor. Use a 512w X 256h bitmap. Any color for the signal, as long as the background is black. To use this feature, Click the 'open bitmap' button and find your saved bitmap (you can also simply draw your own in the program) Then click 'Trace Bitmap' Now be sure to select the 'Use custom drawn' checkbox. Choose your wave properties, then click 'write wave' If you recieve an error when saving a custom sound, try removing any signal points that are very near the top or bottom of the bitmap. I have included a few of my own bitmaps for you to play with (Don't worry, the zip is only 14KB). I would like to thank Alex Murray and his "Bass Maker" for inspiration. Vote if you would like, or don't, but please leave feedback.

Inputs
Frequency, Bitrate, Samplerate, Length, Channels

Returns
A wave file

API Declarations
Public Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long

Rate Tone Generator (8(8 Vote))

Download Tone Generator

Tone Generator Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters