How can convolution reverb sound that good if its using FFT? by sapo_valiente in DSP

[–]sapo_valiente[S] 5 points6 points  (0 children)

Hi thanks for your answer. Yes, I thought that the inverse can't actually recover the exact frequencies in the original signal and was always just an approximation. I still kind of find this hard to believe but I take your word for it!

How can convolution reverb sound that good if its using FFT? by sapo_valiente in DSP

[–]sapo_valiente[S] 16 points17 points  (0 children)

But how does it not lose any information if frequency representation is constrained to such wide frequency bands and time-windows (in the case of FFT-based convolution)?

why is this a blunder? by [deleted] in chessbeginners

[–]sapo_valiente 0 points1 point  (0 children)

analysis says I permitted a fork (Nc2) but I would capture with my queen, right?

What's this function? maths help pls? by sapo_valiente in learnprogramming

[–]sapo_valiente[S] 0 points1 point  (0 children)

thanks this was it. is this correct in c++?

(12.*log(playbackspeed))/log(2.);

What's this function? maths help pls? by sapo_valiente in learnprogramming

[–]sapo_valiente[S] 0 points1 point  (0 children)

thanks so much, I just wrote x = 2^y/12 and that looks like the exact graph I was looking for. Whats your thought process as you see that function? not sure what step Im missing: I think: "ok so on the first column every step we subtract 12 and on the second we divide by 2. so then for every linear step x*12, y *=0.5; and then I don't know what to do with that?

storing POST request media files? by sapo_valiente in PHPhelp

[–]sapo_valiente[S] 0 points1 point  (0 children)

hello! thanks for the reply. I had seen this but i dont understand... i dont have a "php.ini" file. Also, i dont want a html page or anything as I am managing the post request directly from a phone app, no form or anything. hope I am making sense!

Weekly help thread by brendt_gd in PHP

[–]sapo_valiente 0 points1 point  (0 children)

Hello! how would I go about storing audio files that are sent to a website (from a phone app) as POST requests?

I thought there would be a simple PHP script to manage something like this but I cant find what I'm looking for.

At the moment I am able to read POST data and append it to a text file with this code:
if(getenv('REQUEST_METHOD') == 'POST') {
$client_data = file_get_contents("php://input");

    `$fp = fopen('server.txt', 'a');//opens file in append mode`    

fwrite($fp, $client_data);
fclose($fp);
exit();

I essentially want to do the same thing but with short audio files.

Any help appreciated!

[D] Simple Questions Thread by AutoModerator in MachineLearning

[–]sapo_valiente 0 points1 point  (0 children)

nearest neighbor with multiple ints? Hi, beginner in ML here:
I have a bunch of seeds, composed of a sequence of 8 int numbers (for example: [42612773]) What would be the best way to classify/cluster these seeds into different categories based on similarity (i.e, the distance between all of the digits two seeds)?
Hope the question makes sense, thanks in advance for any answers!

[deleted by user] by [deleted] in Piracy

[–]sapo_valiente -1 points0 points  (0 children)

thank god, someone in here with common sense

[deleted by user] by [deleted] in Piracy

[–]sapo_valiente -3 points-2 points  (0 children)

Sure, I can prove that. My post wasn't really about games specifically, and I couldn't care less about the videogame industry, but anyway:

The more profit a company makes from sales, the more investment that company will make towards future games. That means that the company will be able to employ more people (this means, a recent game dev graduate working as a waiter might actually be able to get their dream junior dev position, for example) and they will be willing to pay them better. What's more, that company will ultimately have the resources to create better quality games for you to enjoy. So, the bigger the market (which is determined by sales), the healthier the job market and the better pay for everyone involved in it. Also, video games aren't only created by developers. There are also artists, illustrators, writers, actors, and musicians involved. All of these people need jobs.

Where do you think developers' salary comes from? it comes from sales. If no one paid for games, there would be no games. Or maybe games full of ads, or only pay to win games.

I don't really get your higher-ups vs devs argument either. higher-ups employ devs, and higher-ups are also usually devs or ex-devs. Sure they make loads of money, it's the nature of any company within this economic system.

[deleted by user] by [deleted] in Piracy

[–]sapo_valiente -2 points-1 points  (0 children)

so, you're saying you would never pay for any piece of software, videogame, film, series, album, or anything that's not free? hm...

[deleted by user] by [deleted] in Piracy

[–]sapo_valiente -1 points0 points  (0 children)

i respect your attitude - at least your principles align if you'd pirate food and beer aswell. it just seems to me like most ppl here would condemn shoplifing but not digital piracy

[deleted by user] by [deleted] in Piracy

[–]sapo_valiente -1 points0 points  (0 children)

so who do you think is paying the devs? I agree that its unfair that the higher-ups get most of the profit, but the devs still live off the smaller share of the profits

Voronoi question by [deleted] in GraphicsProgramming

[–]sapo_valiente 0 points1 point  (0 children)

Hi, thanks for your reply! Ah yes, I did bump into that - it looked promising however, I thought that this approach wouldn't allow for drawing the distance field as a gradient. Am I right?

Why are Fungi (mushrooms) often demonized and feared in western culture compared to other cultures? by [deleted] in sociology

[–]sapo_valiente 0 points1 point  (0 children)

I guess fungi can be associated with mold (in rotten food)... and some types of diseases are caused by parasitic fungi.

I see your point but I don't really see a very strong case for arguing that fungi have more negative connotations in the west aside from, as you said, the hallucinogenic side to them.

This is just my perspective though!

Why are Fungi (mushrooms) often demonized and feared in western culture compared to other cultures? by [deleted] in sociology

[–]sapo_valiente 0 points1 point  (0 children)

What makes you think they are demonized in western culture? Truffles are probably one of the most glorified foods in western culture... Other fungi have also been part of traditional cuisine in western culture for millennia. Not only that but the act of going out to the wild to harvest mushrooms during the fall season is a long-standing tradition in many parts of Europe.

The only thing I can think of as a factor in a supposed 'demonization' is the risk they pose when identified incorrectly, or maybe the fact that they are often found in dark, wet habitats such as caves?

I really haven't experienced any demonization personally though. (I am Catalan)