Code Monkey home page Code Monkey logo

flodjs's Introduction

JavaScript / HTML5 Flod 2.1

What's new in 2.1:

  • some small modules (less than 2150 bytes) were not recognized as valid
  • His Master's Noisetracker, fixed Peggy Go Home null sample pointer
  • His Master's Noisetracker, fixed Ikke Advanced wrong patterns pointers
  • SoundFX, fixed effect 9
  • SoundFX, added support for untouched Operation Stealth modules
  • Soundtrackers, fixed period overflow, portamento up/down
  • FastTracker II, fixed not working master volume

What's new in 2.0:

  • new David Whittaker player
  • new FredEd player
  • new Jochen Hippel player (regular and COSO formats, 4 voices only)
  • new Rob Hubbard player
  • added DigiBooster Pro 2.18 detection to the XM player
  • Delta Music 1.0, fixed wrong sustain value
  • Delta Music 2.0, fixed Warfalcons-Intromusik 2 crash
  • Delta Music 2.0, fixed wrong restart pointer
  • Digital Mugician, fixed sample loop pointer (fixes Hoi Level 4)
  • Future Composer (Flod only), 1.0/1.3 was using the wrong waves
  • SoundFX, fixed effect 7/8 [step down/up] (fixes Forever Tonight)
  • SidMON 2, fixed effect C/F [volume and speed] (fixes Cool Module)
  • SidMON 2 was processing effects at tick 0, it shouldn't :)
  • SoundMon, fixed buffer restore, most modules didn't play at all
  • ProTracker/NoiseTracker fixed vibrato depth value not set at the beginning
  • Fixed and updated Flip/Unzip

This is a JavaScript port of my AS3 Flod library, it currently works only in Chrome (I've used version 17.0.942.0 to develop it), hopefully in the future other browsers will add support for the Web Audio API.

It took a lot of effort to reach this stage so if you want to use it in any commercial production I'll ask you to mention the proper credits and to make a donation to: [email protected] via PayPal, thank you.

Special thanks to Richard Davey, Mathew Nolan and Andreas Argirakis :)

This version will replay the following music formats using the Web Audio API:

  • FastTracker II XM PC + DigiBooster Pro 2.18 detection
  • The Ultimate Soundtracker (Karsten Obarski)
  • DOC Soundtracker 9, DOC Soundtracker 2.0
  • Master Soundtracker
  • Soundtracker 2.3, Soundtracker 2.5
  • NoiseTracker 1.0, NoiseTracker 1.1, NoiseTracker 2.0
  • His Master’s NoiseTracker
  • ProTracker 1.0, ProTracker 1.1, ProTracker 1.2
  • SoundFX 1.0, SoundFX 1.8, SoundFX 1.9, SoundFX 2.0
  • FutureComposer 1.0, FutureComposer 1.2, FutureComposer 1.3, FutureComposer 1.4
  • SidMON
  • SidMON II
  • Brian Postma's SoundMon 1.0, 2.0 and 3.0
  • DeltaMusic 1.0
  • DeltaMusic 2.0, Delta Music 2.2
  • Digital Mugician
  • Digital Mugician 7 Voices
  • David Whittaker
  • FredEd
  • Jochen Hippel (regular and COSO formats, 4 voices only)
  • Rob Hubbard

Author

30th April 2012, Christian Corti Neoart Costa Rica E-Mail: [email protected]

Live Demo

http://sandbox.photonstorm.com/FlodJS/

Example

You can include just the player(s) you need in your page just remember that all the Amiga players needs the Core.js and the Amiga.js files too and the PC player (FT2) needs the Core.js and the Soundblaster.js files.

Example, including the ProTracker player:

Core.js
Amiga.js
PTPlayer.js

including the FastTracker II player:

Core.js
Soundblaster.js
F2Player.js

License

This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

flodjs's People

Contributors

photonstorm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flodjs's Issues

Little mistake in #51 line of FileLoader.js

There is a little problem easy to fix with loading STPlayer by FileLoader.js, player object not exists:
#51 if (this.player.version) return player;

i suppose should be:
#51 if (this.player.version) return this.player;

Typo Bug?

Hi I have a few xm mods generated from Sk@le tracker back in '06 and they can't be played back.
I suspect it has to do with the following line: https://github.com/photonstorm/FlodJS/blob/master/JS%20Flod%201.0/includes/F2Player.js#L376

You see , It expectets the tracker name to be "Sk@le Tracker" but my xm's read "Skale Tracker" at 0x26 zeropadded until 0x39 in the header.

I can't find a single mod that uses "Sk@le Tracker" as tracker name, did they change the description?

I'll take a look at it myself later when i have time.
Here's the mod that fails: http://www.tonyivanov.se/dump/kanelNinjaBulle.xm

relicensing maybe? please?

Hello @photonstorm,

this is an amazing project, much kudos, and I've looked in on it from time to time.
I feel like a cheat for asking this, but it's sad to see this code sit here when I believe it could have gained more attention in this time.

So I'll take the risk of ridicule and ask if the author would consider licensing the code under a more permissive license, like a BSD or MIT/X11 license, after this time?
CC licenses are not considered good code licenses (here and here) and rather US-law tailored.

I don't have any commercial interest in the code, and am not asking to skirt any payment here.
But it'd be great to see more contributions, maybe even some code-sharing with https://github.com/gasman/jsmodplayer (MIT license), their forks and other projects.

All for the good of mankind and bringing superior tracker music to the web :)
Thanks.

Though I see you also used a different tracker codebase in phaser, which doesn't give me much hope.

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.