Speech Synthesis Speed(rate) Is Not Slowing

Apr 9, 2012

Imports System.Speech.Synthesis
Public Class Form1
Dim speaker As New SpeechSynthesizer()

[Code]....

rate 1 is fast.. is there any way to slow it down? but rate 1 is suppose to be slow.. when i set to rate 5, cant even understand what she is saying.

so did i miss something?and one more thing.. when my app is speaking, the GUI is hanged.. i understand as one function is running, i cant do anything else..

so is there any way to set speaker in backgrond so form can perform different functions?

View 3 Replies


ADVERTISEMENT

Application To Test Network Speed (Transfer Rate)

Feb 11, 2009

Lately our network is having some speed issues at certain times of day, so what I'd like to do is make a little app that will test the network speed at certain intervals, like once an hour between certain servers etc and then write the results to a text file. Is VB 2008 cable of doing something like this? I thought of maybe copying a 500mb file from 1 place to another and somehow record the average transfer rate of that file, but I am not exactly sure about how to record the transfer speed.

View 4 Replies

VS 2008 Text To Speech Speed?

May 1, 2009

I want to make a Text to speech program that uses a trackbar to change the speed, how do I call the speed function or whatever? [code]

View 4 Replies

DB/Reporting :: Calculate Rate For 3 Days In Different Rate Like Public Holiday,weekend And Normal For 1 Room?

Aug 19, 2009

how to calculate rate for 3 days in different rate like public holiday,weekend and normal for 1 room

View 2 Replies

Call It Frame Rate Or Refresh Rate Of A Process?

Mar 25, 2012

How can I speed up a process? I see I should use timegettime, gettickcount, and queryperformance counter, but I have no clue where to start.

I guess you can call it Frame Rate or Refresh Rate of a process?

View 1 Replies

Payroll Calculator : Indicate If The Tax Is At Single Rate (18%) Or The Family Rate Of (15%)?

May 7, 2009

i am trying to indicate if the tax is at single rate (18%) or the family rate of (15%)This is what i got so far i could do the rest but just cant do the Mstatus part.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Name As String 'Name of employee
Dim hrWage As Double 'Hourly wage
Dim hrsWorked As Double'Hours worked this week

[code]....

View 1 Replies

Music Synthesis In .Net Using DirectSound: Diving Deeper Than MIDI?

Sep 16, 2009

So I was working in the forums and on the side bar of some thread I saw this link: [URL]...It turned out to be almost entirely about MIDI, but it made me think that I really need to share some code I wrote a few months ago and see if perhaps there is reason to create what the above thread really asked for.Here's a little background on the following code:

Back in April or so of this year I was doing some spring cleaning and came across the old Yahama PSR-6 synthesizer keyboard I had received one year for Christmas when I was around eight. I remember I used to like the Bagpipe voice because at the low notes it made a good fart sound. For a Toys-R-Us/Radio Shack model keyboard, running on six D-Cell batteries, produced in the early to mid eighties, that was an impressive achievement. LOL Anyway, I always did want to learn to play piano (or keyboard) so I decided to literally dust the thing off, put batteries in it, and fiddle around a bit. A couple YouTube videos later and I was convinced that I wanted to do this. While I was waiting for the thing to ship and arrive, I thought that it really shouldn't be that hard to take a DirectSound SecondaryBuffer object and inject it with sound data which whas calculated based on the harmonic values of musical notes, thereby creating your own synthesizer.

First, I really had little idea what I was doing when I first set about doing this other than the general structure of calculating byte data for notes and stuffing them into a SecondaryBuffer object while it played. I had used direct sound a number of times in a number of ways, but always playing sound data that came from a source (file, stream, etc.). This would be my first attempt at generating sound data for the buffer.

Second, I'm a "code-as-you-learn-learn-as-you-code" kinda guy, so that means that I developed the initial project as I went. I would research a specific portion of the project (and there was a LOT of research to do! lol) and then code it and move on to the next. Of course, this eventually leads to a mess of a project in most cases where the foundation is a bit complex to begin with. So the code I'm posting is the second version of the concept. But even at that, I'm only going to post the primary user control at this point and hold back on the code for the test application I created with it (I will provide a download to the compiled app however). After getting the user control cleaned up (if not ideally redesigned), the second app became a "develop-as-you-go" project for the test application - so it is a bit of a mess now too; but mostly just to look at code-wise - it actually runs pretty well.

