StartKit and SID emulation

All technical discussions and projects around startKIT
Post Reply
JLS
Member++
Posts: 18
Joined: Fri Feb 14, 2014 11:21 am

StartKit and SID emulation

Post by JLS »

Hi all

I´m new StartKit and AudioSlice user. Few questions :-)

1. Is possible help me port SID emulation for StartKit board (1bit PWM)?
2. Is possible use SID emulation with AudioSlice ? (for better sound than PWM)
3. Exist example sinewave generation for StartKit and AudioSlice ?
4. Exist example for MIDI in/out for StartKit and AudioSlice ?
5. Exist simple synthesizer projects ?
6. Is possible use software floating point operation like math.h ?

Sorry my bad english and many thanks about some infos :-)

Kamil

P.S. StartKit + AudioSlice is ideal platform for sound synthesis


User avatar
pstnotpd
XCore Addict
Posts: 161
Joined: Sun Jun 12, 2011 11:47 am

Post by pstnotpd »

I've seen a SID emulation on the XC-1A in the projects section.
EDIT: here

Don't know if 1 tile will do though.
User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

Here's a super quick and dirty port of SID for the startkit.

- I disabled tiles 2/3/4 which were just used as memory servers anyhow. Ie. removed loads of songs unfortunately
- Changed the output port to XD0 (LED1 by the SPI flash) - you will need an RC filter and amp on this. It does sound like it's working though (i put it on headphones to test)
- Hacked the buffer size down a bit (883 to 800 words). Maybe that's OK maybe not, but like I say, it plays

Not done:

- LED driver update so it works on the 3x3 leds
- Input control to work on pushbutton (or sliders). Currently it just plays the first track.
- Use flashlib so it streams from the SPI flash rather than memory (would free up 18K of data)

Nice little project for someone! Anyone interested?
Attachments
sid-startkit.zip
(200.47 KiB) Downloaded 287 times
sid-startkit.zip
(200.47 KiB) Downloaded 287 times
JLS
Member++
Posts: 18
Joined: Fri Feb 14, 2014 11:21 am

Post by JLS »

Many thanks quick response

Today evening test it :-)

Kamil
User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

How did you get on? Did it play?

By the way:
Hi all

I´m new StartKit and AudioSlice user. Few questions :-)

1. Is possible help me port SID emulation for StartKit board (1bit PWM)?
Yes! It'd be great to see a member of the community pick up finessing this. It's an amazing little demo by Fredrik Petrini that deserves it's place in the example code
2. Is possible use SID emulation with AudioSlice ? (for better sound than PWM)
Of course! You'll need to use the MCLK on the audio slice to clock the rest of the system, but this is certainly doable.
3. Exist example sinewave generation for StartKit and AudioSlice ?
Sine generation is straightforward. There's one in SID, but take a look in sc_dsp for others. There are hundreds of examples online
4. Exist example for MIDI in/out for StartKit and AudioSlice ?
Midi transport over USB yes (USB audio ref design), midi processing not sure. I have seen some simple synth examples..
5. Exist simple synthesizer projects ?
Lots of discussion in this area. Perhaps you could contact the owner of this project? http://www.xcore.com/projects/fm-synthe ... ines-xcore
6. Is possible use software floating point operation like math.h ?
Yes, but it's emulated so much slower. XMOS is a 32b integer machine which is OK with fixed point operations. We have a 64b accumulator which is nice for DSP. Lots of examples on github and here..
Sorry my bad english and many thanks about some infos :-)

Kamil

P.S. StartKit + AudioSlice is ideal platform for sound synthesis
For sure! You could use the new "combinable" feature of the tools and have a lot of synthesisers working in parallel (more than the 8 hardware cores you get on startkit. You could always migrate to the L16 slice kit if you needed more horsepower too
JLS
Member++
Posts: 18
Joined: Fri Feb 14, 2014 11:21 am

Post by JLS »

Hi infiniteimprobability

First many many thanks yours usefull answers and infos.

This weekend i´m testing yours SID modifications for StartKit - this is working totaly great many thanks !

Is possible help me with interfacing this with AudioSlice ?

Very thanks

Kamil
User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

Is possible help me with interfacing this with AudioSlice ?
I'm afraid my day job keeps me pretty busy currently, but would be happy to answer any specific questions you have.
There may be others on here who can collaborate. Worth putting out a call!
Post Reply