Forums > MaxMSP

Ubumenu&subfolders

May 6, 2006 | 10:48 am

Hello everyone.

I am working on a quite simple patch, with some audiofile players with it’s volume, eq, pan etc…

All the files i need to use are in the same folder than the patch itself and i am using.

This is what i do:

max v2;
#N vpatcher 190 296 1024 771;
#P origin 0 19;
#P window setfont "Sans Serif" 9.;
#P newex 357 20 38 196617 r paths;
#P user ubumenu 357 44 97 196617 0 1 1 0;
#X add "1014_noid_cello Folder";
#X add 1046_Dynamicell_Competit#1460C9;
#X add 11501_A43_A43-FX-Two#145F05.aif;
#X add 11721_jameshicks_dis#142ED9.wav;
#X add 11735_inchadney_hot_#1438C7.WAV;
#X add 12723_klankschap_cof#143880.wav;
#X add 12723_klankschap_cof#143877.wav;
#X add 12724_klankschap_gar#143614.wav;
#X add 13574_acclivity_BoatSinging.wav;
#X add 13649_Heigh-hoo_hurr#1460A2.aif;
#X add 13687_bjornredtail_f#145FE0.wav;
#X add 14356_fonogeno_Lavat#145FBD.wav;
#X add 14386_reinsamba_Salv#1497ED.wav;
#X add 14387_reinsamba_Salv#1497E4.wav;
#X add 14600_RabsRich_crab_duet.wav;
#X add 15435_acclivity_Goat#1429A3.wav;
#X add 15455_RCA_rca_skate#147379.aiff;
#X add 15540_pitx_The_fall-#14979F.wav;
#X add 15776_stefanl_ice_carving.wav;
#X add 15_TicTacShutUp_Househol#14427C;
#X add 16108_sukaton_saunabass_hot.wav;
#X add 16726_sverga_birds-i#1438A0.aif;
#X add 16740_kijjaz_running#1435EC.aif;
#X add 16755_jppi_Stu_snori#145783.wav;
#X add 16996_Incarnadine_ke#1497DF.wav;
#X add 17009_adam_danz_Chil#14299B.wav;
#X add 17082_lgarrett_lg_sq#1497DC.wav;
#X add 17087_dskead_Gastown#143128.wav;
#X add 17164_eruk_Lassen.wav;
#X add 17477_linako_eating_cabbage.aif;
#X add 17638_fonogeno_refri#145F96.wav;
#X add 17656_bebops_bebops_fire2.aiff;
#X add 17700_sandocho_musicbox1.wav;
#X add 18037_WIM_grandfathe#1497FC.wav;
#X add 18173_sluzzslazz_bir#1436C1.wav;
#X add 18174_Bram_lullaby.wav;
#X add 18347_jmfh_Yellowstone-1.wav;
#X add 18408_vinchezbass_EM#1430E7.wav;
#X add 18650_catskinroyale_#1472C7.wav;
#X add 195_Sonic_Sonic_Ferry_Pa#14419E;
#X add 203_Juan_cordsAndPaper.wav;
#X add 2169_nosumo_Slow_Sex_Whiff.aif;
#X add "304_pushtobreak_valiha Folder";
#X add 364_kostasvomvolos_kalim#14612B;
#X add 503_dropthedyle_dtd_grelow.aif;
#X add 5649_pushtobreak_val#142F12.aif;
#X add 564_TwistedLemon_lighter.wav;
#X add 583_angstrom_Glockenspie#146117;
#X add 617_samplecat_bathroom_s#1441E4;
#X add 621_Techsetsu_Grandmithe#1441A9;
#X add 654_scuzzpuck_Found_Perc#14420F;
#X add 656_d.garro_dryaubergines01.wav;
#X add 677_schluppipuppie_kalim#146105;
#X add 700_uauaua_Soprano_Sax_M#144222;
#X add 7541_Jabadal_Placa_del_Pi_1.wav;
#X add 7543_Jabadal_Placa_del_Pi_3.wav;
#X add 7717_schluppipuppie_#145EF1.wav;
#X add 7806_hanstimm_va3.aiff;
#X add "789_melack_rub_beat Folder";
#X add "789_melack_rub_beat Folder.1";
#X add 7961_THeAnGelZ_MicroOndes.wav;
#X add 8320_Ned_Bouhalassa_#1437C2.aif;
#X add "850_reinsamba_frogs Folder";
#X add "863_pitx_Human_Voice Folder";
#X add "897_acclivity_Morocco Folder";
#X add 9235_Bram_bram_versu#14384A.wav;
#X add 9355_lupa_highdrone.wav;
#X add "969_Heigh-hoo_fast_train Folder";
#X add 9883_A43_A43-FX-Beac#145F08.aif;
#X add 991_RHumphries_RBH_H#142EBE.wav;
#X add NOWAVS;
#X add progress.txt;
#X add Sonarplayer;
#X prefix_set 0 1 "Macintosh HD:/Users/jaume/Desktop/descargaw/sonidosfreesound/" 0;
#P newex 77 20 38 196617 r paths;
#P newex 674 109 41 196617 s paths;
#P newex 674 14 45 196617 loadbang;
#P newex 674 89 74 196617 prepend prefix;
#P message 674 43 27 196617 path;
#N thispatcher;
#Q end;
#P newobj 674 63 60 196617 thispatcher;
#P user ubumenu 77 44 97 196617 0 1 1 0;
#X add "1014_noid_cello Folder";
#X add 1046_Dynamicell_Competit#1460C9;
#X add 11501_A43_A43-FX-Two#145F05.aif;
#X add 11721_jameshicks_dis#142ED9.wav;
#X add 11735_inchadney_hot_#1438C7.WAV;
#X add 12723_klankschap_cof#143880.wav;
#X add 12723_klankschap_cof#143877.wav;
#X add 12724_klankschap_gar#143614.wav;
#X add 13574_acclivity_BoatSinging.wav;
#X add 13649_Heigh-hoo_hurr#1460A2.aif;
#X add 13687_bjornredtail_f#145FE0.wav;
#X add 14356_fonogeno_Lavat#145FBD.wav;
#X add 14386_reinsamba_Salv#1497ED.wav;
#X add 14387_reinsamba_Salv#1497E4.wav;
#X add 14600_RabsRich_crab_duet.wav;
#X add 15435_acclivity_Goat#1429A3.wav;
#X add 15455_RCA_rca_skate#147379.aiff;
#X add 15540_pitx_The_fall-#14979F.wav;
#X add 15776_stefanl_ice_carving.wav;
#X add 15_TicTacShutUp_Househol#14427C;
#X add 16108_sukaton_saunabass_hot.wav;
#X add 16726_sverga_birds-i#1438A0.aif;
#X add 16740_kijjaz_running#1435EC.aif;
#X add 16755_jppi_Stu_snori#145783.wav;
#X add 16996_Incarnadine_ke#1497DF.wav;
#X add 17009_adam_danz_Chil#14299B.wav;
#X add 17082_lgarrett_lg_sq#1497DC.wav;
#X add 17087_dskead_Gastown#143128.wav;
#X add 17164_eruk_Lassen.wav;
#X add 17477_linako_eating_cabbage.aif;
#X add 17638_fonogeno_refri#145F96.wav;
#X add 17656_bebops_bebops_fire2.aiff;
#X add 17700_sandocho_musicbox1.wav;
#X add 18037_WIM_grandfathe#1497FC.wav;
#X add 18173_sluzzslazz_bir#1436C1.wav;
#X add 18174_Bram_lullaby.wav;
#X add 18347_jmfh_Yellowstone-1.wav;
#X add 18408_vinchezbass_EM#1430E7.wav;
#X add 18650_catskinroyale_#1472C7.wav;
#X add 195_Sonic_Sonic_Ferry_Pa#14419E;
#X add 203_Juan_cordsAndPaper.wav;
#X add 2169_nosumo_Slow_Sex_Whiff.aif;
#X add "304_pushtobreak_valiha Folder";
#X add 364_kostasvomvolos_kalim#14612B;
#X add 503_dropthedyle_dtd_grelow.aif;
#X add 5649_pushtobreak_val#142F12.aif;
#X add 564_TwistedLemon_lighter.wav;
#X add 583_angstrom_Glockenspie#146117;
#X add 617_samplecat_bathroom_s#1441E4;
#X add 621_Techsetsu_Grandmithe#1441A9;
#X add 654_scuzzpuck_Found_Perc#14420F;
#X add 656_d.garro_dryaubergines01.wav;
#X add 677_schluppipuppie_kalim#146105;
#X add 700_uauaua_Soprano_Sax_M#144222;
#X add 7541_Jabadal_Placa_del_Pi_1.wav;
#X add 7543_Jabadal_Placa_del_Pi_3.wav;
#X add 7717_schluppipuppie_#145EF1.wav;
#X add 7806_hanstimm_va3.aiff;
#X add "789_melack_rub_beat Folder";
#X add "789_melack_rub_beat Folder.1";
#X add 7961_THeAnGelZ_MicroOndes.wav;
#X add 8320_Ned_Bouhalassa_#1437C2.aif;
#X add "850_reinsamba_frogs Folder";
#X add "863_pitx_Human_Voice Folder";
#X add "897_acclivity_Morocco Folder";
#X add 9235_Bram_bram_versu#14384A.wav;
#X add 9355_lupa_highdrone.wav;
#X add "969_Heigh-hoo_fast_train Folder";
#X add 9883_A43_A43-FX-Beac#145F08.aif;
#X add 991_RHumphries_RBH_H#142EBE.wav;
#X add NOWAVS;
#X add progress.txt;
#X add Sonarplayer;
#X prefix_set 0 1 "Macintosh HD:/Users/jaume/Desktop/descargaw/sonidosfreesound/" 0;
#P connect 6 0 0 0;
#P connect 8 0 7 0;
#P connect 4 0 2 0;
#P connect 2 0 1 0;
#P connect 1 1 3 0;
#P connect 3 0 5 0;
#P pop;