Third, there are still a few design issues that could be improved upon in the user control, and a few choices which were made for ease of coding that could be changed for performance. But because of this, other than for a couple of routines, most of the code should actually be pretty straight forward to anyone who's comfortable in VB already.

Ok, on to the example: we are going to create a MusicKeyboard control. This control will draw itself like a pinao keyboard and will render keys for the specified number of full octaves. Clicking a key will play the associated note in the specified voice. Voices will be created using a simple digital oscillator and optional even-noise generator on top of a sine wave form.

To get started, you'll first need to have the DirectX SDK installed. The latest one is available here:[URL]..displaylang=en however the example was created using the version from March 09. There should be no impact from using the newer version.

Once you have the SDK installed, create a new Windows Application and add a new User Control named MusicKeyboard to the project. Note that you could create a Windows Class Library project, but I personally like to develop in an Application for ease of testing and later convert to a class library.You'll need to drag a BackgoundWorker component from the toolbox onto the usercontrol and name it "SynthWorker". Set the worker's WorkerSupportsCancellation property to True.

Now you'll need to add the DirectX reference to the project. You can rightclick the project in the solution explorer and select Add Reference or go to My Project and the References Tab. From the list of .Net references,add Microsoft.DirectX.DirectSound.That should be all we need to get started. In the following posts we'll create a bunch of code files and get the keyboard noise-worthy.Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

View 8 Replies

Recommended Alternatives For Speech Recognition Other Than Microsoft Speech Libraries?

Aug 11, 2010

recommended alternatives for speech recognition other than Microsoft Speech libraries?

View 2 Replies

VB 2010 Speech Recognition / Speech-To-Text / Voice Control

Oct 23, 2011

I'm trying to create a Speech Recognition support for my program. I want to make it so that if I say something in my microphone, the program just writes what I said in Label1. I looked for Speech Recognition codes in MSDN and Google, but I didn't find anything useful. I found a code, but it was for VB.net, I tried but it didn't work in VB 2010.

View 1 Replies

Holding Key Down For Keypress Slowing Timer?

Mar 23, 2012

I'm using a KeyPress event in a VB form to move a game character around with keys. There are obstacles being moved every timer tick event. But if the player holds one of the movement keys down, the objects moving on timer ticks stop moving.

View 2 Replies

VS 2010 - Loop Is Slowing Down Greatly

May 8, 2010

I have a loop in my program that iterates at the start about 20,000 - 25,000 times per second. By the end of the loop, the iteration is down to about 6000 per second. [Code] The Alphabetize function merely returns the string with it's Chars in abc order. Can you see any bottlenecks or any reasons for the slowdown?

View 13 Replies

VS 2010 - Slowing Down Animation Sequence?

Feb 29, 2012

I'm trying to animate a game piece by using a picture box where the x,y location is changed as the image changes (cycles through a walk animation sequence). This all works fine, however it's too damn quick. I've tried slowing it down using a simple:
for z=1 to 1000000: next
While this works-ish there must be an easier way to slow down code....is there? On a related matter: Why does picturebox animation look so crap compared to combining images in the paint screen section? My picturebox seems to flicker every few frames.

View 8 Replies

VS 2010 Output Data Without Slowing Program Down?

Nov 28, 2011

So I got this program to generate me some data and I want to show that data to a label.

If I don't do a display I can generate about 20,000 data per second, but if I do, I get about ~9,000 data per second.

PS. Since the generating logic in is a thread, I have a function that does the displaying to the label.

View 1 Replies

Check Internet Speed - Download A File Like 1mb Size, Then It Will Calculate The Speed?

Feb 21, 2012

How do i exactly check internet connection speed.I have searched around google and found out a method w/c will Download a file like 1mb size, then it will calculate the speed.

View 1 Replies

Check The Bandwidth (download Speed And Upload Speed) Of A User In .net Or Php?

Dec 31, 2010

how do i check the bandwidth (download speed and possible upload speed) of a user in vb.net or php that uses my app or visits my site resp?

View 1 Replies

VS 2010 Calculate DownLoad Speed And UpLoad Speed Kb/s And Graph

Nov 30, 2010

I have a codes that calculates DownLoad speed and UpLoad speed kb/s. I would like to implement this kind. I also want to put such kind of graph. Any article or links where can I start building my own like that.

View 2 Replies

Calculate Internet Download Speed And Upload Speed

Jul 29, 2009

i want to monitor the speed at which my system is currently Downloading and uploading. I dont have any idea how will it can be done.

View 6 Replies

