Quellcode durchsuchen

Squashed 'wav_player/' changes from cdafdd51f..ab770393b

ab770393b fix catalog versions
f402c33f0 combine 1
1943d2166 move base pack here
REVERT: cdafdd51f fix for new hal system
REVERT: 8e9945f2a Merge branch 'main' of https://github.com/LTVA1/wav_player
REVERT: 4058e71a5 fix remind bug for 16-bit wavs
REVERT: 934152e8b Update README.md
REVERT: 52ed499d3 16-bit WAV support, I hope, both mono and stereo
REVERT: f75388be8 correct slightly wrong sample rate
REVERT: 8a0376c1f Create README.md
REVERT: 01bbd99b0 added support for mono tracks
REVERT: 9f903d149 output is also playing on A6 GPIO pin, so direct sound recording is possible
REVERT: 556331e4a trying to add GPIO PWM output
REVERT: 928d43820 add different sample rates support
REVERT: 74d2c50cc z
REVERT: 9e9568f1c z

git-subtree-dir: wav_player
git-subtree-split: ab770393b6d63a7533ab063ae4246d10b96d8ddd
Willy-JL vor 2 Jahren
Ursprung
Commit
df38afc6de
7 geänderte Dateien mit 6 neuen und 5 gelöschten Zeilen
  1. 2 0
      README.md
  2. 3 0
      application.fam
  3. BIN
      img/1.png
  4. BIN
      img/2.png
  5. BIN
      img/3.png
  6. 1 1
      wav_player.c
  7. 0 4
      wav_player_view.h

+ 2 - 0
README.md

@@ -2,3 +2,5 @@
  A Flipper Zero application for playing wav files. My fork adds support for correct playback speed (for files with different sample rates) and for mono files (original wav player only plays stereo). ~~You still need to convert your file to unsigned 8-bit PCM format for it to played correctly on flipper~~. Now supports 16-bit (ordinary) wav files too, both mono and stereo!
  A Flipper Zero application for playing wav files. My fork adds support for correct playback speed (for files with different sample rates) and for mono files (original wav player only plays stereo). ~~You still need to convert your file to unsigned 8-bit PCM format for it to played correctly on flipper~~. Now supports 16-bit (ordinary) wav files too, both mono and stereo!
 
 
 Original app by https://github.com/DrZlo13.
 Original app by https://github.com/DrZlo13.
+
+Also outputs audio on `PA6` - `3(A6)` pin

+ 3 - 0
application.fam

@@ -8,4 +8,7 @@ App(
     fap_icon="wav_10px.png",
     fap_icon="wav_10px.png",
     fap_category="Media",
     fap_category="Media",
     fap_icon_assets="images",
     fap_icon_assets="images",
+    fap_author="@DrZlo13 & (ported, fixed by @xMasterX), (improved by @LTVA1)",
+    fap_version="1.1",
+    fap_description="Audio player for WAV files, recommended to convert files to unsigned 8-bit PCM stereo, but it may work with others too",
 )
 )

BIN
img/1.png


BIN
img/2.png


BIN
img/3.png


+ 1 - 1
wav_player.c

@@ -459,4 +459,4 @@ int32_t wav_player_app(void* p) {
     app_run(app);
     app_run(app);
     app_free(app);
     app_free(app);
     return 0;
     return 0;
-}
+}

+ 0 - 4
wav_player_view.h

@@ -48,10 +48,6 @@ typedef struct {
     uint16_t num_channels;
     uint16_t num_channels;
 } WavPlayerViewModel;
 } WavPlayerViewModel;
 
 
-
-
-
-
 WavPlayerView* wav_player_view_alloc();
 WavPlayerView* wav_player_view_alloc();
 
 
 void wav_player_view_free(WavPlayerView* wav_view);
 void wav_player_view_free(WavPlayerView* wav_view);