Coder Social home page Coder Social logo

soundtest's People

Contributors

angstsmurf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

soundtest's Issues

Create comparison OGGs

It would be good to have recordings of how things are supposed to sound, which could then be compared with the actual output of the tests.

Ideally (in my dreams), there should be a way to just run through the tests, capture the sound output, then compare this against a "correct" sound file (which would have to be uncompressed or at least losslessly compressed, so not an ogg), all without human intervention.

Test how the interpreter handles loop marks in MODs

See garglk/garglk#160

We would need a good short sample of a MOD with a loop mark, and perhaps an OGG of how it is supposed to sound, for comparison.

Eliuk reports an issue with mod playback:

mod format has a loop mark.
if glk loops a mod, should respect the loop mark
garglk doesn't respect the loop mark in mods.
and loops all track, from begining.

(not all mods have a loop mark)

Pausing can still break play multi notifications

The play multi command can still break if two or more channels in it use the same sound resource and one or more of them are paused.

The sound notification system has no way of knowing which channel finished and sent the notification: it only gets information about the sound resource and the notification number, which will be the same for every channel that is part of the same play multi command. So we just pick the first channel we find that fits the description. This actually works as long as the channels involved are never paused, as they will then end at (pretty much) the same moment if they use the same sound resource. However, as soon as one channel is paused, it will get out of synch with the others, and things will become confusing as the player may be told that a channel has finished while it can still be heard playing or vice versa.

This could be worked around with a system of timestamps and a property of the channel indicating how long it has been playing in milliseconds, pauses excluded. While simple in theory, it could become quite a lot of work due to things like saving and restoring, and a number of assumptions that the current code makes.

soundtest

Hi.

Im using sounds in inform7 and found your site. I downloaded and tried Sound test.inform, and got the following error after running Autotest.. and then the line When the AIFF stops playing.

Fatal error: Printing text to a window that is waiting for line or character input is not allowed.

I thought you might want to fix it.
Greetings and and a happy new year
Michelle

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.