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.
  • 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
                                  • 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!!

                                    Z Offline
                                    Z Offline
                                    ZurdoDev
                                    wrote on last edited by
                                    #21

                                    Alienoiz wrote:

                                    but most of examples are C# not Visual Basic

                                    Which will always be true so I suggest you learn C#. It's very similar to VB anyway and since most people are using C# over VB, just switch. :^)

                                    There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                                    1 Reply Last reply
                                    0
                                    • L Lost User

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

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

                                      I don't see any link either; you can still edit the post if desired though.

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

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        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 Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #23

                                        I suspect that limiting the line in (other than via the "master volume" of the line in device) would also degrade the signal to some extent from the "pure" one coming out of the line out of the sender. Like playing the "headphone output" from an mp3 player that does not have a line out through your car's audio device.

                                        "(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal

                                        L 1 Reply Last reply
                                        0
                                        • L Lost User

                                          I suspect that limiting the line in (other than via the "master volume" of the line in device) would also degrade the signal to some extent from the "pure" one coming out of the line out of the sender. Like playing the "headphone output" from an mp3 player that does not have a line out through your car's audio device.

                                          "(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal

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

                                          well..i think i ended my gadget.. i was not able to understand the exampes and C# code...so i left it a bit incomplete (no Line In volume control) Anyway..i think you might like to see it... so here it is: http://www.beatassist.eu/gadgets.htm It is called KuiKR.. records 16-bits 44.1Khz/48Khz and converts .wav to .mp3 (128/192/320Kbps) It is a simple recording tool for quick recording Line In/Mic ... i am going to use it in my Djing to record MixSets and convert them for post upload in the web. : ) Thanks, regards and till next time, Duarte

                                          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