Some of the sounds i am using are inside folders for better organization. Here it comes the problem. How do i manage to use ubumenu to access those subfolders? The perfect would be to not have to pop up dialog boxes in order to enter a new folder, neither to have to enter mannually every subfolder i want to access. But a dynamic self-adaptable system, like a normal file browser… without pop-up windows that cut my sound etc..

I am sure someone had to work this out before, thus i ask for advice on it.

Thank you very much for your time.

All the best.
Jaume


May 6, 2006 | 12:40 pm


May 6, 2006 | 6:33 pm

Hi again.

I just discovered that ubumenu can receive a command called "depth" that makes it show items inside subfolders.

It had to exist :D

sending a "depth 2" message will show up to 2 subfolders (i think) in the ubumenu itself.

So this is what i needed.

Thank you anyway.


May 6, 2006 | 8:03 pm


May 8, 2006 | 8:54 am

this does not work over here…

os 10.4.6 Max 4.5.5

can someboy send a (working) example patch please?

thank you!

max
_____________________________________________

m a x i m i l i a n m a r c o l l

http://www.maximilianmarcoll.de


May 9, 2006 | 6:58 pm

maximilian marcoll wrote:
> os 10.4.6 Max 4.5.5

You just discovered that your Max version is too old for that, try 4.5.7…

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


