Csound Csound-dev Csound-tekno Search About

[Cs-dev] A last request for iOS 5.18

Date2012-08-30 07:32
From"Greg Schiemer"
Subject[Cs-dev] A last request for iOS 5.18
Hi Steven,

I'm finally on the Csound developers list as of today. In case it's not too late for 
5.18 here's feed-back on my experience of iOS SDK 5.17.

I was able to launch the Csound app on the iPhone and use it. Most examples 
work very well though the sound levels are extremely quiet. Three files also 
reported warnings during build 

'Semantic issue Method possibly missing a [super dealloc] call'

They were: - SliderMidiWidgetWrapper.m, ConsoleOutputViewController.m and 
LevelMeterView.m

And there was one last warning

ld: warning: directory not found for option '-
L/Users/gregschiemer/Documents/iOS/csound-iOS-5.17.3/Csound iOS 
Examples/../cs5iOS'

This may have something to do with my version of iOS (4.3.2) or Simulator (5.1). 

And here's a review of each example.

1, 2, 3, 5, 8, 9, 10, 12, 13 and 14 all work fine on the iPhone as long as you use 
through earphones. This is a problem for apps that use iPhone speakers. Is there 
a way to fix that ? I tried a few things in CsoundObj.m

(1. Simple Test 1, 2. Simple Test 2, 5. Ping Pong Delay, 8. Csound Haiku 4
9. Record Test, 10. MultiTouch XY, 11. Waveview, 12. Audio File Test
13. Console Output (I tried it successfully with several .csd files), 14. Pitch Shifter.)

3. Button Test - single note played once when Value Button is touched, but hitting 
the Event Button caused the UI to vanish.

4. MIDI Test - sliders appear to be completely inactive.

6. Harmonizer - sliders are very sticky when the harmoniser is On.

7. Hardware Test -  after a few seconds it hangs with sound still playing and losing 
its ViewController, at which point simulation can only be stopped from Xcode.

When my app is all finished I'd be happy to add my contribution to a future release 
as my way of saying thanks to people in the Csound community like yourself.

Cheers

Greg S

http://en.wikipedia.org/wiki/Greg_Schiemer

G and S Schiemer
Mobile +61 (0)423 120 456 - Greg
Mobile +61 (0)447 744 965 - Shreelata
Phone +61 (0)2 9820 1361
ABN 388 600 181 76



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-08-30 09:36
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] A last request for iOS 5.18
Welcome Greg.  Hope Steven can deal with these.
==John ff

> Hi Steven,
>
> I'm finally on the Csound developers list as of today. In case it's not
> too late for
> 5.18 here's feed-back on my experience of iOS SDK 5.17.
>
> I was able to launch the Csound app on the iPhone and use it. Most
> examples
> work very well though the sound levels are extremely quiet. Three files
> also
> reported warnings during build
>
> 'Semantic issue Method possibly missing a [super dealloc] call'
>
> They were: - SliderMidiWidgetWrapper.m, ConsoleOutputViewController.m and
> LevelMeterView.m
>
> And there was one last warning
>
> ld: warning: directory not found for option '-
> L/Users/gregschiemer/Documents/iOS/csound-iOS-5.17.3/Csound iOS
> Examples/../cs5iOS'
>
> This may have something to do with my version of iOS (4.3.2) or Simulator
> (5.1).
>
> And here's a review of each example.
>
> 1, 2, 3, 5, 8, 9, 10, 12, 13 and 14 all work fine on the iPhone as long as
> you use
> through earphones. This is a problem for apps that use iPhone speakers. Is
> there
> a way to fix that ? I tried a few things in CsoundObj.m
>
> (1. Simple Test 1, 2. Simple Test 2, 5. Ping Pong Delay, 8. Csound Haiku 4
> 9. Record Test, 10. MultiTouch XY, 11. Waveview, 12. Audio File Test
> 13. Console Output (I tried it successfully with several .csd files), 14.
> Pitch Shifter.)
>
> 3. Button Test - single note played once when Value Button is touched, but
> hitting
> the Event Button caused the UI to vanish.
>
> 4. MIDI Test - sliders appear to be completely inactive.
>
> 6. Harmonizer - sliders are very sticky when the harmoniser is On.
>
> 7. Hardware Test -  after a few seconds it hangs with sound still playing
> and losing
> its ViewController, at which point simulation can only be stopped from
> Xcode.
>
> When my app is all finished I'd be happy to add my contribution to a
> future release
> as my way of saying thanks to people in the Csound community like
> yourself.
>
> Cheers
>
> Greg S
>
> http://en.wikipedia.org/wiki/Greg_Schiemer
>
> G and S Schiemer
> Mobile +61 (0)423 120 456 - Greg
> Mobile +61 (0)447 744 965 - Shreelata
> Phone +61 (0)2 9820 1361
> ABN 388 600 181 76
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-08-30 14:41
FromSteven Yi
SubjectRe: [Cs-dev] A last request for iOS 5.18
Hi Greg,

