Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Line in Volume control!

Line in Volume control!

Scheduled Pinned Locked Moved Visual Basic
helpquestion
24 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi, i was looking for a snippet to control the line in volume of my machine, but i found nothing usefull! Could you guys gimme some help? I am trying to create a simple sound recording software..just to keep busy.. :) TIA, Duarte

    M R 2 Replies Last reply
    0
    • L Lost User

      Hi, i was looking for a snippet to control the line in volume of my machine, but i found nothing usefull! Could you guys gimme some help? I am trying to create a simple sound recording software..just to keep busy.. :) TIA, Duarte

      M Offline
      M Offline
      Michael_Davies
      wrote on last edited by
      #2

      Tried searching this site for "volume control" for you, several results not the least was; A Synchronized Volume Control for your Application[^]

      L 1 Reply Last reply
      0
      • L Lost User

        Hi, i was looking for a snippet to control the line in volume of my machine, but i found nothing usefull! Could you guys gimme some help? I am trying to create a simple sound recording software..just to keep busy.. :) TIA, Duarte

        R Offline
        R Offline
        Ralf Meier
        wrote on last edited by
        #3

        I'm not sure what you are searching ... But ... have you realized that the .Net-Framework has the HScrollBar-Control (or the VScrollBar) which could be used for that. If this answer doesn't match to your requirement then please provide more information ...

        L 2 Replies Last reply
        0
        • R Ralf Meier

          I'm not sure what you are searching ... But ... have you realized that the .Net-Framework has the HScrollBar-Control (or the VScrollBar) which could be used for that. If this answer doesn't match to your requirement then please provide more information ...

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          well..i just want a slider or 2 buttons (+/-) to control the volume of the line in... the problem is that i find no code for that and i wish to see some snippets so i can understand!!

          L 1 Reply Last reply
          0
          • M Michael_Davies

            Tried searching this site for "volume control" for you, several results not the least was; A Synchronized Volume Control for your Application[^]

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            yes ..i also searched the site but most of examples are C# not Visual Basic..and i do not find anything related to line in also!!

            M Z 2 Replies Last reply
            0
            • L Lost User

              well..i just want a slider or 2 buttons (+/-) to control the volume of the line in... the problem is that i find no code for that and i wish to see some snippets so i can understand!!

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Easy enough to find: vb.net slider - Google Search[^].

              L 1 Reply Last reply
              0
              • L Lost User

                Easy enough to find: vb.net slider - Google Search[^].

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                no problem for the slider..i need the code to control the line in volume..thats what i need!! i have searched but only returns code to control the main volume, not line in... i find no snippet for the line in volume control!

                L 1 Reply Last reply
                0
                • L Lost User

                  no problem for the slider..i need the code to control the line in volume..thats what i need!! i have searched but only returns code to control the main volume, not line in... i find no snippet for the line in volume control!

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  There is no volume on line in, it's just an audio signal.

                  L 1 Reply Last reply
                  0
                  • L Lost User

                    There is no volume on line in, it's just an audio signal.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    well..with windows mixer we can control the amount of volume the audio signal is recorded! Cant we do that with visual basic?

                    L 1 Reply Last reply
                    0
                    • L Lost User

                      well..with windows mixer we can control the amount of volume the audio signal is recorded! Cant we do that with visual basic?

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Alienoiz wrote:

                      Cant we do that with visual basic?

                      No idea, what does the documentation say?

                      L 1 Reply Last reply
                      0
                      • L Lost User

                        Alienoiz wrote:

                        Cant we do that with visual basic?

                        No idea, what does the documentation say?

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        documentation says: "thanks...have a nice day"

                        L 1 Reply Last reply
                        0
                        • L Lost User

                          documentation says: "thanks...have a nice day"

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #12

                          There is no simple "line in" volume; you may have one or more audio-cards in your computer, and such a card may or may not have a line in. You may be interested in this[^] article.

                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                          L 1 Reply Last reply
                          0
                          • L Lost User

                            There is no simple "line in" volume; you may have one or more audio-cards in your computer, and such a card may or may not have a line in. You may be interested in this[^] article.

                            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #13

                            i already saw this article...but i cannot recreate it on Visual Basic... I would like to have the "line in " slider represented there in the "Recordings" section.. but i do not know where to start from..i have seen the code to record .wav from the line in input of my PC..it is recording fine enough for me... i just wish to have a way to adjust the recording volume!!!

                            L 1 Reply Last reply
                            0
                            • L Lost User

                              yes ..i also searched the site but most of examples are C# not Visual Basic..and i do not find anything related to line in also!!

                              M Offline
                              M Offline
                              Michael_Davies
                              wrote on last edited by
                              #14

                              The example I gave the link to has the Line In volume shown in one of it's pictures so it does contain something to do with Line In. You can quite easily convert C# to VB, lots of online sites will do it for you, plus you can use the C# modules that do the background work with the audio and use VB to do the UI if you wanted to.

                              1 Reply Last reply
                              0
                              • R Ralf Meier

                                I'm not sure what you are searching ... But ... have you realized that the .Net-Framework has the HScrollBar-Control (or the VScrollBar) which could be used for that. If this answer doesn't match to your requirement then please provide more information ...

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #15

                                hi again.. so i have all this built up and functional I am now thinking on making a fine GUI to it... and i believe i just miss the Line In volume controller here!! Despite of only being able to record in 16-bits / 2 chans and 44.1Khz/48Khz .. i am enjoying to do this.... ... it is working fine .. i do not have a audiocard selector wich would be good but it is recording well through my realtek line in : ) .. maybe i do some more research and add a way to toggle between line in and mic : ) For now i realy just would like to have the Line In volume controller : ) Regards, Duarte

                                L 1 Reply Last reply
                                0
                                • L Lost User

                                  i already saw this article...but i cannot recreate it on Visual Basic... I would like to have the "line in " slider represented there in the "Recordings" section.. but i do not know where to start from..i have seen the code to record .wav from the line in input of my PC..it is recording fine enough for me... i just wish to have a way to adjust the recording volume!!!

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #16

                                  I'd recommend by starting to read the article and to look for an online translater that converts C# to VB.NET code.

                                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                  L 2 Replies Last reply
                                  0
                                  • L Lost User

                                    I'd recommend by starting to read the article and to look for an online translater that converts C# to VB.NET code.

                                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #17

                                    ok ..i will try that! Thanks!

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      I'd recommend by starting to read the article and to look for an online translater that converts C# to VB.NET code.

                                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #18

                                      It was supposed to be a picture in my last post!!! i can not see it :S

                                      L 1 Reply Last reply
                                      0
                                      • L Lost User

                                        It was supposed to be a picture in my last post!!! i can not see it :S

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #19

                                        The forum does not support images, so that is correct. :)

                                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                        L 1 Reply Last reply
                                        0
                                        • L Lost User

                                          The forum does not support images, so that is correct. :)

                                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                          L Offline
                                          L Offline
                                          Lost User
                                          wrote on last edited by
                                          #20

                                          i have used it as a link.. a link to the image!!

                                          L 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups