It is currently Mon Oct 20, 2014 4:04 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Music
PostPosted: Sun Oct 04, 2009 1:51 pm 
Offline
 Profile

Joined: Mon Jul 07, 2008 6:58 pm
Posts: 64
Hi everybody,

Being busy writing the text adventure, I would like to implement some music. (if possible)
I'm trying to find a program where I can compose some music and easy can use it in my own application. (just by importing some code or a star command) without the problem to say that people should have some synth or midi device?

Do you people have some experience with this?

Cheers

Koen


Top
 
 Post subject: Re: Music
PostPosted: Mon Oct 05, 2009 11:57 pm 
Offline
 Profile

Joined: Mon Aug 04, 2008 1:54 pm
Posts: 55
I can't be particularly helpful, but I am aware that pushing new values to the various sound registers 50 times a second (eg, on a display-connected interrupt) is generally good enough and that both the Master System and Mega Drive (with some extra stuff including a dedicated z80) use the same chip as the BBC, so it may be worth doing a search for tools related to those. The AY in the Spectrum, ST, MSX and CPC is also very similar (three tone channels, but you enable noise on any of them instead of tone rather than having a separate noise generator, and there are some hardware volume envelopes that don't quite really up to ADSR but are occasionally claimed to), with the effect that it almost certainly wouldn't be too hard to convert some tunes across if you're willing to take some second hand.


Top
 
 Post subject: Re: Music
PostPosted: Tue Oct 13, 2009 9:30 pm 
Offline
 Profile

Joined: Mon Jul 07, 2008 6:58 pm
Posts: 64
Thanks,

I'll have a look at that.
I'm not realy familiar with audio and music on these systems.

I found for the Beeb some software called Studio8, from Beebug. Hope this does what I want. (and that it can convert it's files to Basic.

Cheers

Koen


Top
 
 Post subject: Re: Music
PostPosted: Mon Dec 23, 2013 10:46 am 
Offline
User avatar
 Profile

Joined: Sat Mar 26, 2011 3:01 pm
Posts: 263
Location: Kings Langley
I'm looking for the same thing, and if possible, the ability to convert MIDI to basic tunes (pitch+duration)


Top
 
 Post subject: Re: Music
PostPosted: Mon Dec 23, 2013 12:43 pm 
Offline
User avatar
 Profile

Joined: Thu Jan 20, 2011 4:24 pm
Posts: 57
IIRC PitfallJones has written a tool to play MIDI files on the Beebsid.
It was still in development and I don't know what the status at the moment is, so ....... PJ if you are reading this forum ;)

I'll send him a PM.

Greetings
Kees


Top
 
 Post subject: Re: Music
PostPosted: Mon Dec 23, 2013 3:36 pm 
Offline
 Profile

Joined: Fri Nov 07, 2008 2:28 pm
Posts: 65
The short answer:

Given a existing midi file I edit it in some midi sequencer software on the pc to reduce the channels to three or less. I would recommend just doing one channel to begin with.

I then look for all the midi note on commands to get the note frequencies (note off commands can give you the duration as well)

I convert the notes to BBC notes with this:

Code:

#define   BBC_A4         89   
#define   MIDI_A4         69

int   midi2bbc(int midi)
{
   int a;

   a=midi;
   a-=MIDI_A4;
   a*=4;
   a+=BBC_A4;

    return(a);
}


And play them back on the BBC using the OSWORD sound command.

- PJ


Top
 
 Post subject: Re: Music
PostPosted: Mon Dec 23, 2013 11:28 pm 
Offline
User avatar
 Profile

Joined: Sat Mar 26, 2011 3:01 pm
Posts: 263
Location: Kings Langley
Thanks, that got me started.

If you are curious about what is was for, please head over to http://www.retrosoftware.co.uk/forum/viewtopic.php?f=19&t=877 and if you feel musical, please try the challenge.


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron