Re: how know if middle C heard?
- From: "Gareth Magennis" <sound.service@xxxxxxxxxxxxx>
- Date: Tue, 11 Mar 2008 20:28:37 GMT
"Geoff Cox" <gcox@xxxxxxxxxxxxx> wrote in message
news:m5odt3tppbrd27s3gmjkoee81ukfltik2o@xxxxxxxxxx
On Tue, 11 Mar 2008 11:39:58 -0000, "Gareth Magennis"
<sound.service@xxxxxxxxxxxxx> wrote:
Geoff I would seriously suggest you think about learning Delphi or Visual
basic or whatever, it makes this sort of thing so much easier.
Here's how you would do it without having to be much of a programmer, it
could be your introductory lesson to the language. Almost.
Drag and drop a Media Player component and a button you call "This is a
C"
onto your form, assign your Wav to the media player. Client starts the Wav
with the transport button provided with the Media Player. The "This is a
C" button On Click event handler reads the value of the current position
of
the Wav playback (position:=MediaPlayer1.position.value) and compares it
with the predetermined data file information, uisng the means of deploying
it, that Ian has mentioned above. (If T1 < position < T2, or T3 <
position
< T4, or T5 < position < T6 then ClientIsRight, else ClientIsWrong). T1
will be the start of the first middle C, T2 will be the time after C ends
you consider to be the appropriate reaction time window, and so on.
That is not a lot of code to have to write for this part of the program,
and
it can be written as badly as I have just done and still work perfectly
and
be easily understood.
There is no point trying to get anyone here to write your code for you, or
you will not be able to debug it, and you will certainly want to change
it.
Gareth,
This is excellent - many thanks!
Could I use Microsoft Visual Studio 2005 to do this? I have a copy
obtained from a MS event and have used it a little before.
If I buy Visual Basic can I create something which can be used on a
web site? I thought Visual Basic and Visual Studie/Visual Basic or C#
would produce a .exe file? OK for a user to download for use on
his/ner PC but not useable from a web site.
Sorry if this is muddled but so am I!
Cheers
I really don't know but if there is Delphi which can make things so easy for
Windows, there surely must be an equivalent for websites. I'm not a
programmer, I just bought a big fat "Mastering Delphi" book so I could write
my own work databases. I was surprised how much I was able to achieve while
remaining prettty much a novice. There are also plenty of freeware sites
where you can use "modules" others have written, like having coloured
buttons on your application. (Windows only does grey!)
Good luck,
Gareth.
.
- Follow-Ups:
- Re: how know if middle C heard?
- From: Geoff Cox
- Re: how know if middle C heard?
- References:
- how know if middle C heard?
- From: Geoff Cox
- Re: how know if middle C heard?
- From: Ian Iveson
- Re: how know if middle C heard?
- From: Geoff Cox
- Re: how know if middle C heard?
- From: Gareth Magennis
- Re: how know if middle C heard?
- From: Geoff Cox
- how know if middle C heard?
- Prev by Date: Re: how know if middle C heard?
- Next by Date: Re: how know if middle C heard?
- Previous by thread: Re: how know if middle C heard?
- Next by thread: Re: how know if middle C heard?
- Index(es):
Relevant Pages
|