Type: Posts; User: Jose_VB
Search took 0.02 seconds.
I've solved it. I create 2 areas (1 for the green line and the other for the red line) and I follow the next:
If (X>PreGreenLine And X<PostGreenLine) Or (X>PreRedLine And X<PostRedLine) Then
I've a picturebox where I've 2 vertical straight lines in a program where I want to represent a raw waveform in that picturebox.
1 line is green and it's in the left (I use it to indicate the...
I've a program where there are drawn some graphics (it's a videogame). I thing the element where the graphics are drawn is a picturebox, but I'm not sure.
There is any way to capture those...
Thank you very much to all for the answers. I understand it now.
I'm reading the following code:
I thought the use of If... Then using a Boolean variable should be
What means If fRecording Then... without the use of = false or = true?
I've a string of this format:
R,G,B where R/G/B are integer
I want to get each value without the "," symbol.
R/G/B are integer values that can vary from 0 to...
Yes, I see. A pure tone is the most simple case because it's a periodic function and it's very easy to calculate.
The calculations get harder when there is not a single tone. Usually in any audio...
After reading more information about the subject I understand it better. A raw *.wav file (in the data chunk) contains amplitudes. These amplitudes represents the samples of the...
After reading your post I understand it better. I'm going to perform some practise with the information you've suggested.
Of course, but how can I read a 16 bit wave file?
As you and others have explained the 8 bit mono can be read as 1 unsigned byte per sample.
The result will be -128 to 127 and I need to...
When I try the code you've shown, I get integer values below 0. I mean, negative numbers.
There is something that I don't understand.
Just one more question...
If I want to read one individual sample... how can I do that?
Maybe in this way?
Mono, 8 bit unsigned PCM
Dim IndividualSample as Integer
Dim TheFile as String
I want also to know how to calculate de decibel of a specific frequency.
Thanks for the link, I've just read it and I think I can understand it a little bit better.
The main question that remains at the moment is about bit depth. After reading the link you've suggested...
So you mean that if I've a 44,000 times per second sampled file, that means that each second there are 44,000 bytes of information inside the raw audio data chunk?.
I don't know if I've understood...
Well, I've been looking for some information about reading individual frequencies from *.wav files.
I know that the wav file is structured in 1 chunk and 2 sub-chunks (format and data) as we can see...
I'm trying to write a code to produce a sound tone where we can select the desired frequency.
In one picturebox I want to show the sine wave of that tone.
In the second picturebox I...
I've a webcam and I want to use the video input to get 3d points of an object, for example like this:
There is any vb code or api that I can...
I want to know if it's possible to increase the compilation (and how) number of a vb.net 2010 program each time I press F5.
I think it could also be done reading the data of the internet active connection, right?
I thought it can be possible from there to obtain the websites that are being visited.
I've no idea that I can use Google analytics.
No, I'm not creating an asp.net project, I just want to create an application to notify new posts, new threads, etc... on a forum. For that reason I...
The program has to check if a website have been visited.
The main doubt is that today there are tons of navigators (firefox, chrome, explorer...) and I don't know how can I start.
I'm having the same doubt as you. I want to create a desktop application on Vb.net 2010 to check if the user's post have been replied, if there are new messages, etc...
I want to know where can I...
Ok, thanks. I cannot find any other solution on the net. So I will keep using the panel control.
FormBorderStyle -> Fixed3D
SizeGripStyle -> Show
And I cannot see the arrows to resize the form..
Exactly. Thanks for the information.
One more question... once the rectangle has been drawn in the form and it works correctly, I want to ask about drawing it in a panel1 control. I add a panel...
It works as required. When I introduce Me.DoubleBuffered = True in Form_Load it work much more better than in all the other cases. I've also tried to see the improvements when I introduce the...
It works right now in both cases, when I increase the size of the form and when I decrease the size of the form.
The only detail is that it still flicks. But I'm trying a solution.
1. Breakpoint MyBase.OnPaint(e) only
- The program loads but just after the form loads the program is interrupted in that point (breakpoint) so I cannot access to the form
2. Breakpoint in...
Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
e.Graphics.DrawRectangle(MyPencil, 15, 15, Me.Width - 100, Me.Height - 100)
I don't fully understand the solution you're explaining. I think you want to say
Protected Overrides Sub OnResize(e As System.EventArgs)
I'm working with that method and it works much better.
Yes, it worked but I was working with different options and I've introduced new code in the program. At the moment the best way is the way...
Thanks it works, but it doesn't update the graphics while resizing. I forgot to mention that the graphics need be updated while the form is resized.
I've been reading more documentation and some...
I've a form where I add a panel1 control to add 3D borderstyle
In that panel I add a RectangleShape1 control.
The problem is when resizing the form the RectangleShape flicks a lot. Even if the...
Ok, tried this and it works:
Add Panel control to the form
Set its Dock to fill all the form
Set its border to 3D
I want to get a 3D effect in the border of the form like when you set the formborderstyle to Fixed3D, but it needs to be sizable.
How can I accomplish that?
I've found that...
Canvas.Shapes.Clear () works
I don't know if this is correct or not. If you've other ways you can reply to the post. :)
I do the next:
Private Sub CreateRectangles(CleanRectangles as Boolean)
Dim Canvas As New Microsoft.VisualBasic.PowerPacks.ShapeContainer
Dim Rectangle1 As New...
I want to create a matrix similar to...
Private Type ClientNumber (0 to 6) as integer
Adress as String
Age as String
then, if I want to access to the information:...
Click Here to Expand Forum to Full Width
Survey posted by VBForums.