So I want to make a simple waveform editor for my samplesource site, and I was a bit leary, but after a bit of googling today, I found a few seemingly decent resources. One specifically for Java (however the damn site is still loading after fucking 10 minutes, I'm saving that puppy to disk so I don't have to reload it again.), and a few questions on usenet...

Basically from what I can tell is I'd have to analyze the file (with a wave I think this is easier than like mp3 or ogg, but there are libs to use so I'll try those, basically I think I could just decode the ogg/mp3 to a wav, then go from there. dunno for sure) Then, in the example someone mentioned... scan every 256 samples. That seems like low res, but if you figure that there's 44000 samples per second, then that's still like between 100-200 samples a second. For each sample, merely y++, then plot the x based on the data for that sample (that is, I believe, the amplitude of the signal... In the thing I read, they suggested taking the strongest signal from that set of samples, and use that to plot it) I'm still quite hazy on it, but I have a general grasp of the concept. When I have more time I'll look at the docs in further depth and think it through...

The next issue is going to be which framework to use. I want something that's useable in the browser so it can be either Java, Flash or Javascript. The next trick is to figure out how to allow a user to draw a selection of the sample, and export that to a file to be uploaded to the wiki (this would be done on the server I believe, encoding the little selection as an ogg file, as that's what mediawiki supports) A lot of shit to deal with, of course, but I think it's doable.

I tried looking at the audacity source code, but being that it's in CVS, I'm not sure I know where to begin. I looked at a couple spots that seemed promising, but there wasn't much info that was usable to me.

is the header file that appears to contain the code for selecting sections of a wave file.

This is for my own reference, as well as for those who give a rat's ass... I'm posting this so I can easily find it later... :)

Upload dialog??? Hmmm.... this could be of use as well...

(no subject)

Sep. 26th, 2005 10:11 pm
symbioidlj: (Mr. Flibble)
how hard would it be to create an extension to firefox that could render a directory of images as a mini-gallery. it shouldn't be that hard, should it?

(no subject)

Mar. 13th, 2005 09:31 pm
symbioidlj: (Default)
idea: custom script that allows you to post entries to multiple "social bookmarking" sites from one form.

site-specific fields will be indicated as such. a field that only furl, for example, uses "clipping" as part of its form, but <a href="></a> doesn't use that box in its form. would be highlighted orange(furl uses on orange logo), and for any other logo of other sites with different systems for bookmarking. Wonder how hard that would be to code... Probably not too hard.
AI Tagging system - context of document, analyze other tags(folksonomies)...

democratic - most popular tags rise to top, this system can utilize these tags to more accurately "hit" a category, based by parsing content of doc data.
don't know if I've ever posted this idea, but one thing that bugs me is that the "copy this link location" or "copy image location" in mozilla only copies the URL, which actually isn't bad for the link location, considering LJ parses the URL anyways, so you don't have to put the tags around it, but for images, you always have to type the img tag. It's nice I can copy the location of the image to the clipboard to paste in the tag, but wouldn't it be nice to have the menu selection automatically create the tag in the clipboard so when you paste it, you already have a fully formed tag? It would save a little more time.

It just seems to make sense to me.



symbioidlj: (Default)

November 2015

1 234567


RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 24th, 2017 10:40 am
Powered by Dreamwidth Studios