Jump to content
IGNORED

music lengh


jbaudrand

Recommended Posts

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.

  • Like 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

:/ 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 by Random Terrain
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...