|
You know. I try to create a Morse sound with high Speed ( about 250 word per minute). So, I must play beep sound in 20 ms or 30 ms. Do you have any idea? Please help me.
|
|
|
|
|
If you are using normal Morse spacing, the duration of a dit in seconds is given by 1.2/WPM. (cf. my article[^]) For 250 WPM that means a single dit is 4.8 msec long. If you choose a frequency around 1000 Hz, then a cycle is 1 msec long, so that means you have only 4.8 cycles of the audio wave in a dit .
It shouldn't be any surprise that you can't hear that.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Yes you can increase the Duration of beep(second parameter's value) but not volume i think.
|
|
|
|
|
See this reference[^] for details of frequencies for this command.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I'm writing an application that is basically listing all devices that are not correctly working in Windows. This is done using the win32_pnpentity WMI class. It works perfectly in both Windows XP and Windows 7.
The next step is to determine the Hardware IDs for these devices. In Windows 7 one can simply use the "HardwareID" property of the win32_pnpentity class, but this property is not available in Windows XP (see this website). I've searched for hours but I cannot find an alternative way to determine the Hardware IDs for a device using C#, or how to determine them in Windows XP.
Does anyone have a suggestion on how to proceed (use another WMI class, or another approach alltogether)?
|
|
|
|
|
Hi friends. I have made a small football season game program. But now i need some written comments like "excellent shoot from Xavi", "hit the crossbar" ... Has anybody worked on sth like this before? Or do you have any idea to share.
|
|
|
|
|
Uhhh, you need WHAT?? "Written comments"?? What's that supposed to mean??
What you posted doesn't make any sense at all.
|
|
|
|
|
It's a game of two halves.
The boy done good.
Hoof the ball down for the big man.
The referee's a .... (I can't finish that one here)
He dived ref.
|
|
|
|
|
|
That's the one, and I got bored at that point. I was tempted to link Colemanballs for him.
|
|
|
|
|
OK, why was this reported as a "spam or abusive message"?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Try playing Championship Manager, Football Manager etc and seeing the type of messages they give you.
Typically a comment is associated with an 'event' in your simulation: a shot, save, corner, tackle, pass etc (what level of event you choose to associate comments with is part of your design and depends on the speed and detail of the game). A single event can have several possible comments associated with it, for variety, and a single 'comment' can be a chain of parts (e.g. 'Suarez receives the ball from Sterling', 'he turns', 'Suarez shoots towards the far post', 'He hits the post!').
|
|
|
|
|
Yes i need sth like this but it seems something complicated. Do you have a simple code snippet?
|
|
|
|
|
No sorry all my experience in this sector comes from playing games, not writing them
|
|
|
|
|
Hello guys;
The code below returns an empty records but gave records from SQL+.
DbProviderFactory factory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
DbConnection connection = factory.CreateConnection();
connection.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Simplex-IT-02)(PORT=1521)))
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Simplex))); User Id=User_Test;Password=password;";
DataTable table = new DataTable();
DbCommand command = connection.CreateCommand();
command.Connection = connection;
command.CommandText = "SELECT text FROM user_views WHERE (view_name='ACCOUNT_BALANCES_BY_PERIOD');";
DbDataReader dataReader = command.ExecuteReader();
table.Load(dataReader);
dataReader.Close();
Meanwhile, when I replaced the command.CommandText with "SELECT DISTINCT view_name FROM user_views" it gave me list of all available views for the given schema.
Why can't I get the sql text of a given view?
Thank you in anticipation.
|
|
|
|
|
Just a suggestion what if you give the "text" column name an alias?
Oracle Column name as alias example[^]
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Simon_Whale wrote: Just a suggestion what if you give the "text" column name an alias?
Thank you for the suggestion but I have already done that and it didn't work.
|
|
|
|
|
|
This could be related to ANSI Code Settings.
Ray Yagubyan
|
|
|
|
|
|
awedaonline wrote: The code below returns an empty records but gave records from SQL+.
That isn't clear.
Are you saying it returned zero records or that that returns some records but there was no data in the records?
What values are returned by the following properties?
dataReader.FieldCount
dataReader.HasRows
What is the data type of 'text' in the database?
|
|
|
|
|
My first thought is to remove the semi-colon from the end of the statement. Many ADO.net providers don't like executing a batch of statements.
P.S. I get the following when I try to execute "SELECT * FROM dual;"
Oracle.DataAccess.Client.OracleException: ORA-00911: invalid character
I hope your classes aren't swallowing Exceptions.
modified 23-Nov-12 15:26pm.
|
|
|
|
|
Hi
i need to run an vb.net exe builded on VS2010 express edition. Can i run the exe to Run on any pc ?
DO that need framework installed in that machine ?
Please give inputs.
Thanks,
Krish
|
|
|
|
|
If you need to run your application on a separate machine, then you really need to have the .NET framework installed on that machine. There were some commercial applications that allowed you to bundle everything you needed for your application into one single executable but, in general, these were very expensive and also meant that clients wouldn't benefit from enhancements to the underlying framework while they used your app.
One small point - you said a VB.NET application. You do realise that this is the C# forum don't you? The people who answer questions on the VB.NET forum are no less clever.
|
|
|
|
|
I would suggest that you in future place all VB.NET question in the VB.NET Forum[^].
But to answer your question all you need to do it make sure that the machine has the correct .net framework installed.
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|