Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #634

Re: The Beep Function.

From Peter Nolan <peter.nolan40@gmail.com>
Newsgroups comp.lang.basic.visual.misc
Subject Re: The Beep Function.
Date 2012-01-12 08:04 -0800
Organization http://groups.google.com
Message-ID <ff462f86-bd0b-42bf-b52d-16eb4e1c792e@t8g2000yqg.googlegroups.com> (permalink)
References (3 earlier) <je4b50$jf3$1@dont-email.me> <d97642fd-e661-424f-8030-74ac475041ea@a40g2000vbu.googlegroups.com> <jehruh$p99$1@dont-email.me> <7a47f23c-fede-4d93-b47b-e27a16513308@n30g2000yqd.googlegroups.com> <jek9e6$85e$1@dont-email.me>

Show all headers | View raw


On Jan 11, 3:21 pm, "DaveO" <d...@dial.pipex.com> wrote:
> "Peter Nolan" <peter.nola...@gmail.com> wrote in message
>
> news:7a47f23c-fede-4d93-b47b-
>
> >While I have a firm grasp of everything  it's
> >very unlikely I would be able to code in that ramp at the start and
> >end of the waveform that must be tailor made for each frequency and
> >duration of that WAV. So I ask you in your own time to do this for me
> >pointing out that I will be so happy to get it that there is no
> >problem for me just to wait for as long as it takes for you to write
> >the code. I would be happy to wait weeks if that is the time you might
> >need to build in this adjustment to the code. Don't worry at all about
> >how long it might take you to do it.
> >I wish I could write this code myself.
>
> You will never be able to do it yourself if you don't try!
>
> Looking at the code from Mike there is a variable called "Amplitude", you
> should be able to work out what that's for
>
> Presumably all you need to do is for the first n samples increase Amplitude
> from zero to the full value and for the last n samples reduce it to zero.
>
> The value n which should probably be proportional (possibly inversely
> proportional) to frequency could easily be established by trial and error
>
> Regards
>
> DaveO


Hello DaveO,

Many thanks for taking an interest in this case. I really do have the
know how to build ie to code in ramps at the beginning and end of a
WAV file but I'm no coder like you and Mike and Jim are in this NG.
What would take you a some given length of time will take me that same
length of time multiplied by a certain factor. It's to do with my way
of thinking/feeling about the machine that is the modern PC one of the
triumphs of the human mind viewed from the perspective of the whole of
human history and to then find that a certain Bill Gates single
handedly destroyed our experience of this machine with buggy software.
If I say write:

10 Print "Hello"

in Qbasic for example I as a intuitive physicist want to know about
every process that happens inside the machine from the sending of the
return character into the computer's deepest place and so on. This is
however impossible. One is either a hardware guy or a software guy
just talking now in broad generalities. When you write a line a code,
any line of code, I'm guessing, only guessing, that so long as that
line executes flawlessly then you are completely happy inside yourself
and again, just guessing, you will never want to dig deeper to know
and feel the electronic processes that are initiated by any line of
code. Believe it or not I want to know all that and have to then have
feel for what are happening but at 58 and a lot younger than that when
I was writing little BBC BASIC programs mainly for data acquisition I
will now never have that feel. You can scarcely believe or understand
what I'm writing here but even still it makes kinda sense to me. The
sheer speed of computers and I'm including in that the BBC Model B
microcomputer that I used for data acquisition between October 1981
and August 1985 while doing my doctorate makes almost no physical
sense to me ie I have no feel for and I've often wondered if that is
why I'm no coder like you are. My next door neighbour has a Ph.D. in
computer science and she was telling me she doesn't want to become a
coder because she was telling me that pro coders are expected to write
100 lines of code per hour. I couldn't write a hundred lines of code
in an hour to save my very life.
There is another thing that sends me around the bend when I try to
code and that is the error messages that have never told me anything.
When I was an undergrad 1971/1975 I wrote a short little program in
FORTRAN to calculate the energy levels that the proton might have in
the hydrogen chloride molecule if it could go into orbit around the
chlorine ion. That was the first time I ran into error messages that I
couldn't make head or tail of. Just the other day I made the mistake
of connecting my iBook and Presario 1519UK PC to my modem at the same
to get an error message when I tried to type more than the one
character into google using IE. I hadn't the faintest idea what the
error message meant till it hit me much later what I had done wrong by
connecting the two machines to the modem at the same time. I tried all
kinds of rather drastic measures to remedy things including
uninstalling MS Visual Studio.NET 2003 that I had installed in the
hopes I could learn the very basics of VC++. I'm ashamed to admit that
but that is typical of my peculiar response to computers when things
go wrong.
For all those reasons and for the reason that I'm not a computer
scientist anyway like you are that while I can and have coded many
little programs I have the hardest time getting a program to work.
From that emotional perspective that while I have the know how I'm not
emotionally configured to cope with the debug. If I type in a few
lines of code and run it to get an error message that is coming at me
at quite literally at the speed of light itself I find that I'm
literally taken aback in the chair in front of the screen.
If I run into problems in the lab doing physics I just dive in with
gusto to solve every problem I have ever encountered and that also
includes making little programs work to do a job.
I'd just love to soften the WAV files to eliminate the pops but this
will take me a long time indeed to get all that down pat. I can follow
your instructions fine but...
Once again many thanks for taking an interest in this case.

