animal-crossing-music-extension / ac-music-extension Goto Github PK
View Code? Open in Web Editor NEWGoogle Chrome extension that plays hourly Animal Crossing music and more while browsing!
Home Page: https://acmusicext.com
License: zlib License
Google Chrome extension that plays hourly Animal Crossing music and more while browsing!
Home Page: https://acmusicext.com
License: zlib License
See the fork issue for context.
Instead of resuming the audio nearly instantly after a tab stops playing audio, introducing a slider that will allow the user to adjust how long it waits before resuming has been a requested feature.
Hey @JdotCarver,
I've been giving this a lot of thought; I'd actually enjoy taking on some responsibility to fix this extension up if you'd want to swap ownership.
Is that something you're still looking at?
Currently in the process of finding all events with custom music. Once complete, music dumps, play times and loop need to be found and implemented.
Animal Crossing Events:
City Folk/Wild World Events:
New Leaf Events:
The loop returns a little early when it reaches the two notes on the piano part ;/, just a minor pet peeve. Love this extension tho :)
As per readme. Adding this as an issue as I'm currently working on it.
the file /img/icon_32.png is named incorrectly, it should be icon_32_kk.png.
👋 Hi! Is [email protected] still another way to reach you? Sent an email there earlier today, so just making sure you're still monitoring it.
Most of the time, the Tab Audio Behavior does not react when audio starts or stops playing in a tab. instead reacting when the settings tab is selected. Sometimes it may react as intended, however it is uncommon.
Some people have requested a toggleable feature that plays ambient noises (like rain sounds, crickets/cicada's chirping, etc.) along with the extension's music. Would be a nice addition I believe.
notifications don't work
Should be pretty easy to do, I managed to get an older build somewhat working.
I chose a random audio file from the google drive folder:
new-leaf-raining/10am.ogg
and re-encoded it using ffmpeg:
ffmpeg -i 10am.ogg -acodec opus -vn -f ogg out.ogg
and found that the filesize was reduced by 67%. Either the original files were
encoded with excessively high bitrates or opus is just that much better. I
didn't hear any difference in quality either.
Some songs, such as the ACNL music is stored at a crazy 499kbps, despite the fact that the original soundtrack from the games files only exists at 299kbps. This is substantially larger than required and is also insane for any audio format. Songs need to be reduced to 320kbps maximum to reduce file size. Some songs for other games are also of lower quality than what's available and also contain audible artefacts of their lower quality.
At the moment, the text accompanying the live weather inputs in options are quite misleading, saying it needs a country code to function when it's actually looking for an ISO code. And also, the link from the zip codes text leads to a pretty shoddy website, a better one would be https://worldpostalcode.com/
In the AC games, there's support for a ? note, which is just a randomly selected note. This allows the note to variate each time the town tune plays.
For people trying to use the extension on corporate/VPN devices, this extension doesn't allow proxy auth, so music can't be fetched.
Two potential options are allowing there to be an auto-proxy detection url setting where you add the url for your proxy pac.
The other option would be to allow an 'offline' mode where you can download the tracks, although I think this would be much more difficult.
I know this is a pretty big ask and will probably never get done, and if I had more time I'd just write it myself, but alas, figured it was worth an ask since I wish I could use this on VPN/private proxy networks.
i.e. if it's 4:00pm play the 4:00 song from Animal Crossing, then Wild World, then New Leaf, then loop.
It would keep it from getting quite so repetitive.
Right now, the town tune player ignores the volume of the music and there is no way to even change the volume. It currently plays at 100% volume and can be quite annoying.
Tested with at least 30 latin american cities and not are reconoced for the plugin
Tested:
Peru= 3 cities
Chile= every main capital city
Argentina, Bolivia, Brazil, etc.
All send the message "invalid city"
when I exit google chrome, the extension somehow still plays, even though it should only be functional inside the browser. this may be a problem on my end, but I felt I should inform you anyway.
See PR here. Closed as it was very old and new version is currently under development.
Changing the step interval allows for more precise volume adjustments.
i am having trouble setting up a town melody, how do i set one up?
Hey guys, I was updating loop timers when right off the bat I noticed some just freeze the extension. My syntax should be correct, are there any limitations or exceptions to the system? @KyleChu
wild world and Let's go the City are missing both their snow and rain versions. I've got the tunes on my flash drive if you need them.
And have the option to play either DJ or 8bit versions, for either weekdays and sundays, or saturdays, or both.
Add an option to cycle between games after every loop so you're not listening to the exact same 1-2 minute loop for a full hour.
Another thread had me examining the size of the music files them self and weighing the quality vs. size options of managing an extension such as this. The first thought I had was why not take advantage of Google's REST API to dynamically access the files from the google drive folder instead of having every user download them to local storage.
Something as simple as a request resource in a URI should be very simple to implement. There are pros and cons to this.
Pros:
Cons:
This is a short list but either way I believe it is a worthwhile pursuit. It would involve a few steps:
In the end if the REST api calls prove to be too slow, the music will still have quality adjustments and size reduction.
Thoughts @JdotCarver @KyleChu ???
I get this error when trying to play in Opera Version:66.0.3515.72
Info
Uncaught TypeError: Cannot read property 'setActionHandler' of undefined
Context
_generated_background_page.html
// Make notifyListeners public to allow for easier notification sending.
window.notify = notifyListeners;
if (DEBUG_FLAG) {
window.setTime = function (hour, playTownTune) {
notifyListeners("hourMusic", [hour, options.weather, options.music, playTownTune]);
};
}
}
The loop is very jarring and noticeable.
I would love to hear my town melody even when I don't listen to the soundtrack.
Maybe you can make this a selectable thing.
A little icon in the side doesn't work well with my flow. It would be great to have keyboard shortcut which would turn on and off, or better yet pause, the music.
PLEASE NOTE THAT THE VOLUME SLIDER DOES WORK.
EVERY CHANGE THAT YOU MAKE WITHIN THE OPTIONS PAGE CAN ONLY BE APPLIED AFTER SAVING AND RESTARTING THE EXTENSION.
Just make your changes, hit save, click twice the extension's icon and voilà!
Please stop reporting this. ^^'
Hello! I recently came up with an idea to make some sort of program that would play the associated Animal Crossing music tracks in real-time. Turns out that already exists (right here), but I've noticed that development and maintaining has slowed or almost stopped, and that the extension on the Chrome Store hasn't been updated in a few years. I also noticed that this extension was in potential need of developers or something along those lines. I've made a Chrome Extension and also a Firefox extension in the past and have pretty good experience with JS, HTML and CSS (my profile is a bad example, I don't have a lot of open-source projects) and I'd be down to lend a hand with this whenever possible.
If you adjust the music volume while the extension's music is paused, it doesn't reflect the change once you resume the music.
As the title says, ever since the 4.0 update, the extension has stopped working on Opera despite the fact that it used worked fine before.
I have tried different settings, reinstalling the extension, and toggling off the tracker blocker and ad blocker but nothing seems to help. I'm on Windows 10 and I'm not using a VPN.
A function that allows the user to select which K.K. Slider songs that are allowed to play would be nice. A lot of people aren't a fan of every single on of his songs, which is fair since each one is so diverse.
Currently the sound effects in the town tune editor and when it actually plays aren't quite the same to the ones from the real games. Using dumps or rips from the files we could make them more accurate to most likely Animal Crossing New Leaf as it's the most modern and crisper sounding one.
It's just stuck on "checking". It still downloads, but it stops at 400mb~ and then crashes, then tells me to restart Chrome. Any fix?
I think a nice addition to the town-tune editor, without making it too complicated, would be a few save slots where you could save & retrieve tunes you've made, say 3 of them for simplicity's sake.
It is a feature I know I would personally enjoy, and given the sheer amount of town-tunes shared & googled on the internet and especially YouTube, I believe this is a feature more people than just me would be interested in.
When I try to open up the options menu, a blank screen pops up:
I am on Google Chrome Stable Version 50.0.2661.102 m (64-bit).
Thank you for putting in your time and effort into developing and releasing this extension.
EDIT: I have found a workaround for accesing the options menu.
https://gfycat.com/GiddyHelplessFlamingo
By manually typing in the extension's address, followed by options.html, I am able to access it.
.
Once the town tune plays, it throws off the loop times for the songs, causing jarring loops.
When I upload your new version on google extensions I'm facing an issue.
Moreover I'm a total beginner ....
Here is the problem :
Failed to load ressource: net: :ERR_FILE_NOT_FOUND 11am.ogg.1
Uncaught (in promise) DOMException _generated_background_page.html1
I've tried to fiddle around with the files to realize that the best way I can see to do this would be by:
// get path of a song file
function setAudioUrl(file) {
if (checkKK()) {
currentMusic = 'kk';
}
else {
currentMusic = options.music;
file += 'm';
}
audio.src = '../' + currentMusic + '/' + file + '.ogg';
The kkac music is in the Resources category on the readme
The github version is v3.4 but the one in the web store is still v3. So will the extension eventually be updated or has development completely stopped on this project?
(I know this isn't the right place for questions like this. It's just that I don't know where to ask this instead)
I have just received a mail from a user that wanted to help out. Hopefully we will be able to use this to implement the feature. Here is what he had to say:
"
It should be simple enough to use the OpenWeatherMap API (http://openweathermap.org/current) to periodically get the local weather for a city of the user's choice and determine whether to play sunny/rainy/snowy music. Granted the user can do it manually, but I think this would be a cute feature if it doesn't take much time to implement.
tl;dr of above link --
call http://api.openweathermap.org/data/2.5/weather?q=CityName&mode=xml
and check precipitation.mode: "no" = sunny, "rain" = rainy, "snow" = snowy.
"
and then you'd need to make it change the value of option.music in:
// get path of a song file
function setAudioUrl(file) {
if (checkKK()) {
currentMusic = 'kk';
}
else {
currentMusic = options.music;
file += 'm';
}
audio.src = '../' + currentMusic + '/' + file + '.ogg';
}
to switch weather music type and BAM.
Whenever something in Chrome plays sound (a video, a message notification, etc,) it'd be great if the extension's volume would automatically lower.
Out of curiosity, under which license it the music from animal crossing? I hear it often in youtube videos and streams used as background music.
Just curious.
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.