Giter VIP home page Giter VIP logo

Comments (7)

alexbainter avatar alexbainter commented on May 30, 2024 3

Hi @LawlietZe, this was done intentionally to help with costs, traffic recently increased quite a bit:
Screenshot from 2019-03-19 09-43-26

I had always intended to setup a method of fetching the files locally during development but just hadn't gotten around to it yet. Hopefully I can get that added this week; I'll use this issue to track the work. Thanks!

from generative.fm.

imyhxy avatar imyhxy commented on May 30, 2024 1

@metalex9 Yes, I deployed the code to another computer on the LAN.

My workaround is to copy the whole public folder from samples.generative.fm into generative.fm.
And change the DEFAULT_ENDPOINT in node_modules/@generative-music/samples.generative.fm/browser-client.js to public . Now it works.😋

from generative.fm.

LawlietZe avatar LawlietZe commented on May 30, 2024

@metalex9 thank you !

from generative.fm.

alexbainter avatar alexbainter commented on May 30, 2024

See the readme for updated instructions!

from generative.fm.

alexbainter avatar alexbainter commented on May 30, 2024

Also see #48, not sure why I didn't just do it this way from the beginning.

from generative.fm.

imyhxy avatar imyhxy commented on May 30, 2024

@metalex9
Hi, thanks for your awesome works.
I still can't figure out how to run the generative.fm locally. I have pull the samples.generative.fm and built the samples but still got the CROS error when I tried to play the music.

from generative.fm.

alexbainter avatar alexbainter commented on May 30, 2024

@imyhxy Any chance you're not hosting the site at localhost? For now, you must access the site at localhost:<some port> for this to work, though I have a change sitting in the develop branch which will fetch local samples for any host other than my production and staging hosts.

Otherwise, ensure your directory for samples.generative.fm is directly adjacent to the directory for generative.fm. If the build process can't find the local sample files, a message is output before webpack's output when you run npm start or npm run build which will show you where it's looking for sample files.

from generative.fm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.