Regards,

Peter.

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-04 06:15 -0800
  Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-04 07:11 -0800
  Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-04 15:38 +0000
  Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-04 16:16 +0000
    Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-04 10:15 -0800
      Re: The Beep Function. Jim Mack <no-uce-ube@mdxi.com> - 2012-01-04 13:46 -0500
        Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-05 08:09 -0800
      Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-04 22:24 +0000
      Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-05 08:22 +0000
      Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-05 09:21 +0000
        Re: The Beep Function. Gordon Levi <gordon@address.invalid> - 2012-01-05 21:54 +1100
          Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-05 11:33 +0000
            Re: The Beep Function. Gordon Levi <gordon@address.invalid> - 2012-01-06 00:20 +1100
              Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-05 17:46 +0000
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-06 14:03 +1100
                Re: The Beep Function. Gordon Levi <gordon@address.invalid> - 2012-01-08 00:43 +1100
                Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-07 20:53 +0000
                Re: The Beep Function. Gordon Levi <gordon@address.invalid> - 2012-01-08 17:27 +1100
                Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-08 09:49 +0000
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-08 08:00 +1100
                Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-07 22:43 +0000
      Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-05 14:13 +0000
        Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-05 08:26 -0800
        Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-05 08:04 -0800
        Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-07 04:41 -0800
          Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-08 11:19 +0000
        Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-10 04:52 -0800
          Re: The Beep Function. "Thorsten Albers" <gudea@gmx.de> - 2012-01-10 13:01 +0000
          Re: The Beep Function. Jim Mack <no-uce-ube@mdxi.com> - 2012-01-10 11:44 -0500
            Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-11 05:58 -0800
          Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-10 17:19 +0000
            Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-11 05:54 -0800
              Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-11 15:21 +0000
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-12 08:04 -0800
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-13 12:40 +1100
                Re: The Beep Function. ralph <nt_consulting64@yahoo.net> - 2012-01-12 21:28 -0600
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-13 15:34 +1100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-13 05:25 -0800
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-14 07:32 +1100
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-13 11:06 +0000
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-13 05:48 -0800
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-13 15:09 +0000
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-14 04:29 -0800
                Re: The Beep Function. Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-01-14 14:56 +0100
                Re: The Beep Function. ralph <nt_consulting64@yahoo.net> - 2012-01-14 10:24 -0600
                Re: The Beep Function. Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-01-14 18:51 +0100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-15 03:39 -0800
                Re: The Beep Function. Schmidt <sss@online.de> - 2012-01-15 17:39 +0100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-16 05:21 -0800
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-16 14:39 +0000
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-17 04:13 -0800
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-17 14:17 +0000
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-17 07:22 -0800
                Re: The Beep Function. "Henning" <computer_hero@coldmail.com> - 2012-01-17 17:47 +0100
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-17 16:50 +0000
                Re: The Beep Function. "Henning" <computer_hero@coldmail.com> - 2012-01-17 18:22 +0100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-18 05:26 -0800
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-18 14:35 +0000
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-18 07:10 -0800
                Re: The Beep Function. ralph <nt_consulting64@yahoo.net> - 2012-01-18 10:38 -0600
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-19 05:42 +1100
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-19 11:33 +0000
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-21 03:16 -0800
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-19 05:17 -0800
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-20 05:17 +1100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-20 03:54 -0800
                Re: The Beep Function. Jason Keats <jkeats@melbpcDeleteThis.org.au> - 2012-01-20 23:40 +1100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-21 03:20 -0800
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-21 15:20 +1100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-21 03:23 -0800
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-20 05:11 +1100
                Re: The Beep Function. Schmidt <sss@online.de> - 2012-01-17 18:58 +0100
                Re: The Beep Function. Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-01-17 23:13 +0100
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-18 09:12 +0000
                Re: The Beep Function. "DaveO" <djo@dial.pipex.com> - 2012-01-18 09:22 +0000
                Re: The Beep Function. ralph <nt_consulting64@yahoo.net> - 2012-01-18 05:39 -0600
                Re: The Beep Function. Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-01-18 13:32 +0100
                Re: The Beep Function. ralph <nt_consulting64@yahoo.net> - 2012-01-15 13:30 -0600
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-16 06:59 +1100
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-16 06:55 +1100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-16 06:06 -0800
                Re: The Beep Function. "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-01-13 22:34 +0000
                Re: The Beep Function. "blank" <blank@blankety.blank.com> - 2012-01-14 19:50 +1100
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-14 05:10 -0800
                Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-14 06:16 -0800
  Re: The Beep Function. "Henning" <computer_hero@coldmail.com> - 2012-01-19 20:25 +0100
    Re: The Beep Function. Peter Nolan <peter.nolan40@gmail.com> - 2012-01-20 03:56 -0800

csiph-web