I'll reply in-line below.  Thanks!
steven


> I was able to launch the Csound app on the iPhone and use it. Most examples
> work very well though the sound levels are extremely quiet. Three files also
> reported warnings during build
>
> 'Semantic issue Method possibly missing a [super dealloc] call'
>
> They were: - SliderMidiWidgetWrapper.m, ConsoleOutputViewController.m and
> LevelMeterView.m

I've fixed up these warnings and will push to git shortly.

> And there was one last warning
>
> ld: warning: directory not found for option '-
> L/Users/gregschiemer/Documents/iOS/csound-iOS-5.17.3/Csound iOS
> Examples/../cs5iOS'

I'm not seeing this here. I think I may have fixed this in the 5.17.11
release.  It's a minor warning and shouldn't cause any issues and is
hopefully fixed already.

> This may have something to do with my version of iOS (4.3.2) or Simulator (5.1).
>
> And here's a review of each example.
>
> 1, 2, 3, 5, 8, 9, 10, 12, 13 and 14 all work fine on the iPhone as long as you use
> through earphones. This is a problem for apps that use iPhone speakers. Is there
> a way to fix that ? I tried a few things in CsoundObj.m

I'm currently testing just on simulators.  We have some hardware
devices to test on campus but I'm not in possession of one at the
moment.  The examples are working here on the iPhone and iPad
simulator.

> (1. Simple Test 1, 2. Simple Test 2, 5. Ping Pong Delay, 8. Csound Haiku 4
> 9. Record Test, 10. MultiTouch XY, 11. Waveview, 12. Audio File Test
> 13. Console Output (I tried it successfully with several .csd files), 14. Pitch Shifter.)
>
> 3. Button Test - single note played once when Value Button is touched, but hitting
> the Event Button caused the UI to vanish.

I am unable to reproduce this.  This may be an iOS 4 issue, but
unfortunately I don't think we have a device that has iOS 4 to test
on.

> 4. MIDI Test - sliders appear to be completely inactive.

This example probably shouldn't be shown on iPhone, only on iPad.  It
uses MIDI input via CoreMIDI and camera connection kit (or Alesis
iDock) to perform, and I think that it only works with iPad's.  On the
iPad, there is a virtual keyboard that one can play on-screen.  (I
think we never adjusted the UI to show the Virtual keyboard on the
iPhone). Testing here with iPad simulator, the sliders were working to
adjust synth parameters.

> 6. Harmonizer - sliders are very sticky when the harmoniser is On.

This may be a performance issue with your device?  I wasn't able to
reproduce using simulator.  Are you using an older iPhone perhaps?  As
far as I remember, Csound doesn't really work all that well on iPhone
3/3g, and the harmonizer example especially as it using FFT (pvs
opcodes).

> 7. Hardware Test -  after a few seconds it hangs with sound still playing and losing
> its ViewController, at which point simulation can only be stopped from Xcode.

On the simulator (btw, using iOS 5.1 simulator for iPhone and iPad) I
am not having issues.  I'm downloading the 4.3 simulator package now
and will retest this and the others.

> When my app is all finished I'd be happy to add my contribution to a future release
> as my way of saying thanks to people in the Csound community like yourself.

Contributions are always welcome!

steven

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-08-30 16:41
FromSteven Yi
SubjectRe: [Cs-dev] A last request for iOS 5.18
Just to follow-up, on the 4.3 iPhone simulator, things seem to be
working.  It may be a hardware device issue.  Which iPhone were you
testing on?

