From: tiennou <tie...@gm...> - 2007-03-22 11:04:46
Attachments:
PGP.sig
|
I just committed my work on Sound file handling. I'm getting a few quirks here and there, and would like to know what you think about the GUI. I'm having a hard time with those damn sizers, and I have some controls appearing in front of others. There is a bug in loading chance value, because it's a 0 in every sound of every sound file I open. The pitch slider stuff doesn't work too. This is mostly unfinished stuff, no save support, no modification possible (yet), it's just a cute way of looking at a Sound file. On unrelated stuff : I'm thinking about creating a class to handle Name stuff. I remember that everytime a TC goes, there was a special hack to make Forge/ Anvil display the correct names. I would like to delegate this stuff to a special class (maybe some .fusionscenario file, which creates links between every Marathon file, and provide them with corresponding names). (I think of this because I'm reluctant to create a 215-item array for sound names...) tiennou |
From: Tito D. C. <ti...@da...> - 2007-03-23 12:34:44
|
On Thu, 2007-03-22 at 12:03 +0100, tiennou wrote: > I just committed my work on Sound file handling. I'm getting a few > quirks here and there, and would like to know what you think about the > GUI. > I'm having a hard time with those damn sizers, and I have some > controls appearing in front of others. > There is a bug in loading chance value, because it's a 0 in every > sound of every sound file I open. > The pitch slider stuff doesn't work too. I'll update the Makefile and give it a check after 0.3 release. > On unrelated stuff : > I'm thinking about creating a class to handle Name stuff. I remember > that everytime a TC goes, there was a special hack to make Forge/Anvil > display the correct names. I would like to delegate this stuff to a > special class (maybe some .fusionscenario file, which creates links > between every Marathon file, and provide them with corresponding > names). I'm not sure I've understood the problem. Are you referring to sound/collection names? I had an idea about this some time ago: at boot ShapeFusion looks for a special file containing custom names. If it doesn't find it, it uses defaults. > (I think of this because I'm reluctant to create a 215-item array for > sound names...) A plist in the MacOS X application package? For linux we could place a text file in the usual /usr/share/shapefusion, though I'm reluctant about placing files around. I say go with the array for now :) T -- Physics is reverse engineering |
From: Tito D. C. <ti...@da...> - 2007-03-25 11:58:58
|
I updated the Makefile and compiled on linux, no serious problems, just wxT's missing around and headers to adjust. You can see what I'm getting on altivec.fisica.indivia.net/first_shapefusion_sound_editor.jpg Good work! The GUI needs a bit of cleanup but it's nice to see that ShapeFusion can already handle sounds. Do you plan to allow for sound playing? It would be quite useful. I don't know if the latest wx supports raw sound play, but I know it can play wave files. So as a last resort we could export the sound on-the-fly to /tmp/random_name.wav or something like that and tell wx to play it ;-) Is this GUI layout similar to Wail? I'd make "Chance" a slider, maybe turn "Sound class" into a list on the left (like collections in Shapes) and maybe turn "Behaviour" to 3 checkboxes like "Sound source"... Personal taste, no priority. Keep on T -- Physics is reverse engineering |
From: tiennou <tie...@gm...> - 2007-03-26 11:29:01
|
Le 24 mars 07 =C3=A0 16:48, Tito Dal Canton a =C3=A9crit : > I updated the Makefile and compiled on linux, no serious problems, =20 > just > wxT's missing around and headers to adjust. You can see what I'm =20 > getting > on > > altivec.fisica.indivia.net/first_shapefusion_sound_editor.jpg Thanks for this one, I will be able to tweak a little more my GUI. > Good work! The GUI needs a bit of cleanup but it's nice to see that > ShapeFusion can already handle sounds. Do you plan to allow for sound > playing? It would be quite useful. I don't know if the latest wx > supports raw sound play, but I know it can play wave files. So as a =20= > last > resort we could export the sound on-the-fly to /tmp/random_name.wav or > something like that and tell wx to play it ;-) That is something I wanted to do, but I haven't got time to dig into =20 this... I prefered to make importing/exporting first (because this is =20= much more useful), and take a look at playing sounds next... I did =20 think of saving to a temp file and plug this file in wxSound, but I =20 don't know... It needs testing. > Is this GUI layout similar to Wail? I'd make "Chance" a slider, maybe > turn "Sound class" into a list on the left (like collections in =20 > Shapes) > and maybe turn "Behaviour" to 3 checkboxes like "Sound source"... Actually, I've gotten Basilisk working, so I was able to launch Anvil =20= (this GUI is Anvil one, plus the sliders/chance, and one of the =20 flags). I didn't take a look at Wail though, but I will. I'm willing =20 to make a permutation inspector, as Aleph One Sound file handling got =20= a revamping, and I got code to read the System 7 sound headers. There are some strange things on sound files though, sometimes the 8-=20 bit/16-bit sounds are the same, so opening/saving with ShapeFusion =20 actually makes the file bigger... (This is why I want an inspector). =20 Also the fact that chance is an int, but there's an discrete enum for =20= its values, so I used a menu... tiennou |
From: tiennou <tie...@gm...> - 2007-03-26 18:38:08
|
Hi ! I'm scratching my head on creating a well-fit GUI for the sound editor... I originally looked at Anvil, but followed your advice and looked at Wail (and I adit Wail's better...). But it has a main problem : Wail assumes sound flags are the same for both the 8-bit and 16-bit sounds, while in the file this is not the case (there is different flags for the 8/16 bit version). After a little thinking, I do agree that it is the sound file format that is strange (flags shouldn't be duplicated for the same sound class). I've never used any Marathon Sound editor (in a "professional" way I mean), so I want to ask you if you prefer a GUI that permits to edit every aspect of a sound file (Anvil), or one that hide some stuff from the file format, for the sake of "correctness". What do you think ? tiennou |