|
Hey everyone,
Question... is anyone aware of an SDK or a library that will do audio/acoustic fingerprinting? If not; is anyone willing to help write one? *grin*
In case you're not aware of what I'm talking about - it's the same technology that you see nowadays in the iPhone or what have you ... you hold your phone up to the TV or radio while you listen to a tune that you like; but you're not sure who the song is by... give your phone about 30 seconds, and it returns back to you the name of the song and the artist.
Is there any open source library or SDK that anyone is aware of that could get us coders started on some projects? I'm not interested in creating another "what song was that?" recognition application; but rather something different. Anyways, having such a library would be awesome.
Or, if anyone is willing; could someone give me a few pointers on what it would take to write such a library? I'd imagine there is some sort of hard math involved to figure out patters and peaks; etc to a song. Does anyone know of the research that it would take to make it happen?
Thanks for reading -
Brandon.
|
|
|
|
|
My business partner implemented one to sort identify duplicates and classify images/music. The main issue you will face is that this area, practically, has the hell patented out of it. So don't expect to be making a commercial release
As for open source... the Neuros digital audio computer had an Hear It Save It feature, similar to the iPhone (but this was around 10 years ago), and open source firmware (not sure if this algorithm was a binary blob or not). You might want to look there.
Yes, the math is hard. You will be needing a good understanding of audio transforms, some black magic in recording energy transistions and compressing this all down into a shortish key you can easily index while still doing partial matches.
The iPhone (like the Neuros) will probably use a third party service. I imagine they will make the client fingerprinting libraries avaliable for little cost, and charge a small amount per lookup.
|
|
|
|
|
Language:c#
what i want to do:
Open many images in 1 picture box??? Is it possible??? If yes, will this allow me to move the images and place them anywhere on the picturebox(even over one another) and how??
If not then how to open many images together in one form and allowing the user to place them wherever they want to(even over one another)????
Please help,,, i hope m clear enough...
|
|
|
|
|
why don't you use webparts?And in webparts put the images.
Cheers!!
Brij
|
|
|
|
|
Please use a better subject line next time.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Ditto.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Seems like there is a rash of them lately.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
i have problem in datagridview which is shown in image link bellow :-
link[^]http://img167.imageshack.us/my.php?image=67945689us3.png[^]
as shown in image the red circle shows that there is blank space appear
i don't want that
i cant reduce the size also because sometimes the data is to large
plz help
modified on Saturday, November 29, 2008 9:01 AM
|
|
|
|
|
The link doesn't specify you Qs properly
Cheers!!
Brij
|
|
|
|
|
if u have seen the snap shot i have uploaded
i made a rec color circle to show the place which is empty
when data is small then such problem occur but when data is large then there is no empty space
so i want to fit the data in datagridview even it is small.
|
|
|
|
|
Click the smart tag on the datagridview and select edit columns. Edit the last column and change the AutoSizeMode to fill.
Cheers!
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
thanks for reply
but i am using code to fiil datagridview like
DataGridView1.DataSource = ds.Tables(0)
so there is no columns in smart tag - edit columns
|
|
|
|
|
Then after the grid fills, programmatically change the setting for the last column in the grid?
DataGridView1.Columns(DataGridView1.Columns.Count - 1).AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Hello all,
i'm making a dynamic light system, that contains scene's. A scene has a lamp (philips livingColor), min 1 max 8, and each lamp has its own platform. The save/edit a scene i am saving all data in the class Lamp (and motor) in a list <color_point>.
The struct: Color_point has string, int and a Color.
However, if i want to serialise the class, i wont get a color in the xml. I know this is an private attribute, so i wont get something back. And I already read some more about making a different struc tfor the color. But.. how?
See Code:
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Collections;
using System.Collections.Specialized;
using System.Xml.Serialization;
namespace Light
{
[Serializable()]
public struct Color_Point
{
public string Name;
public int Time;
public Color Rgb;
public Color_Point(string name, int time, Color rgb)
{
Name = name;
Time = time;
Rgb = rgb;
}
}
[Serializable()]
public class Lamp
{
public int address;
public Color current_Color;
public Color previous_Color;
public List<Color_Point> list = new List<Color_Point>();
public Lamp()
{
address = 0;
}
public void setColor(Int32 time, Color rgb, string name)
{
int correct_time = 0;
if (name != "Fade")
{
if (list.Count == 0)
list.Add(new Color_Point(name, 0, rgb));
else
{
correct_time = getTime("btnColor" + LastNumber()) + time;
list.Add(new Color_Point(name, correct_time, rgb));
}
}
else
list.Add(new Color_Point(name, time, rgb));
}
How can i make sure that i also save the Colors??
Thank you!
|
|
|
|
|
An easy way around that is to make the color private and expose it's constituant parts (R, G, B) as pubic properties.
A leaner way to do it would be to implement your own custom serializer for your class. See this[^] for a quick explanation and sample.
|
|
|
|
|
I want to check file is copied perfectly or not without losing any single bit of data.
How can I achieve this using vb.net
I am using system.IO for drive type,copy file and drive accessible or not.
Waiting for your valuable thought
Thanks in advance
|
|
|
|
|
You could hash the original file, and the copied file, and check that the hashes match.
.net provides an MD5 has class. Doc are here[^].
Simon
|
|
|
|
|
There's a problem with doing this instead of relying on the file system to do it for you.
You have to read the entire source file, hash it as you copy it, then write the file out to the destination. Then, you have to go and read the entire destination file and hash it. Depending on the file size, this can be a time consuming process! Then compare the hashes. But, this does NOT guarantee a good copy!! Why?? What if the source file was read incorrectly?? You have no way of knowing that it was a bad read, so you'll end up hashing it and writing it out correctly, and just end up guaranteeing that you made a bad copy.
|
|
|
|
|
This is the filesystems job, not yours. If the filesystem has a of corrupting a bit on read, then your checking will have two effects:
1) Double the amount of work, so the copy takes twice as long.
2) Double the number of reads, so you are twice as likely to get a single read error over the operation - which means you'll have to try again.
You will also very likely stuff this up and end up reading the written file straight back out the OS's cache, which won't check the underlying media at all.
|
|
|
|
|
i have a problem that Form size. It is different for different computer
tell me how can i fix size of my form for any computer
|
|
|
|
|
Like I said in your other thread, you can grab the dimensions of the primary monitor (System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height) and set your form to that size....
WHOOPS; just misread what you typed there, sorry about that.
What's the problem with the size? Be more specific
|
|
|
|
|
Ok, I think I understand your problem. Sorry, reading that English was a little different.
Form sizes may appear skewed from monitor to monitor due to different resolutions. An approach on how to fix that isn't something I'm familiar with. Each control would be proportionalized evenly so they would all have the same aspect ratio, but not the size that you want visibly.
I guess one (annoying) way would be to change the screen resolution yourself manually as a part of your program.
|
|
|
|
|
hi
i want a help
i want my form to open in maximize when i click on exe file and i also want to disable the maximize/minimize button b'cos i don't want my user to change the form size .....
can anyone tell me how i can do it....
|
|
|
|
|
formborderstyle fixedtoolwindow
private void Form1_Load(object sender, EventArgs e)
{
this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
this.Width = this.MaximumSize.Width;
this.Height = this.MaximumSize.Height;
}
or you can get bounds of the primary screen and set width and height to that, set topmost to true so its always on top
|
|
|
|
|
Hi,
there are several Form properties dealing with your needs; check MimimizeBox, MaximizeBox, and WindowState. Read up on these and others. Be careful, some of them do not work when others have specific values (e.g. for some border styles minimize/maximize are always absent).
|
|
|
|