On Thu, Aug 30, 2012 at 2:41 PM, Steven Yi  wrote:
> Hi Greg,
>
> I'll reply in-line below.  Thanks!
> steven
>
>
>> I was able to launch the Csound app on the iPhone and use it. Most examples
>> work very well though the sound levels are extremely quiet. Three files also
>> reported warnings during build
>>
>> 'Semantic issue Method possibly missing a [super dealloc] call'
>>
>> They were: - SliderMidiWidgetWrapper.m, ConsoleOutputViewController.m and
>> LevelMeterView.m
>
> I've fixed up these warnings and will push to git shortly.
>
>> And there was one last warning
>>
>> ld: warning: directory not found for option '-
>> L/Users/gregschiemer/Documents/iOS/csound-iOS-5.17.3/Csound iOS
>> Examples/../cs5iOS'
>
> I'm not seeing this here. I think I may have fixed this in the 5.17.11
> release.  It's a minor warning and shouldn't cause any issues and is
> hopefully fixed already.
>
>> This may have something to do with my version of iOS (4.3.2) or Simulator (5.1).
>>
>> And here's a review of each example.
>>
>> 1, 2, 3, 5, 8, 9, 10, 12, 13 and 14 all work fine on the iPhone as long as you use
>> through earphones. This is a problem for apps that use iPhone speakers. Is there
>> a way to fix that ? I tried a few things in CsoundObj.m
>
> I'm currently testing just on simulators.  We have some hardware
> devices to test on campus but I'm not in possession of one at the
> moment.  The examples are working here on the iPhone and iPad
> simulator.
>
>> (1. Simple Test 1, 2. Simple Test 2, 5. Ping Pong Delay, 8. Csound Haiku 4
>> 9. Record Test, 10. MultiTouch XY, 11. Waveview, 12. Audio File Test
>> 13. Console Output (I tried it successfully with several .csd files), 14. Pitch Shifter.)
>>
>> 3. Button Test - single note played once when Value Button is touched, but hitting
>> the Event Button caused the UI to vanish.
>
> I am unable to reproduce this.  This may be an iOS 4 issue, but
> unfortunately I don't think we have a device that has iOS 4 to test
> on.
>
>> 4. MIDI Test - sliders appear to be completely inactive.
>
> This example probably shouldn't be shown on iPhone, only on iPad.  It
> uses MIDI input via CoreMIDI and camera connection kit (or Alesis
> iDock) to perform, and I think that it only works with iPad's.  On the
> iPad, there is a virtual keyboard that one can play on-screen.  (I
> think we never adjusted the UI to show the Virtual keyboard on the
> iPhone). Testing here with iPad simulator, the sliders were working to
> adjust synth parameters.
>
>> 6. Harmonizer - sliders are very sticky when the harmoniser is On.
>
> This may be a performance issue with your device?  I wasn't able to
> reproduce using simulator.  Are you using an older iPhone perhaps?  As
> far as I remember, Csound doesn't really work all that well on iPhone
> 3/3g, and the harmonizer example especially as it using FFT (pvs
> opcodes).
>
>> 7. Hardware Test -  after a few seconds it hangs with sound still playing and losing
>> its ViewController, at which point simulation can only be stopped from Xcode.
>
> On the simulator (btw, using iOS 5.1 simulator for iPhone and iPad) I
> am not having issues.  I'm downloading the 4.3 simulator package now
> and will retest this and the others.
>
>> When my app is all finished I'd be happy to add my contribution to a future release
>> as my way of saying thanks to people in the Csound community like yourself.
>
> Contributions are always welcome!
>
> steven

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-08-30 16:51
FromRichard Dobson
SubjectRe: [Cs-dev] A last request for iOS 5.18
On 30/08/2012 16:41, Steven Yi wrote:
> Just to follow-up, on the 4.3 iPhone simulator, things seem to be
> working.  It may be a hardware device issue.  Which iPhone were you
> testing on?
>

The Apple docs do mention that the simulator is not that deep - it does 
not simulate the hardware. Any iOS audio is handled by the native 
CoreAudio, at full host machine speed. So testing on the simulator 
cannot be relied upon to assure correct operation on a device. There 
will always be a need not only to run on a device, but to debug on a 
device too. This will be especially important if the device CPU is being 
driven close to the limit.

Richard Dobson





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-08-30 17:49
FromSteven Yi
SubjectRe: [Cs-dev] A last request for iOS 5.18
Yes, this is understood.  I can not test on devices I do not own
though, and so can only report if I can reproduce with what I do have
available. At the company I used to work for, we tested the iOS app
often on simulator and hardware and more than once had issues only
appear on hardware.  There were also some bugs that happened on
specific iOS versions, whether it was simulator or device, and some
that only happened on device, but not on simulator. Therefore, I am
suspecting the issue is device-specific (which could also be
sub-divided into all devices with specific iOS, or particular device
with specific iOS...).

Oddly, I had felt more at ease with Android apps we worked on at the
time, despite the issues that popped up.  We tended to get less device
specific issues and just had issues dealing with the different DPI's
and resolutions that we hadn't accounted for.  The only times we had
really strange device specific Android issues were with the low-budget
devices.



On Thu, Aug 30, 2012 at 4:51 PM, Richard Dobson
 wrote:
> On 30/08/2012 16:41, Steven Yi wrote:
>> Just to follow-up, on the 4.3 iPhone simulator, things seem to be
>> working.  It may be a hardware device issue.  Which iPhone were you
>> testing on?
>>
>
> The Apple docs do mention that the simulator is not that deep - it does
> not simulate the hardware. Any iOS audio is handled by the native
> CoreAudio, at full host machine speed. So testing on the simulator
> cannot be relied upon to assure correct operation on a device. There
> will always be a need not only to run on a device, but to debug on a
> device too. This will be especially important if the device CPU is being
> driven close to the limit.
>
> Richard Dobson
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net