Type: Posts; User: Jose_VB
Search took 0.01 seconds.
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:...
Yes, I tried to do with the Paint event also. The problem here is that it works fine, but I don't know why it doesn't pass over the zoom level 4. I'm modifying the code.
I'm writting a program where I use rectangle or lines to represent the data.
I've 6 zoom levels: from 0 (the minimum zoom, the smaller) to 5 (the maximum zoom, the bigger).
Depending what zoom...
I've created a line in the form using the next code:
Dim MyPencil as Pen
MyPencil = New Pen (Color.Black, 1)
Me.CreateGraphics.DrawLine (MyPencil, 50, 100, 150, 200)
Then I want to click...
Me.Controls("Label" & Number).Location = New Point (X,Y)
Me.Controls("Label1").Location = New Point (100,500)
I create some labels as follows:
When I resize the form I don't know how to change the position of the labels that I have been already created. Well, the new position will be......
It works, thank you. Even it doesn't need the picturebox control because I draw the shapes directly on the form.
I will tell you the results in a couple of days. Thanks.
Are you refering to change the size of the shape control?
Rectangle1.Height = Rectangle1.Height * ZoomOutValue
I think you're refering to that.
Click Here to Expand Forum to Full Width
Survey posted by VBForums.