May 9, 2006 | 7:07 pm

My version of MAX is 4.3 and the depth message works, let me paste an example.

max v2;
#N vpatcher 190 296 1024 771;
#P origin 0 19;
#P window setfont "Sans Serif" 9.;
#P message 280 147 42 196617 depth 2;
#P newex 335 142 38 196617 r paths;
#P newex 462 164 41 196617 s paths;
#P newex 462 69 45 196617 loadbang;
#P newex 462 144 74 196617 prepend prefix;
#P message 462 98 27 196617 path;
#N thispatcher;
#Q end;
#P newobj 462 118 60 196617 thispatcher;
#P user ubumenu 335 166 97 196617 0 1 1 0;
#X add populateubumenu;
#X prefix_set 0 1 "Macintosh HD:/Users/jaume/Desktop/descargaw/sonidosfreesound/ubumenu/" 2;
#P connect 4 0 7 0;
#P connect 6 0 0 0;
#P connect 7 0 0 0;
#P connect 4 0 2 0;
#P connect 2 0 1 0;
#P connect 1 1 3 0;
#P connect 3 0 5 0;
#P pop;

This is ubumenu getting populated by the files in it’s same folder, including subfolders with a depth of 2 levels. Made on max 4.3 and working without problems.

All the best.
Jaume.


May 10, 2006 | 10:17 am

in deed, it’s working…
i messed up the prefix thing …

thank you!!

max


Viewing 8 posts - 1 through 8 (of 8 total)