Skip to content

Commit

Permalink
flac and mp3
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Jul 18, 2024
1 parent d0e284a commit 6138330
Show file tree
Hide file tree
Showing 37 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Code_source/Compiled/audio/play.file~/play.file~.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,19 @@ static void playfile_start(t_playfile *x, t_float f, t_float ms){
x->x_play = !err_msg;
}

static t_symbol* playfile_doopen(t_openfile *x, t_symbol *file){
char path[MAXPDSTRING], *fn;
int fd = canvas_open(x->x_cv, file->s_name, "", path, &fn, MAXPDSTRING, 1);
if(fd >= 0){
sys_close(fd);
if(fn > path)
fn[-1] = '/';
return(gensym(path));
}
else
return(file);
}

static void playfile_find_file(t_playfile *x, t_symbol* file, char* dir_out, char* filename_out){
const char *filename = file->s_name;
const char *dirname = canvas_getdir(x->x_canvas)->s_name;
Expand Down
Binary file removed Documentation/extra_files/MouthBow.wav
Binary file not shown.
File renamed without changes.
Binary file added Documentation/extra_files/audio/MouthBow.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/bagal.flac
Binary file not shown.
File renamed without changes.
Binary file added Documentation/extra_files/audio/bubul.mp3
Binary file not shown.
Binary file added Documentation/extra_files/audio/church.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/dholak.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/didge.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/drum-loop.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/drum-loop2.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/guitar.mp3
Binary file not shown.
Binary file added Documentation/extra_files/audio/kantele.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/numbers.mp3
Binary file not shown.
Binary file added Documentation/extra_files/audio/pointy-pick.mp3
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added Documentation/extra_files/audio/vacuous.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/violin.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/voice.flac
Binary file not shown.
Binary file added Documentation/extra_files/audio/wha-guitar.mp3
Binary file not shown.
Binary file removed Documentation/extra_files/bagal.aif
Binary file not shown.
Binary file removed Documentation/extra_files/bubul.wav
Binary file not shown.
Binary file removed Documentation/extra_files/church.wav
Binary file not shown.
Binary file removed Documentation/extra_files/dholak.aif
Binary file not shown.
Binary file removed Documentation/extra_files/didge.aif
Binary file not shown.
Binary file removed Documentation/extra_files/drum-loop.wav
Binary file not shown.
Binary file removed Documentation/extra_files/guitar.wav
Binary file not shown.
Binary file removed Documentation/extra_files/kantele.wav
Binary file not shown.
Binary file removed Documentation/extra_files/loop.wav
Binary file not shown.
Binary file removed Documentation/extra_files/numbers.wav
Binary file not shown.
Binary file removed Documentation/extra_files/test.wav
Binary file not shown.
Binary file removed Documentation/extra_files/vacuous.wav
Binary file not shown.
Binary file removed Documentation/extra_files/violin.wav
Binary file not shown.
Binary file removed Documentation/extra_files/voice.wav
Binary file not shown.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ $(wildcard Code_source/Compiled/extra_source/*.tcl) \
$(wildcard Code_source/Compiled/audio/scope3d~.pd_lua) \
$(wildcard Documentation/Help-files/*.pd) \
$(wildcard Documentation/extra_files/*.*) \
$(wildcard Documentation/extra_files/audio/*.*) \
$(wildcard *.txt) \
Documentation/README.pdf \
Code_source/Compiled/control/lua/pd.lua \
Expand Down

0 comments on commit 6138330

Please sign in to comment.