Search Results - VBForums

Search:

Type: Posts; User: Jose_VB

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    466

    Re: Reading tones from *.wav files?

    After reading your post I understand it better. I'm going to perform some practise with the information you've suggested.
  2. Replies
    16
    Views
    466

    Re: Reading tones from *.wav files?

    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...
  3. Replies
    16
    Views
    466

    Re: Reading tones from *.wav files?

    https://ccrma.stanford.edu/courses/422/projects/WaveFormat/


    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.
  4. Replies
    16
    Views
    466

    Re: Reading tones from *.wav files?

    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
  5. Replies
    16
    Views
    466

    Re: Reading tones from *.wav files?

    I want also to know how to calculate de decibel of a specific frequency.
    Any ideas?
  6. Replies
    16
    Views
    466

    Re: Reading tones from *.wav files?

    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...
  7. Replies
    16
    Views
    466

    Re: Reading tones from *.wav files?

    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...
  8. Replies
    16
    Views
    466

    Reading tones from *.wav files?

    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...
  9. Transverse to longitudinal wave representation?

    Hi folks,
    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...
  10. VS 2010 Any point cloud api to use with the webcam?

    I've a webcam and I want to use the video input to get 3d points of an object, for example like this:
    http://www.shapecapture.com/picts/point-cloud64.jpg

    There is any vb code or api that I can...
  11. VS 2010 How to increase compilation number each time the app runs

    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.
  12. VS 2010 Re: How to check if a website have been visited?

    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.
  13. VS 2010 Re: How to check if a website have been 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...
  14. VS 2010 How to check if a website have been visited?

    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've to...
  15. Replies
    2
    Views
    638

    VS 2010 Re: Web forum checker

    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...
  16. Replies
    5
    Views
    446

    VS 2010 Re: How to... FormBorderStyle 3D Sizable?

    Ok, thanks. I cannot find any other solution on the net. So I will keep using the panel control.
  17. Replies
    5
    Views
    446

    VS 2010 Re: How to... FormBorderStyle 3D Sizable?

    FormBorderStyle -> Fixed3D
    SizeGripStyle -> Show

    And I cannot see the arrows to resize the form..
  18. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    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...
  19. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    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...
  20. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    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.



    At the...
  21. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    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...
  22. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)

    MyBase.OnPaint(e)
    e.Graphics.DrawRectangle(MyPencil, 15, 15, Me.Width - 100, Me.Height - 100)

    ...
  23. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    I don't fully understand the solution you're explaining. I think you want to say

    Protected Overrides Sub OnResize(e As System.EventArgs)
    MyBase.OnResize(e)
    End Sub



    I've...
  24. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    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...
  25. VS 2010 Re: Stop RectangleShape flickering on form resizing?

    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...
  26. VS 2010 Stop RectangleShape flickering on form resizing?

    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...
  27. Replies
    5
    Views
    446

    VS 2010 Re: How to... FormBorderStyle 3D Sizable?

    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
  28. Replies
    5
    Views
    446

    VS 2010 How to... FormBorderStyle 3D Sizable?

    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?
  29. Replies
    2
    Views
    623

    VS 2010 Re: Creating and erasing Rectangle shape?

    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. :)
  30. Replies
    2
    Views
    623

    VS 2010 Creating and erasing Rectangle shape?

    I do the next:


    Private Sub CreateRectangles(CleanRectangles as Boolean)
    Dim Canvas As New Microsoft.VisualBasic.PowerPacks.ShapeContainer
    Dim Rectangle1 As New...
  31. Replies
    2
    Views
    474

    VS 2010 Re: Creating specific properties?

    :thumb: , thanks
  32. Replies
    2
    Views
    474

    VS 2010 Creating specific properties?

    I want to create a matrix similar to...

    Private Type ClientNumber (0 to 6) as integer
    Adress as String
    Age as String
    End Type

    then, if I want to access to the information:...
  33. Replies
    3
    Views
    420

    VS 2010 Re: Programming a simple Zoom in / Zoom out

    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.
  34. Replies
    3
    Views
    420

    VS 2010 Programming a simple Zoom in / Zoom out

    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...
  35. VS 2010 How to change a Line created with Me.CreateGraphics.DrawLine...?

    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...
  36. VS 2010 Re: Modifying runtime created labels?

    Resolved:

    Me.Controls("Label" & Number).Location = New Point (X,Y)

    Example:
    Me.Controls("Label1").Location = New Point (100,500)
  37. VS 2010 [RESOLVED] How to change a property of a label control created at runtime?

    I create some labels as follows:

    105445

    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......
  38. VS 2010 Re: Zoom in picturebox that contains Shape controls.

    It works, thank you. Even it doesn't need the picturebox control because I draw the shapes directly on the form.
  39. VS 2010 Re: Zoom in picturebox that contains Shape controls.

    I will tell you the results in a couple of days. Thanks.
  40. VS 2010 Re: Zoom in picturebox that contains Shape controls.

    Are you refering to change the size of the shape control?

    Rectangle1.Height = Rectangle1.Height * ZoomOutValue

    I think you're refering to that.
Results 1 to 40 of 185
Page 1 of 5 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.