jbaudrand #1 Posted June 5, 2011 Hello, I'm just stating working with music under Batari. I'm using Music Starter and I just made two low string notes to start music and it takes more than half of the 4K... Is there something wrong in my way of typing these kind of strings? musicdark.bas Quote Share this post Link to post Share on other sites
+Random Terrain #2 Posted June 5, 2011 Have you tried using the VbB Music and Sound Editor? It uses similar code, but you can do two channels or one channel and use sdata or data and play with the sound right in the editor. You do have a lot of waste in the code you posted. Here's one example: 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 11,10,30 11,10,30 2 That could be changed to: 11,10,30 11,10,30 72 You only need shorter durations if the sound is changing. 1 Quote Share this post Link to post Share on other sites
jbaudrand #3 Posted June 5, 2011 (edited) yes!!!! Thanks RT!!! I haven't try the new music editor yet, as far I remember the old one was not my cup of tea for doing music, maybe I should try the new one. Edited June 5, 2011 by jbaudrand Quote Share this post Link to post Share on other sites
jbaudrand #4 Posted June 5, 2011 Yes I've tried the new one, but I still can't figure how to write for two separate channel (the compilation fail). and you can't make fader/vibrato effect Quote Share this post Link to post Share on other sites
+Random Terrain #5 Posted June 5, 2011 Yes I've tried the new one, but I still can't figure how to write for two separate channel (the compilation fail). and you can't make fader/vibrato effect As long as you have the correct boxes checked, it should work. And you can edit the data in the data work box like you would in any editor (like Notepad). As long as you don't mangle the data, you can add your own effects by copying and pasting and changing the data to do whatever you want it to do. The best thing about the data work box is that you can preview the sound as often as you want. Just remember to save once in a while so you won't lose your music or sound effect if the Music and Sound Editor crashes. Quote Share this post Link to post Share on other sites
jbaudrand #6 Posted June 5, 2011 Yes I've tried the new one, but I still can't figure how to write for two separate channel (the compilation fail). and you can't make fader/vibrato effect As long as you have the correct boxes checked, it should work. And you can edit the data in the data work box like you would in any editor (like Notepad). As long as you don't mangle the data, you can add your own effects by copying and pasting and changing the data to do whatever you want it to do. The best thing about the data work box is that you can preview the sound as often as you want. Just remember to save once in a while so you won't lose your music or sound effect if the Music and Sound Editor crashes. :/ Even with reading the manual, I'm still try to understand how you can create easily a music with two different channels with this tool, I don't know to explain it in programmer way, but is it possible to have a box for channel 1 and antoher one for channel 0, if you tick 1 it automatically only change V,C,F lines corresponding to channel 1 in the text editor and let channel 0's lines untouched. Quote Share this post Link to post Share on other sites
+Random Terrain #7 Posted June 5, 2011 (edited) :/ Even with reading the manual, I'm still try to understand how you can create easily a music with two different channels with this tool, I don't know to explain it in programmer way, but is it possible to have a box for channel 1 and antoher one for channel 0, if you tick 1 it automatically only change V,C,F lines corresponding to channel 1 in the text editor and let channel 0's lines untouched. You never know. It all depends on the limitations of the program that jwierer uses. The way it is right now, if you check the box next to Dual Channel, then click on the note you want, its data is added to the data work box for channel 0. Click a note again and its data for channel 1 is added to the data work box. If you don't want two channels sharing the same durations, you can always enable mono mode and work on each channel separately. I don't know what's possible, but maybe jwierer could add an option to work on two separate channels in two separate data work boxes. When Dual Work Boxes is enabled, another data work box would open below the first one. Channel 0 data would be in the top data work box and channel 1 data would be in the bottom data work box. When previewed with an emulator, both channels would play at the same time. The code might look similar to this: www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#sound_example Edited June 5, 2011 by Random Terrain Quote Share this post Link to post Share on other sites