Skip to content

Instantly share code, notes, and snippets.

View jerryorta-dev's full-sized avatar
🏠
Working from home

Jerry Orta jerryorta-dev

🏠
Working from home
View GitHub Profile
@jerryorta-dev
jerryorta-dev / create-wav-from-buffer.js
Created January 29, 2022 14:01 — forked from revolunet/create-wav-from-buffer.js
web audio + wav buffering
/*
Goal : instantly play any wav source without download the file and without <audio/>
Idea is to use the fetch streaming API and pass raw data to web audio
My use case is playng a wav file
following http://stackoverflow.com/questions/38589614/webaudio-streaming-with-fetch-domexception-unable-to-decode-audio-data/38593356#38593356
$theme: (
color: (
primary: (
50: #e3f2fd,
100: #bbdefb,
200: #90caf9,
300: #64b5f6,
400: #42a5f5,
500: #2196f3,
600: #1e88e5,
@jerryorta-dev
jerryorta-dev / .block
Last active December 3, 2019 19:21
d3 parseTime
license: mit
@jerryorta-dev
jerryorta-dev / .block
Last active October 8, 2019 19:06 — forked from rajvansia/.block
Scatterplot with brush d3 v4
license: gpl-3.0
@jerryorta-dev
jerryorta-dev / poller.ts
Created November 7, 2018 18:15
Demo Poller
import { IParamsObject, ISearchParams } from '@sp-model/globalSearch.model';
import { Observable } from 'rxjs/Observable';
import { timer } from 'rxjs/observable/timer';
import { merge } from 'rxjs/observable/merge';
import { distinctUntilKeyChanged } from 'rxjs/operators/distinctUntilKeyChanged';
import { filter } from 'rxjs/operators/filter';
import { map } from 'rxjs/operators/map';
import { mapTo } from 'rxjs/operators/mapTo';
import { switchMap } from 'rxjs/operators/switchMap';
import { takeUntil } from 'rxjs/operators/takeUntil';
@jerryorta-dev
jerryorta-dev / search.ts
Created November 7, 2018 18:14
Demo Search
import { Injectable } from '@angular/core';
import { AppEventsService } from '@sp-services/app-events/app-events.service';
import { ISearchPartyResponse } from '@sp-services/party/party.interfaces';
import { PartyService } from '@sp-services/party/party.service';
import { UiStateStore } from '@sp-store/ui-state/ui-state.store';
import { Observable } from 'rxjs/Observable';
import { of } from 'rxjs/observable/of';
import { catchError } from 'rxjs/operators/catchError';
import { debounceTime } from 'rxjs/operators/debounceTime';
import { distinctUntilChanged } from 'rxjs/operators/distinctUntilChanged';
@jerryorta-dev
jerryorta-dev / .block
Last active October 24, 2018 17:31
Heatmap Calendar ( Vertical )
license: mit
border: no
scrolling: yes
@jerryorta-dev
jerryorta-dev / .block
Created September 11, 2018 10:11
fresh block
license: mit
@jerryorta-dev
jerryorta-dev / .block
Last active August 28, 2018 15:54
Scatter I
license: mit
@jerryorta-dev
jerryorta-dev / .block
Last active August 27, 2018 07:57
FEM: Exercise 2 Starter
license: mit