Skip to content

The native implementation of the Tauwa interface, running in the web-browser

License

Notifications You must be signed in to change notification settings

Canardoux/tauweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e1d54b0 · Feb 20, 2025

History

96 Commits
Feb 8, 2025
Feb 19, 2025
Feb 20, 2025
Feb 20, 2025
Feb 19, 2025
Nov 4, 2024
Sep 16, 2024
Sep 16, 2024
Feb 20, 2025
Sep 13, 2024
Feb 20, 2025
Feb 13, 2025
Nov 22, 2024
Nov 22, 2024
Nov 22, 2024
Feb 20, 2025
Nov 22, 2024
Sep 28, 2024

Repository files navigation

Tauweb stands for Ukraine!

PeaceForUkraine Peace for Ukraine

PrayForUkraine Pray for Ukraine

Tauweb

Tauweb is an Etau implementation for Flutter on Flutter Web.

Etau is the interface and this is what see the App. So, there are not many things to say about Tauweb because this is just an implementation. The only verb used by the App is tau(), which gives the implementation.

You can see all the Etau project documentation here.

Example

import 'package:etau/etau.dart';
import 'package:tau_war/tau_web.dart';

  @override
  void initState() 
  {
        super.initState();
        tau().init().then 
        ((e){
                audioCtx = tau().newAudioContext();
        });
  }

  ...
        // Then all the code depends only on the interface (`etau`)
        dest = audioCtx.destination;
        source = audioCtx.createBufferSource();
        source!.buffer = audioBuffer;
        pannerNode = audioCtx.createStereoPanner();
        pannerNode!.pan.value = pannerValue;
        source!.connect(pannerNode!).connect(dest!);

if your App needs to support at the same time Flutter Web And Flutter on mobiles:

import 'package:etau/etau.dart';
import 'package:etau/dummy.dart'
  if (dart.library.js_interop) 'package:tau_web/tau_web.dart'
  if (dart.library.io) 'package:tau_war/tau_war.dart';

  @override
  void initState() 
  {
        super.initState();
        tau().init().then 
        ((e){
                audioCtx = tau().newAudioContext();
        });
  }

About

The native implementation of the Tauwa interface, running in the web-browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published