Playing .csd files from Pippy

As I told you all in an email some time ago, this past week at OLPC, with the help of Chris Ball - the author of Pippy - we got Pippy tp list and or play a selected .csd from a folder of .csd files.

NOTE: Update your XO - to 656 stable at least! or if you are a developer - to the latest joyride release.

Here is a collection of .csd compositions to try:
http://csounds.com/olpc/4pippyComps.zip

Here is a collection of .csd instruments to try:
http://csounds.com/olpc/4pippyInsts.zip

Here is the file to put in pippy to add a playCsound command to the sidebar:
http://csounds.com/olpc/playCsound

====

Here's what you need to do to get Pippy to Play .csd files and add the playcsound command to Pippy:

1. copy this attached *playCsound* file onto a USB memory stick, and then into this directory on an XO:

/usr/share/activities/Pippy.activity/data/sound/

2. on the XO,
- su
- mkdir /usr/share/csound/csd/
- copy all the .csd files from the links above (or some of yours!) into /usr/share/csound/csd/

3. Restart Sugar: Ctrl-Alt-Erase

=====

If you don't remember or know how to mount a USB memory stick and transfer files:

go to the terminal activity

type:
su - to become root

then type:
mount - to see the dev name

then type:
mount /dev/sda1 /mnt - now we have created a device with a directory on your XO called /mnt

then type:
cd /mnt - to change to that directory
ls - to list the files you want to copy

cp playCsound /usr/share/activities/Pippy.activity/data/sound/

mkdir /usr/share/csound/csd

cp *.csd /usr/share/csound/csd/

when you are done transferring you should type:
umount /dev/sda1

======

In Pippy, by default, it will try to play the piece Maple7.csd. But... if you don't have Maple7 in your collection,
you erase that orchestra name from the line csd_toplay = 'Maple7.csd' and you just leave that blank and hit the run button.
As you can see from the code, if that line has no argument, it will list all the .csd files in your /usr/share/csound/csd folder and
you could just type in one of those names.

=========

We will be working a lot more on this next week so that it will display the text of the .csd and have a bunch of presets as part of the download, but for now - this might be fun for you all.

-dB

AttachmentSize
playCsound.278 bytes
z-pack zpak z-pak generic cialis viagra uk z pak generic viagra ed pills cialis online buy viagra uk viagra online Canadian pharmacy kamagra uk avanafil pharmacy uk staxyn cheap generic viagra cialis uk z pack zpack Canadian pharmacy viagra buy zithromax ed drugs