jonshea / noisy Goto Github PK
View Code? Open in Web Editor NEWWhite Noisy Generator for OS X
License: Other
White Noisy Generator for OS X
License: Other
+1 for an iPhone fork. Same UI, same everything, just a crazy simple background noise app for iPhone with nice brownian noise. (I agree, it is good.)
I'm going to see if I can't get a pr together for this.
Just making sure that something obvious wasn't missed here.
Hi
Thank you very much for the update with the Brown noise.
Have you thought about putting a second slider under volume, to tune the "high cutoff" in a continuous way? So that you could get white, pink, brown, and all the variations in between (and maybe lower than brown too.) The three buttons on top could be just "presets" for the slider.
I mean, judging by this http://en.wikipedia.org/wiki/Colors_of_noise the color is just the cutoff rate of the frequency spectrum, so it's at least theoretically possible to make a continuous setting.
When the application properties are set via AppleScript, the application does not reflect them in the UI or the audio.
About shows v1.3, but I downloaded the "1.5" version from the zip file from this repository. The version number does not seem to have been bumped with the latest release / linked Zip. (#13)
When launching the app, I manually select White and adjust the volume slider pretty low.
Running the following AppleScript, I see that I can read the Application properties correctly:
tell application "Noisy"
get noise type
get noise volume
end tell
result:
tell application "Noisy"
get noise type
--> white
get noise volume
--> 9
end tell
Then, I use the following AppleScript to set the properties:
tell application "Noisy"
set noise type to pink
set noise volume to 20
end tell
Then I run the first AppleScript from above to ensure that the properties are set:
tell application "Noisy"
get noise type
get noise volume
end tell
result:
tell application "Noisy"
get noise type
--> pink
get noise volume
--> 20
end tell
At no point did the Noisy application change the noise type from white to pink, nor did the volume increase from 9 to 20.
Could someone build this for 2024 macOS versions and upload the binaries? Or could someone provide build instructions for those of us without experience building macOS codebases like this?
The Info.plist
shows version 1.3 although the latest information in commit messages and the Readme state the the current version is 1.5.
The Brownian noise sounds better when the random walk is reflected at the boundaries like this:
double brown = _lastBrownSample;
for (i = 0; i < bufferFrames; i++) {
double white = ((long)sGetNextRandomNumber()) * (double)(1.0f / LONG_MAX);
brown += white;
if (brown > 32.0) brown -= brown - 32.0;
if (brown < -32.0) brown -= brown + 32.0;
sample = (float)brown * 0.03125 * _volume;
*buffer++ = sample;
}
_lastBrownSample = brown;
I've also added a new member variable which stores the last sample so that the transition is always seamless. Currently, there are occasionally subtle click noises when the difference between the first and last sample happen to be large.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.