Check For The Lan Speed And Put This Speed Value In A Progress Bar?

Jan 4, 2012

i want to check for the lan speed and put this speed value in a progress bar.

for example:

[==== ] the lan speed now is 23 KB/s

and there is another problem is if there are a LAN and a WiFi adapter in the same time how do i check for the speed for both adapters

View 1 Replies

MS Speech SDK - Highlight Text On A Richtextbox Control While Reading The Text Using Speech Sdk Control

May 26, 2011

I just want to know that how can i highlight text on a richtextbox control while reading the text using speech sdk control. I mean the word currently speak automatically selected in the RichTextBox.

View 2 Replies

Get The Speed Of A Computers Fan Speed?

May 5, 2009

how would i go about getting the of a fan of a computer that my program is running on in rps(revolutions per second) using vb.net?

View 4 Replies

How To Get Currency Rate From Web Service

Feb 8, 2010

I was trying to use the web service for currency rate to get the rate, although I have already add web reference to [url] but I still do not know how to retrieve it from there. I'm using asp.net vb.

View 1 Replies

Rate The Taste Of Drink From 1 To 10?

May 18, 2009

Each Taste Tester rates the two drinks on a scale of 1 to 10, with 10 being the best.I need to display the summary of results that contains the current results of the taste test.It should display the winner, the total number of taste tester and the average rating for each drink.My program has three forms.The main form, the input form and the summary form.For some reason, I can not get my results to display in the form. Plus it is not calculating my results correctly.[code].....

View 6 Replies

C# :: Response From USPS Rate Calculator?

Oct 25, 2011

I need to get shipping rates from USPS. I have signed up with them, got myself a user id and trying to use the sample request XML as shown on page

<Error>
<Number>80040b1a</Number>
<Description>API Authorization failure. RateV4 is not a valid API name for this protocol.

[code].....

View 1 Replies

Discount Rate Of The Entered Price

Jul 31, 2009

I'm coding a program, which supposed to give the discount rate of the entered price, so there is as what I got on my code. [Code]

View 6 Replies

Interest Rate Calculator With Validation?

Mar 11, 2011

Im creating an interest rate calculator that will make sure the principal is a positive amount, retrieve the interest rate from the interest rate:numericupDown function and will leave a message in the resulttextbox.This is what i have so far:

Public Class InterestCalculatorForm
' handles Calculate Button's Click event
Private Sub calculateButton_Click(ByVal sender As System.Object, _

[code].....

View 3 Replies

Rate The Difficulty Of Making Program?

Mar 3, 2010

I just started with VB.NET using Murach VB.net 2008 book and i want to make this program for my work, please tell me what knowledge needed to make this program beside VB.NET: want to make a program for my supervisor which Lists the name of every employee in our division. the program should be accessed by any computer in our division using LAN. each employee will have user and pass to enter this program they only can view their data with charts showing their attendance, productivity , etc, supervisor will have master account where can edit the info.the supervisor can send private message like e-mail to each employee. all the info should be saved in database so it can be used to compare the employee activity for each year.

View 3 Replies

Standard Deductions And Child Tax Rate?

Mar 9, 2010

duplicating a visual basic assignment. I have know idea where to start.......

Public Class Form1
Private Sub NumberofChildrenNumericBox_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumberofChildrenNumericBox.ValueChanged

[Code]...

View 4 Replies

Track Open Rate Of A Hyperlink?

Jul 8, 2009

Track open rate of hyperlinks

View 3 Replies

VS 2010 Interest Rate Limitation?

Feb 14, 2012

I am working on a program that takes a present value, multiplies it by an interest rate (between 1 and 25 percent), multiplies the resultant answer by a specified number of periods and produces a listbox breakdown of value accumulation for each period. I was doing just fine. UNTIL. yeah, until......I don't really know when...... I am trying to specify that the interest rate must be between .01 and .25 (user has to enter it as a decimal on the GUI) or a Message Error box pops up. However, it seems that everywhere I drop my code, it doesn'

vb.net
Private Sub mnuClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuClear.Click

[code]....

View 5 Replies

Calculate Gross Pay Based On Hours And Rate

Nov 16, 2009

I have this code that is supposed to calculate the gross pay based on hours and rate, the program debugs without a problem but when I click the calculate button it gives me and answer of "0.00".

Public Class frmMain
Private Sub btnCalc_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCalc.Click
' calculates and displays a gross pay amount
Dim dblHoursWkd As Double
[Code] .....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved