Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Wave Player, Wave Generator [Media]

Wave Player
[Image: MhzOv48.png]
The Screenshot should explain everything.
comes with a lower level wave class

Form1.VB
https://pastebin.com/ju9VJfMB
Wave.VB
https://pastebin.com/CTqATiiM

Full project:
http://www.filedropper.com/waveclass

Wave Generator
https://pastebin.com/gganJ7pH
https://pastebin.com/Nscfeh6b
Code
Dim a As New WaveGenerator(WaveGenerator.WaveExampleType.ExampleSineWave)
      a.Play()
      ' a.Save(My.Computer.FileSystem.SpecialDirectories.Desktop & "\test2.wav")

NOT MINE
Hey this is pretty cool, I downloaded the full project and when I loaded it up I got a few errors though.
[Image: aqcF8UA.png]
(Feb 1, 2015 08:09 AM)Mad Hatter Wrote:  Hey this is pretty cool, I downloaded the full project and when I loaded it up I got a few errors though.

The project was on my drive for years.
Can you post the errors
i made wave file Structure its fun to play with wave
now try to do it with mp3 😁
(Feb 1, 2015 10:24 AM)Only3 Wrote:  i made wave file Structure its fun to play with wave
now try to do it with mp3 :biggrn:

It's not his project. Read the red text.
Looks pretty cool, even tho I think that there are multiple ways of making the event handling just a bit nicer, and modular. You could have made a custom class that inherits from picturebox and then loop through every one of those and handle the events like that. Or you could simply named the controls in a specific pattern and find them like that. Or even simpler if you have no other pictureboxes loop through all pictureboxes and bob's your uncle.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by DudeONymMar 4, 2017 12:04 AM 3 164 Mar 4, 2017 12:04 AM
Last Post: DudeONym
[C#] by EffexionAug 6, 2016 06:09 PM 9 242 Aug 6, 2016 06:09 PM
Last Post: jujuger
[.NET] by DogaJun 28, 2016 05:42 PM 13 833 Jun 28, 2016 05:42 PM
Last Post: Sniper Pal