Commit Graph

202 Commits

Author SHA1 Message Date
Allen Ray
00d0eeee23 Merge pull request #79 from tslocum/wavfixes
wav: Resolve conversion issues
2021-08-31 09:41:18 -04:00
Allen Ray
b1fa209768 Merge pull request #84 from hyperturtle/patch-1
Update decode.go
2021-08-31 09:22:17 -04:00
Allen Ray
7a44c0d062 Merge pull request #121 from nhalstead/master
Updates for doppler-stereo-room example: include Numpad Options
2021-08-31 09:16:59 -04:00
Allen Ray
1c98bf6415 Merge pull request #111 from cswank/flac-seek
Seek for flac
2021-08-17 00:27:30 -04:00
Allen Ray
f63673a97a Merge pull request #108 from jypelle/patch-1
Add Mifasol to list of projects using beep
2021-08-17 00:26:03 -04:00
Allen Ray
c82e9bed19 Merge pull request #124 from cswank/equalizer
Parametric equalizer
2021-08-17 00:20:54 -04:00
Craig Swank
178d18fa91 stereo equalizer
plus examples of mono and stereo
2021-06-23 11:11:22 -06:00
Craig Swank
a48355f4b6 apply was incorrect 2021-06-23 07:38:25 -06:00
Craig Swank
1aba2f33ac use beep.SampleRate 2021-06-22 11:24:32 -06:00
Craig Swank
6bf7b547a3 spacing on comment 2021-06-22 09:10:57 -06:00
Craig Swank
108b03e628 go mod tidy 2021-06-22 09:08:36 -06:00
Craig Swank
00f18b202e only call Seek if ReadSeeker is passed in 2021-06-22 09:08:36 -06:00
Craig Swank
a690fbdeb5 Seek for flac 2021-06-22 09:08:36 -06:00
Craig Swank
a187c68d84 more comments 2021-06-22 09:07:12 -06:00
Craig Swank
1caf1e87eb remove references to 'figure 1' from the blog post 2021-06-22 09:00:02 -06:00
Craig Swank
5049b373d9 Added some comments
And gave some credit to the author of the blog post upon which
this PR is based.
2021-06-22 08:58:00 -06:00
Craig Swank
de33a5ef1d Equalizer -> equalizer 2021-06-22 08:46:41 -06:00
Craig Swank
0a977a2d5e return beep.Streamer and rename some vars 2021-06-22 08:45:03 -06:00
Craig Swank
b913b006cd added a parametric equalizer
based on https://octovoid.com/2017/11/04/coding-a-parametric-equalizer-for-audio-applications/
2021-06-22 08:43:16 -06:00
Noah Halstead
e4e7150f91 Fix 7 and 9 (TL, TR) locations 2021-05-16 17:44:47 -04:00
Noah Halstead
1be1405a2c Added Diagonal Options 2021-05-16 17:41:39 -04:00
Noah Halstead
c4a1b548b4 Added mappings for the Numpad Buttons 2021-05-16 17:41:22 -04:00
Noah Halstead
1e84c748fa Added Reset Button 2021-05-16 17:40:51 -04:00
Noah Halstead
cfe44af632 Added EventMappedLocation for the button events 2021-05-16 17:38:16 -04:00
Noah Halstead
de510e3903 Moved the speakers closer to the center 2021-05-16 17:36:18 -04:00
Michal Štrba
98afada94b Merge pull request #101 from deryrahman/master
Upgrade oto v0.6.1->v0.7.1
2021-03-01 11:23:29 +01:00
Dery Rahman Ahaddienata
9e18967460 Upgrade oto v0.6.3->v0.7.1 2021-03-01 11:35:30 +07:00
jypelle
286bc3081e Update README.md 2021-01-04 13:57:15 +01:00
jypelle
b50d33f8d1 Add Mifasol to list of projects using beep
Hi (and happy New Year!),

Beep is missing a "Projects using beep" chapter, so I started it with a project I maintain: mifasol , which uses beep to play flac and mp3 files.

Thanks!
2021-01-04 13:53:37 +01:00
Dery Rahman Ahaddienata
92179c9e68 Upgrade oto v0.6.1->v0.6.3 2020-08-12 23:58:56 +07:00
Michal Štrba
d836f29bdc Merge pull request #80 from tslocum/doc
Document speaker lock status when using the Callback streamer
2020-07-12 22:28:12 +02:00
Michal Štrba
b6c540116e Merge pull request #95 from joe-getcouragenow/master
update deps
2020-07-12 22:27:15 +02:00
someone
48e6c65805 update deps 2020-07-12 22:01:38 +02:00
hyperturtle
f819e08689 Update decode.go
From https://sites.google.com/site/musicgapi/technical-documents/wav-file-format.
```
One tricky thing about RIFF file chunks is that they must be word aligned. This means that their total size must be a multiple of 2 bytes (ie. 2, 4, 6, 8, and so on). If a chunk contains an odd number of data bytes, causing it not to be word aligned, an extra padding byte with a value of zero must follow the last data byte. This extra padding byte is not counted in the chunk size, therefor a program must always word align a chunk headers size value in order to calculate the offset of the following chunk. 
```
2020-04-23 01:53:58 -07:00
Trevor Slocum
564c2be6b2 Document speaker lock status when using the Callback streamer
Resolves #66
2020-01-27 17:19:54 -08:00
Trevor Slocum
9f69bc6b3d wav: Resolve conversion issues
Resolves #69
2020-01-27 17:02:20 -08:00
Michal Štrba
b573886bdf Merge pull request #68 from mewpull/wav-reader-no-closer
flac,wav: relax Decode input to support io.Reader without Close method
v1.0.2
2019-10-26 22:24:51 +02:00
Robin Eklind
7249d75949 remove go 1.13 requirement from go.mod
This go.mod directive was put there automatically and
was not intended to be included in this PR.
2019-09-28 00:05:54 +02:00
Robin Eklind
7385e1c1e6 flac: relax Decode input to support io.Reader without Close method
This is to mirror the change made to the wav package.

ref: fbaab50be9
2019-09-28 00:03:29 +02:00
Robin Eklind
fbaab50be9 wav: relax Decode input to support io.Reader without Close method
Calling Close on the returned beep.ReadSeekCloser is a nop on the
underlying io.Reader the supplied reader to Decode is lacking a
Close method.

The motivating reason to relax the input parameter to Decode is
to allow for bytes.Buffer and bufio.Reader to be used, both of
which are lacking a Close method.
2019-09-27 23:57:54 +02:00
Michal Štrba
76df4462a3 Merge pull request #64 from MarkKremer/master
Fixed buffer pop # of samples instead of bytes.
2019-08-25 12:57:58 +02:00
Mark Kremer
b5d84767e8 Fixed buffer pop # of samples instead of bytes. 2019-08-25 12:45:12 +02:00
Michal Štrba
8fd2689909 Merge pull request #58 from avivklas/close-method
Close method
2019-05-21 11:08:14 +02:00
avivklas
7cb0546ab8 added Close method to speaker 2019-05-21 10:07:29 +03:00
avivklas
38e447c433 added Close method to speaker 2019-05-20 20:35:51 +03:00
avivklas
446c9655a3 added Close method to speaker 2019-05-20 20:30:53 +03:00
avivklas
3bacd911af added Close method to speaker 2019-05-19 08:36:56 +03:00
avivklas
641d0bf5c4 added Close method to speaker 2019-05-15 21:06:09 +03:00
Michal Štrba
56e7c3c10f fix word 2019-05-14 16:45:51 +02:00
Michal Štrba
893acec514 add an important notice to the README 2019-05-14 16:44:05 +02:00